Escape special characters into safe HTML entities to prevent formatting bugs and XSS errors, or decode entity strings back into clean text.
Escape special characters into safe HTML entities to prevent formatting bugs and XSS errors, or decode entity strings back into clean text.
Fast and easy from start to finish
Pick Mode: Select HTML Encoder to escape symbols or HTML Decoder to unescape.
Choose Standard: Pick named entities, decimal codes, or hex format.
Review & Copy: Inspect the converted output and copy it directly to your clipboard.
What you can do with this tool
Convert symbols to named (&), decimal (&), or hexadecimal (&) entities
Decode HTML entities back to raw text with one click
Quick-click symbol palette for common symbols and currency signs
Private and client-side with zero data transmission
Unlock batch scale, higher resolution, and expanded limits
Escape entire website templates and source files in one click.
Strict entity escaping following OWASP security standards.
Define custom replacements for specialized typography symbols.
Answers to common questions about HTML Entity Encoder & Decoder
Encoding symbols like <, >, and & prevents browsers from misinterpreting text as HTML tags and stops cross-site scripting.
Yes, both decimal (<) and hexadecimal (<) entities decode cleanly.
Popular companion tools to edit and enhance your projects