1001Ferramentas
🏷️ Text

Text to HTML Entities

Encode special characters as HTML entities (<, >, &) or decode HTML entities back to plain text.

Which characters are converted?

When encoding, the swaps go like this: <&lt;, >&gt;, &&amp;, "&quot; and '&#39;. Decoding just walks the reverse path.

The conversion is done entirely inside your browser.

Encode and decode HTML entities

To show special characters like <, > and & on a page without the browser reading them as code, you need to turn them into HTML entities. This tool does that encoding and the return trip too, decoding entities back into the original characters.

Anyone writing HTML who needs to display code snippets, math signs or symbols without breaking the page will reach for this often. Encoding stops a "<" from becoming an unwanted tag; decoding helps read a text that arrived full of &entities. The conversion goes both ways, as you need.

Paste the content and grab the encoded or decoded version; the processing runs in the browser, with no text sent out.

Related Tools