HTML Entity Encoder / Decoder
Paste text or markup to escape the characters that break HTML, or decode entities back to plain text. Named entities and numeric forms are both understood.
How to use
Escape HTML special characters into entities, or bring them back. Your data is processed only inside this browser tab.
FAQ
Why bother escaping?
Stray angle brackets and ampersands are where broken pages and injection bugs begin. Escape text before placing it inside HTML.
Which numeric forms work?
Both decimal and hexadecimal character references, within the valid Unicode range.
Related tools
Base64 Encoder / Decoder
Convert text or files to Base64 and back, with correct UTF-8 handling.
PopularURL Encoder / Decoder
Percent-encode or decode URLs and parameter values, plus a query breakdown.
PopularUnicode Escape Converter
Turn characters into \u escapes for JS, JSON, CSS or HTML and back.
Number Base Converter
Binary, octal, decimal and hex — exact, at any size.
PopularMorse Code Translator
Encode text to dots and dashes and back again.
JSON Formatter
Beautify, minify and validate JSON right in your browser. No uploads, nothing leaves your device.
Popular