HTML Entities Encoder & Decoder
Escape & unescape HTML entities — no innerHTML.
→ encode
Input0 chars · 0 bytes
Output
About this tool
HTML entities are special sequences (e.g. &, <, ') used to represent characters that have special meaning in HTML or XML. This tool converts between raw text and safely escaped versions.
Common use cases
- Safely display user-generated content in HTML without XSS risks
- Convert between readable text and HTML-encoded strings
- Debug encoded output from databases, CMS or APIs
Further reading
Related tools
0 bytes sent · runs in your tab