HTML Entities Encoder / Decoder
Escape HTML special characters into entities (<, &, ") or decode entities back into readable text. Instant and free.
Output
Frequently asked questions
Why encode HTML entities?
So browsers display code as text instead of parsing it: <div> shows literally, while <div> would render as a tag.
Which characters are escaped?
The critical five: & < > " ' — enough to safely embed snippets into HTML.
Does decoding handle numeric entities?
Yes — named (&amp;), decimal (&#38;) and hex (&#x26;) entities all decode correctly.