RichMarkdown › Text tools › JSON formatter

JSON formatter

Make one-line JSON readable, or squeeze readable JSON into one line. If the JSON is invalid, the error says where.

Runs in your browser. Your text is not uploaded or stored on a server.

How to use it

  1. Paste the JSON.
  2. Choose the indent, or tick Minify.
  3. Copy or download the result.

When it helps

Need to write and format, not just clean? The RichMarkdown editor turns rich text into Markdown and Word files.

More text tools

Clean up text

Words and case

Convert formats

Encode and decode

Questions

Is it safe for API keys or private data?

Nothing is uploaded; the JSON is only read by your browser. Still, treat secrets with care on shared computers.

Does it fix broken JSON?

It tells you where it is broken; it doesn't guess fixes.