CSV to JSON
← SkillSafe

Convert CSV to JSON, free

Drop or paste a CSV and download clean JSON. Drop a JSON file and get a CSV back.

or drop it here ·
No file handy? Try one:

How it works

  1. Open the file. It is read in your browser tab; nothing is uploaded. The encoding (UTF-8, UTF-16 or Windows-1252) is found from the bytes.
  2. The delimiter is found. Comma, semicolon, tab or pipe: whichever gives the same number of fields on the most lines. Quoted fields with commas and line breaks are read whole.
  3. Problems are named. Rows with too few or too many fields, repeated or empty headers and unclosed quotes are listed with their line numbers. Nothing is dropped.
  4. Types only where every value fits. A column becomes numbers or true/false only when all its values are; codes like 02139 stay text.
  5. Download. JSON (objects, JSON Lines or arrays), a JSON Schema, or for a JSON file, a CSV.

Questions

Is my file uploaded?
No. The file is read and converted inside your browser tab. Only the optional AI step sends anything: the headers, up to 15 sample rows and the page's summary of each column, and only when you press its button.
Why are some numbers still text?
A column becomes numbers only when every value in it is a plain number. Codes with leading zeros such as ZIP 02139, integers too long for JSON to store exactly, and decimal commas such as 1249,50 stay text so nothing is changed by accident. Choose All text to keep every value as written.
Which delimiters does it read?
Comma, semicolon, tab and pipe. It picks the one that gives the same number of fields on the most lines; you can choose another under More options.
What happens to rows with too few or too many fields?
Nothing is dropped. Missing fields become empty, extra fields go into columns called extra_1, extra_2, and the page names the lines so you can fix the source.
How does JSON to CSV handle nested data?
Nested objects become dotted columns such as dimensions.weight_g. Lists are written into their cell as JSON text. Keys missing from a row leave that cell empty, and the page says how many.
What does the AI step do?
It reads the headers, a few rows and the page's summary of each column, and plans a clean snake_case key and a type for every column. The page checks the plan against every value; a column with one value that does not fit stays text. It needs a sign-in; a new account includes free credits.