Loading...
Encode HTML entities online for free. Convert special characters to HTML codes. Escape HTML safely.
Encode/decode HTML entities for safe display
Mode
Convert text to HTML entities
Character → Entity
< → <
> → >
& → &
" → "
' → '
Special Characters
© → ©
® → ®
™ → ™
€ → €
→ → →
Paste plain text or HTML entities
Select encode or decode
Get safe HTML entity output
Use in your HTML markup
Paste plain text or HTML entities
Select encode or decode
Get safe HTML entity output
Use in your HTML markup
HTML entities are codes that represent special characters, like < for < and & for &.
To prevent browsers from interpreting characters as HTML tags and to avoid security issues like XSS.
Use entities when displaying user input, code examples, or any content with <, >, &, or quotes in HTML.
This tool covers common entities. For full Unicode support, use numeric entities like € for €.