HTML Entity Encode / Decode
Escape and unescape HTML special characters like < > & " '.
How it works
Escape characters like <, >, and & for safe HTML output, or unescape entity codes back to plain text. Useful when embedding user content in templates or debugging escaped strings.
Example: <a> and & become <a> and &.
Input
Output