HTML Entity Encoder / Decoder
Encode special characters to HTML entities or decode HTML entities back to readable text.
Output
Common HTML Entities
&<>"' ©®™–—‘’“”…Input
Related Tools
You might also find these useful
Everything you need to know
HTML Entity Encoder
Convert special characters to their HTML entity equivalents. Characters like angle brackets, ampersands, quotes, and non-ASCII symbols are replaced with their safe HTML representations. This is essential for displaying user-generated content in web pages without breaking HTML structure or creating XSS vulnerabilities.
HTML Entity Decoder
Decode HTML entities back to their original characters. The decoder handles named entities (like &), decimal numeric entities (like ©), and hexadecimal numeric entities (like ©). Useful when working with escaped HTML from APIs, databases, or scraped content.
Auto-Detection
The tool automatically detects whether your input contains HTML entities or plain text and selects the appropriate conversion mode. If your text contains entity patterns like & or {, decode mode activates automatically. You can override this with manual mode selection.
Common Entities Reference
A built-in reference table shows the most commonly used HTML entities including special characters, typography symbols, math operators, arrows, and card suits. This is a handy quick-reference when you need to look up a specific entity code.
Privacy & Security
All encoding and decoding runs entirely in your browser. No data is sent to any server, making it safe to process content containing sensitive information, internal markup, or proprietary templates.
Related Developer Tools
Format HTML markup with the HTML Formatter, encode URLs with the URL Encoder, or encode data with the Base64 Encoder.