HTML Encoder / Decoder

Convert special characters to HTML entities and back.

Ad Slot
Ad Slot

Frequently asked questions

Which characters does the encoder actually convert?

Just five — & < > " ' become &amp; &lt; &gt; &quot; &#039;. Decoding reverses those five and also handles generic numeric entities like &#233;, but it doesn't recognize named entities such as &nbsp; or &copy;, or hex-form entities like &#x27;.

Is this the same as URL encoding?

No — this escapes characters so they display literally instead of being parsed as markup, which is a different job from URL encoding's percent-escaping of characters in a link. Use the URL Encoder/Decoder tool if you need %20-style encoding instead.

Does any of this get sent to a server?

No — both encoding and decoding are plain string replacements that run entirely in your browser as you type.

We use cookies for analytics and to show ads that keep this site free. No personal data is sold.