JSON Formatter vs JSON to CSV Converter

formatting

JSON Formatter

Pretty-print or minify JSON — with syntax validation.

Paste raw or minified JSON and format it with configurable indentation, or minify it by removing all whitespace. Validates syntax, reports parse errors with line/column, and optionally sorts keys or repairs malformed JSON.

Example input:

{
  "json": "{\"name\":\"Alice\",\"age\":30}",
  "mode": "pretty",
  "indent": 2,
  "sort_keys": false,
  "repair": false
}
Use JSON Formatter
formatting

JSON to CSV Converter

Convert a JSON array of objects to CSV, or parse CSV back to JSON.

Convert a JSON array of objects to a comma-separated values (CSV) file with a header row, or parse a CSV string back to a JSON array. Handles nested objects by dot-notation flattening (e.g. address.city), quoted fields with embedded commas or newlines, and configurable delimiters (comma, semicolon, tab).

Example input:

{
  "input": "[{\"name\":\"Alice\",\"age\":30,\"city\":\"London\"},{\"name\":\"Bob\",\"age\":25,\"city\":\"Paris\"}]",
  "mode": "json-to-csv",
  "delimiter": ",",
  "flatten": true
}
Use JSON to CSV Converter
FeatureJSON FormatterJSON to CSV Converter
Categoryformattingformatting
Inputsjson, mode, indent, sort_keys, repairinput, mode, delimiter, flatten
Outputsoutput, valid, error, error_line, error_columnoutput, row_count, column_count, columns, mode, error

We use cookies to serve ads and measure traffic. Cookie policy · Privacy policy