Skip to content
QZTools

JSON formatter

Turn single-line, minified JSON into a readable, well-indented document.

Everything runs in your browser. Nothing you type or paste is sent to a server.

How to use the JSON formatter

  1. 1

    Paste your JSON.

  2. 2

    Pick the indentation and optionally sort keys.

  3. 3

    Copy or download the formatted JSON.

About this tool

If the JSON has an error, we point to the approximate line and column so you can find it fast.

Everything runs in your browser: format API responses containing tokens or personal data without sending them anywhere.

Frequently asked questions

What does “Sort keys” do?

It sorts every object's keys alphabetically, which makes comparing two JSON documents easier.

Is there a size limit?

You can format files of several megabytes; the limit is your device's memory.