Skip to main content

HTML Entity Encode / Decode

Developer Tools· 30 tools

Free HTML entity encoder/decoder. Encode mode escapes special characters (&, <, >, ", ', and non-ASCII) to safe entities so they render correctly inside HTML or are safe in attribute values. Decode mode converts named (`&amp;`), decimal (`&#38;`), and hex (`&#x26;`) entities back to their characters. Pure browser — nothing uploaded.

Body scope · & < >
Attribute scope · & < > " '
All non-ASCII · everything above U+007F as numeric entities
Output
&lt;p class="quote"&gt;Tom said, "It's &lt;em&gt;important&lt;/em&gt; &amp; well-known — résumé.&lt;/p&gt;
Input length
78
Output length
106

Frequently Asked Questions

Frequently Asked Questions

References

References and sources

Related Tools

Related Tools