Open huge JSON files instantly. Free & private.🔒 Your data never leaves your browser

JSON Formatter

Format and beautify JSON with 2 spaces, 4 spaces or tabs. Minify JSON. Fast, free and private.

How to format JSON

  1. Paste your JSON, open a file, or drag & drop it onto the page.
  2. Choose 2 spaces, 4 spaces or tabs.
  3. Click Format to beautify, or Minify to remove all whitespace.

Why use this formatter?

Formatting runs in a background thread, so even files of hundreds of megabytes don't freeze your browser. Nothing is uploaded: your JSON stays on your device.

Guides

More free tools