Encode and decode HTML entities.
Escape markup-sensitive characters or turn HTML entities back into readable text.
Workspace
Encode HTML-sensitive characters or decode HTML entities locally.
Output
Converted HTML entity output will appear here.
About this HTML entity encoder
Use this HTML entity encoder and decoder to escape markup-sensitive characters or inspect encoded HTML text.
Common use cases
- Escape sample markup before placing it in documentation.
- Decode copied HTML entities into readable text.
- Prepare examples that should display as text instead of rendering as markup.
How to use this tool
- Paste HTML text or encoded entities.
- Choose Encode to escape markup characters or Decode to make entities readable.
- Copy the result into documentation, examples, or debugging notes.
Example
Input
<a href="/tools">Dev Atlas</a>
Output
<a href="/tools">Dev Atlas</a>
Common errors
- HTML entity encoding is for markup text, not URL query strings.
- Decoded output may contain visible markup characters such as angle brackets.
- Unknown or misspelled named entities may remain unchanged after decoding.
Privacy note
Dev Atlas keeps this tool local in your browser. Your input is not intentionally uploaded to a Dev Atlas server for processing.
FAQ
Which characters are encoded?
The encoder escapes ampersands, angle brackets, quotes, and apostrophes.
Can it decode named entities?
Yes. Decoding uses the browser's HTML parsing behavior.
Is this the same as URL encoding?
No. HTML entities are for markup text; URL encoding is for URL components.