JSON Formatter

Tool guide

Format, validate and escape JSON

Parse standard JSON into indented or compact text, with escaping, unescaping and Unicode text conversion.

How to use

  1. Paste redacted JSON and choose Format or Minify.
  2. Fix syntax errors before handling escaped or Unicode text.
  3. Check numbers and fields before copying.

Example and expected result

Input: {"name":"Niuma","count":2}
Formatted: {
  "name": "Niuma",
  "count": 2
}
Invalid: {"count":2,} (trailing comma)

Capabilities and limits

  • Tree folding is not provided; formatting may normalize numeric representations.
  • Large integers can lose precision. Store identifiers as strings at the source.

Troubleshooting

Single quotes, comments and trailing commas fail parsing. Check the number of escaping layers for JSON embedded in a string.

Data processing and storage

Input is saved in this browser’s localStorage and can return after a reload. Use Clear to empty it; clear this site’s browser data to remove stored entries.

Read the full data-processing notice