HTML Entity Encoder / Decoder
Convert HTML special characters and named entities (© ® etc.)
How to Use
- Enter text
Type or paste HTML text into the input area.
- Choose mode and convert
Select encode/decode and mode (minimal/all entities) from the toolbar, then click "Convert".
- Copy result
Use the "Copy" button to copy the result to your clipboard.
HTML Entity Encoder / Decoder Examples
Basic HTML encode
<p>Price: 100 & tax "included"</p><p>Price: 100 & tax "included"</p>Minimal mode escapes only &, <, >, ", and '.
Decode named entities
© 2024 — All rights reserved ™© 2024 — All rights reserved ™Decodes both named and numeric entity references.
Features
- Encode/decode basic special characters (& < > " ')
- Convert to named entities (© ® ™ — etc.)
- Decode numeric references (© ©)
- Two modes: minimal and all entities
- Swap button for quick encode/decode toggle
- Local processing (your input is not sent to servers)
- Dark mode support
FAQ
What are HTML entities?
HTML entities are sequences used to safely represent characters with special meaning in HTML (<, >, &, etc.) or non-displayable characters (copyright sign, etc.). They use the format "&name;" or "&#number;".
What is the difference between minimal and all entities mode?
Minimal mode only escapes &, <, >, ", and '. All entities mode additionally converts supported characters like copyright symbols, trademarks, and dashes to named entities.
Is my data sent to a server?
No. All processing happens locally in your browser via JavaScript. No data is ever transmitted externally.