When you display user text inside an HTML page, characters like <, > and & can be misread as tags or entities — breaking the layout or opening XSS risks. Converting them to HTML entities (e.g. < becomes <) keeps the text literal and safe. This free HTML Entity Encoder / Decoder escapes and unescapes those characters instantly in your browser.
How to use it
- Choose Encode (text → entities) or Decode (entities → text).
- Paste your content — the result updates instantly.
- Copy the output into your HTML, template or CMS.
Why use this tool
- Handles the five HTML-significant characters and numeric entities.
- Two-way, instant conversion with one-click copy.
- Private and free — runs entirely in your browser.