Skip to main content
DataFormatKit
Text to CSVCSV to ExcelJSON to ExcelJSON to CSVXML to CSVCSV Validator
Open Text to CSV

Conversion tools

Text to CSVCSV to ExcelJSON to ExcelJSON to CSVXML to CSVCSV Validator

Ideas & support

Suggest a converter
Current tool
1

JSON source

Paste a JSON document or import a .json file.

Drag and drop · JSON · 10 MB maximum
0 B entered
2

Record mapping and CSV output

Define row selection, nested-array handling, and the CSV serialization policy.

CSV null handlingJSON null, missing properties, and empty strings remain distinct in the preview. CSV serializes each as an empty field.

CSV output

3

CSV output review

Validation results and export actions appear here.

No JSON data has been validated

Add a JSON document, validate it, then review the row mapping and CSV output.

JSON to CSV Converter
with Clear Flattening Rules

Convert JSON to CSV after choosing which array becomes the rows. Review flattened paths, nested-array handling, blank values, long IDs, and spreadsheet-sensitive cells before downloading the CSV locally.

✓ Selectable record path✓ Explicit array handling✓ Local processing with no upload
Return to the converter

From nested JSON to a deliberate flat table

A useful flat file requires three explicit choices: which JSON array defines the rows, how nested arrays should be represented, and how blank or spreadsheet-sensitive values should be written. The preview exposes the tradeoffs before export.

  1. 01

    Validate the JSON source

    Paste JSON or choose a local file. The parser identifies candidate record arrays, blocks duplicate object keys, and retains long numeric tokens before they can be rounded.

  2. 02

    Define the flat table

    Choose the array that becomes rows. Keep nested arrays as JSON, join scalar values, or expand one array; unrelated arrays are never multiplied into an accidental cross product.

  3. 03

    Review and download CSV

    Inspect flattened columns, missing fields, nulls, empty strings, long IDs, and formula-like values. Convert JSON to CSV only when the preview reflects the intended table.

See how arrays and blanks become CSV

{
  "items": [
    { "id": 1234567890123456789, "tags": ["new", "priority"], "note": null },
    { "id": 42, "tags": [], "note": "" }
  ]
}

Choose items as the record path, then keep tags as JSON text or join the scalar values. The preview distinguishes null from an empty string and preserves the 19-digit ID; the downloaded CSV necessarily writes both blank states as empty fields.

Return to the converter

What flat CSV cannot retain

  • JSON to CSV writes null, missing, and empty strings as blank fields.
  • Only one nested array can expand into rows; unrelated arrays are never multiplied.
  • A JSON file to CSV export has no type schema, so spreadsheets may coerce IDs or dates.
  • Limit: 10 MB or 50,000 result rows.

JSON to CSV questions before download

Direct answers about nested fields, arrays, blank values, long IDs, and spreadsheet protection.

How do I turn nested JSON into a flat CSV?

Paste or select the file, validate it, choose the records array and an array rule, then inspect the flattened preview. Download only after the row count and path-based columns match the source records you intended to export.

How does a JSON file to CSV converter flatten objects?

Nested objects become path-based columns, while literal keys containing dots are escaped so they remain distinct. This prevents two different source fields from being merged into one output column.

How are nested arrays handled?

Arrays can remain as JSON text, join when every value is scalar, or expand one selected array into rows. Unrelated arrays are never multiplied automatically because that would invent combinations absent from the source.

What happens to null, missing, and empty values?

The preview distinguishes null, a missing field, and an empty string so you can review their different source states. The downloaded file writes all three as blank fields because CSV has no native null or missing-value type.

Will long IDs and formula-like strings stay safe?

Long integer tokens retain every source digit, and formula-like strings can be prefixed for safer spreadsheet use. The optional report records how many cells were protected, although spreadsheet software may still infer other value types.

Need a different source or output?

Convert text to CSV

Check delimiters and uneven rows.

→
Convert CSV to Excel

Move a finished CSV table into a text-safe XLSX workbook.

→
Convert JSON to Excel

Create an XLSX workbook when text-safe identifiers are required.

→
Convert XML to CSV

Map repeating XML records into a checked CSV table.

→
DataFormatKit

Small, inspectable data conversions that run in your browser.

Support DataFormatKit

Tools

Text to CSVCSV to ExcelJSON to ExcelJSON to CSVXML to CSVCSV Validator

Trust

PrivacyTermsAboutRequest a feature
© 2026 DataFormatKitNo account. No source-file upload. No hidden conversion.