Skip to main content

Beautify and prettify minified JSON online

Minified JSON
Beautified

The result appears here as you type.

Built for the JSON you did not write: a minified API payload, a config that has been hand-edited into one line, a log entry copied out of a terminal. Four space indent by default, with key sorting on hand when you need two documents to line up for comparison. Also known as a JSON prettifier or unminifier. It restores indentation, though comments and key order cannot be recovered.

If it will not parse

These are the messages people usually arrive with: Unexpected token in JSON, Unexpected end of JSON input. Paste the input that produced one and the result pane names the problem and points at it.

How to use the JSON Beautifier, step by step

Real screenshots of the tool, captured while running it.

  1. 1

    Open the tool

    JSON Beautifier opens empty, with minified json on the left and beautified on the right.

    Empty JSON Beautifier before any input
  2. 2

    Add your input

    Paste your own minified json, or load the sample. The beautified pane fills in as you type.

    JSON Beautifier with input in place
  3. 3

    Read the result

    The beautified appears on the right with copy and save beside it.

    JSON Beautifier showing its result

Questions people ask

Related tools