Workspace

JSON formatter

Pretty-print JSON, optionally sorting keys.

Result

Run the tool to see results here.

About JSON formatter

JSON formatter is a free online developer tool. Pretty-print JSON, optionally sorting keys.

Enter your input, adjust the options (indent and sort keys) and run it. The result appears right next to the form, is never stored, and you can copy or save it in one click. No account is needed.

You may also know this as: json-beautify.

How to use JSON formatter

  1. Type or paste your input into the form.
  2. Choose the options you need: indent and sort keys.
  3. Press Run, or use Ctrl/⌘ + Enter.
  4. Copy or save the result from the panel on the right.

JSON formatter FAQ

What does JSON formatter do?

Pretty-print JSON, optionally sorting keys.

Is JSON formatter free to use?

Yes. JSON formatter is free, with no sign-up or account required.

Is my data safe?

Results are never stored. See our privacy policy for details.

What options does JSON formatter have?

You can set: Indent and Sort Keys.

Is JSON formatter also called “json-beautify”?

Yes. “json-beautify” is another common name for this task, so you’re in the right place.

More developer toolbox tools

See all Developer toolbox tools →

Popular on Toolsera