Format JSON online

Beautify, minify or validate JSON — processed right in your browser.

Source JSON

No data yet

Result

The result appears here after you run Format or Minify.

No result yet

How to use the JSON Formatter

  1. Paste your JSON into the box.
  2. Click format or minify.
  3. Copy the cleaned-up result.

What are the JSON tools for?

Illustration of developer tools: JSON, Base64, Regex

A set of tools to format, minify and validate JSON — handy for debugging APIs, reading long responses or tidying config files before deploying.

How to format JSON online

Paste a JSON string and click beautify to add line breaks and indentation. Minify collapses it into one line. Standard JSON has no comments — remove // before validating.

Why use OneTool?

  • Free — no sign-up required, no hidden fees.
  • Private — many tools run right in your browser; files are never sent to OneTool's servers.
  • Fast — drag and drop, preview, and download in a few steps.

Related tools