Esc

    Up/Down navigate · Enter open · > commands · ? shortcuts · 613 tools, 0 uploads

    JSON formatter

    Format, validate and minify JSON, with the exact position of any error.

    Runs in this browser. Nothing is uploaded.

    Loading json formatter…

    About JSON formatter

    Valid JSON is re-indented with two spaces, four spaces or tabs, or reduced to a single line. Keys can be sorted alphabetically to make two files easier to compare.

    If the text is not valid JSON, the position of the first error is reported with the line and column highlighted.

    Quick answers

    Are my files uploaded to a server when using JSON formatter?

    No. JSON formatter runs directly inside this browser tab. Everything you open stays in your device memory until you close or leave the page.

    Does JSON formatter work offline?

    Yes. Once loaded, the app cache keeps assets available locally so you can run JSON formatter without an active internet connection.