Entities to JSON
Paste HTML-entity-encoded text to decode and format as JSON.
Try it with this example
Paste JSON with HTML entities (& <) and decode to raw JSON in one step.
What is this tool?
JSON displayed in HTML is often entity-encoded: < becomes <, " becomes ", and & becomes &. That keeps the JSON safe in HTML but makes it hard to read or parse. The Entities to JSON tool decodes HTML entities and pretty-prints the result as JSON. Paste entity-encoded JSON and get raw, readable JSON in one step. Useful when JSON has been escaped for HTML display and you need the actual structure. All processing runs in your browser.
HTML entities protect against XSS and ensure special characters render correctly. But when you copy JSON from a web page or an email that has encoded it, you get a string full of & < > ". Decoding converts those back to & < > ". This tool does the decode and then parses the result as JSON, formatting it for readability. If the decoded string isn't valid JSON, you'll see an error—the entities may have decoded correctly but the content might be incomplete.
Use it when you've copied JSON from HTML output and need to work with it. When debugging why a client receives "wrong" JSON—sometimes it's double-encoded or entity-encoded. When logs or error messages contain entity-encoded JSON. One paste, readable output. For the reverse—JSON to HTML entities—use the Escape tool or HTML Entities encoder. This tool focuses on the decode-and-format flow.
All processing is client-side. No server, no storage. Paste, decode, view. Handles standard HTML entities and numeric character references. Bookmark it for entity-encoded JSON inspection.
Handy when JSON has been escaped for HTML.