Hayat ToolKit

HTML Entity Encoder / Decoder

Encode special characters like <, > and & into safe HTML entities, or decode entities like &amp;lt; back to readable text. Essential when embedding code samples or user text in web pages.

How to use

  1. Paste your text or HTML.
  2. Click Encode to escape special characters, or Decode to convert entities back.
  3. Copy the result.

Frequently asked questions

Whenever text containing <, >, & or quotes must appear inside a web page without being interpreted as markup — like code examples or user comments.

Yes — named entities (&amp;amp;), decimal (&amp;#65;) and hex (&amp;#x41;) forms are all decoded.

Help us improve HTML Entity Encoder / Decoder

Found a bug or have a suggestion? Let us know!

Related tools