Back to home

JSON Formatter

Paste JSON to make it readable, check that it is valid or make it as small as possible. Errors are shown with the exact line and column.

  1. Paste or open your JSON
  2. Format, minify or validate
  3. Copy or download the result
Loading the tool…

Your files never leave your device

Features

Common JSON errors

Private

Kingdom of Files checks and formats your data on your device, so you can safely paste API responses, configuration files and data that contains private information.

Frequently asked questions

How do I find the error in my JSON?

Click Validate: the tool shows the line and column and selects the place of the error.

What is minified JSON?

The same data without spaces and line breaks, which makes the file smaller.

Can I sort the keys?

Yes. Turn on Sort keys before formatting or minifying.

Is my data sent to a server?

No. Everything happens in your browser.

Is there a size limit?

There is no fixed limit; very large files depend on your device's memory.

Is it free?

Yes.

Related tools

Save this tool to use it later

Add this page to your browser bookmarks by pressing Ctrl + D