Encode and decode HTML entities
HTML Encoder converts the five characters that matter for safe HTML output — &, <, >, quote, and apostrophe — into their HTML entities, entirely in your browser using simple text replacement. Decoding reverses exactly those same five entities; other named entities like a non-breaking space or copyright symbol aren't produced or recognized by this tool.
Which characters does it encode?
Ampersand, less-than, greater-than, double quote, and apostrophe — the characters that matter for safely embedding text in HTML.
Is HTML Encoder free to use?
Yes, it's completely free with no signup required.
Does Decode handle entities like or ©?
No — it only reverses the same five entities this tool's own Encode produces. Named entities beyond those five aren't recognized.
Is my data uploaded to a server?
No, encoding and decoding both happen entirely in your browser.