HelperCrate

CSV ↔ JSON Converter

Convert CSV or TSV to JSON and back, with header detection, type casting and delimiter options.

Your files never leave your device. Everything runs in your browser.

What CSV ↔ JSON Converter does

CSV ↔ JSON Converter turns comma-separated data into JSON objects and back again, with support for tab, semicolon and pipe separators. It understands quoted fields, escaped quotes and line breaks inside a field, so exports from spreadsheets and databases survive the trip.

By default the first row is treated as the header, and values are converted to numbers, booleans and null so the JSON looks natural rather than stringly. Both behaviours can be switched off when you need every cell kept as text. The direction is detected from the content: a document starting with { or [ is treated as JSON, anything else as CSV.

The parser is deliberately small and runs entirely in the browser. It is a converter, not a database: it does not resolve schemas, flatten nested structures or stream files, so enormous exports are limited by the memory of the tab.

How to use CSV ↔ JSON Converter

  1. Paste CSV or JSON into the input box.
  2. Pick the delimiter for CSV input: comma, tab, semicolon or pipe.
  3. Leave First row is header checked if the first row names the columns.
  4. Leave Auto-type values checked to convert numbers, TRUE/FALSE and null; clear it to keep every value as a string.
  5. Click Convert. The tool detects the direction from the input, so JSON input produces CSV and CSV input produces JSON.
  6. Use Swap to move the output back into the input, or Copy to take the result away.

Features

Tips and common mistakes

Frequently asked questions

How does the converter decide which direction to use?

It looks at the first non-whitespace character of the input. If it is an opening brace or bracket the input is treated as JSON and converted to CSV; anything else is parsed as CSV and converted to JSON.

Can I keep IDs that start with zero?

Yes, clear the Auto-type values checkbox. With auto-typing off every cell stays a string, so leading zeros, long numbers and values such as 1e3 are preserved exactly.

What happens to missing columns in JSON to CSV?

The converter collects the union of all keys from every object and emits one header row. Objects that lack a key get an empty cell, so the output is always a valid rectangle.

Are nested objects supported?

They are preserved as JSON text inside a single cell rather than flattened into parent.column columns. If you need flat CSV, restructure the JSON first.

Does it support other delimiters?

Comma, tab, semicolon and pipe are built in. Other separators such as a colon or custom character are not offered, and the delimiter choice applies to CSV input and output.

Is my data uploaded?

No. Both parsers run in your browser and the data never leaves the page.

CSV and JSON are converted locally in the browser — your data is never uploaded.