HTML Encoder / Decoder
Convert special characters like < > and & to HTML entities, or turn entities back into plain characters.
How to use HTML Encoder / Decoder
- Paste your text or HTML into the box.
- Choose "Text → HTML Entities" to escape characters like < > & " ', or "HTML Entities → Text" to decode them back.
- Copy the converted result.
Frequently asked questions
Which characters does the encoder actually convert?
Just five — & < > " ' become & < > " '. Decoding reverses those five and also handles generic numeric entities like é, but it doesn't recognize named entities such as or ©, or hex-form entities like '.
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.
Community
Loading...