Developer Tools
HTML Escape
Escape or unescape HTML special characters in your browser. Convert <, >, &, " and ' into their entity equivalents so text can be safely embedded inside HTML — and convert them back again. Two-way toggle, no server involved.
Your input is processed locally in your browser. It is not uploaded to Dueneo.
Loading HTML Escape…
How to use
- 1
Pick a direction
Choose Escape → entities to encode <, >, &, " and ' as HTML entities, or Unescape → text to convert them back.
- 2
Optionally toggle quote escaping
When escaping, you can choose whether to also escape double and single quotes. This is useful for embedding text inside HTML attributes.
- 3
Run the conversion
Click Escape or Unescape. The result appears instantly in the output box.
- 4
Flip and re-run
Use the Flip button to push the output back into the input and switch direction — handy for round-tripping.
Common use cases
- Make user-supplied text safe to embed inside HTML.
- Prepare code samples for display inside <pre> and <code> blocks.
- Recover readable text from HTML-entity-encoded content.
- Escape characters in a string before placing it inside an HTML attribute.
Limitations
- The escaper covers the five characters significant in HTML (
<,>,&,",'); it does not encode all Unicode. - The unescaper handles named entities and numeric entities but does not resolve rare entity names from a DTD.
- Inputs larger than 1 MB are rejected to keep the tab responsive.