JSON

JSON Formatter, Validator & CSV Converter

Validate JSON syntax, prettify or minify, sort keys, and export arrays to CSV

Valid JSON.
All inputs and files stay inside your browser and are never uploaded to a server.

How to Use

  1. Paste your raw JSON string or click "Load Sample" to inspect an example payload.
  2. Format with 2 or 4 spaces, minify to a single line, or sort object keys alphabetically.
  3. If your JSON is an array of objects, export it directly as a CSV file.

Frequently Asked Questions

Does it show where a syntax error occurred?

Yes, invalid JSON triggers a clear error banner with line/column clues when reported by the parser.

How does JSON to CSV work?

It collects all unique keys across objects in a JSON array as column headers and escapes nested values safely.

Is my JSON payload sent anywhere?

Never. Everything stays inside your browser tab.