JSON Formatter
Validate, prettify, minify or sort JSON keys with clear syntax errors.
Developer toolsEscape HTML’s special characters or decode common named and numeric entities.
Adjust the example inputs, then select Convert entities.
Escape angle brackets, ampersands and quotes when you need to show HTML as text. Decode mode supports six common named entities and decimal or hexadecimal Unicode references. Unknown named entities remain unchanged.
Paste the plain text or entity-encoded text.
Choose Encode or Decode.
Copy the converted text into the appropriate context.
The decoder recognizes &, <, >, ", ' and , plus valid numeric entities such as © and 😀. A semicolon is required.
No. It is a text-escaping utility. Safe handling of untrusted HTML, URLs, attributes or scripts depends on the exact insertion context and may require a dedicated sanitizer.