CSV to JSON
Use this to turn a spreadsheet export into data an API, script or web app can use.
- Processing
- In your browser, in a background worker
- Engine
- Papa Parse
- Quality
- Changes structure
- Batch
- Up to 20 files at once
- Status
- Tested with sample files
How to convert CSV to JSON
- Open the converter and add your CSV files — drop, paste or choose from your device.
- Check the options: header row, type detection, delimiter.
- Convert and download the JSON file. It is checked before it is offered.
What to expect
- The delimiter (comma, semicolon, tab or pipe) is detected automatically; a UTF-8 byte-order mark from Excel is removed.
- Values stay as text by default so codes like 007 or ZIP codes keep their leading zeros. Turn on type detection to get numbers and booleans.
- Quoted cells with commas, quotes and line breaks are parsed correctly. Files in Windows-1252 encoding are detected and decoded.
What carries over
Kept
- All rows and columns; Unicode text
Changed or removed
- Numbers and dates stay as text unless you enable type detection
Options
- Header row
- On by default: the first row supplies the keys of each JSON object. Off: each row becomes an array.
- Type detection
- Off by default so values such as 007 or 1e5 stay exactly as written. Turn it on to emit numbers and booleans.
- Delimiter
- Detected automatically (comma, semicolon, tab or pipe), or set it explicitly.
Limits
- Desktop: 25 MB per file, 500,000 rows.
- Phones and tablets: 8 MB per file, 150,000 rows.
Limits protect your device’s memory. They are conservative engineering defaults, not guarantees for every device.
Common problems
- “The JSON is not valid”
- FileLynx reports the position of the syntax error. A common cause is a trailing comma or a single-quoted string.
- Accented characters look wrong in Excel
- Turn on the Excel BOM option when exporting CSV, or import the file with UTF-8 encoding.
- Large numbers changed
- Integers above 9,007,199,254,740,991 cannot be represented exactly; FileLynx warns you when it detects them.
About the formats
CSV
CSV stores a table as lines of comma-separated values; spreadsheets, databases and analytics tools all read it.
Good for: Moving tabular data between spreadsheets, databases and scripts.
Watch out: There is no single CSV standard: delimiters, quoting and encodings vary, and values have no types.
JSON
JSON is the data format of web APIs and configuration: nested objects, arrays, strings, numbers, booleans and null.
Good for: APIs, configuration and nested data.
Watch out: JSON numbers lose precision beyond about 15–17 significant digits in JavaScript-based tools.
Questions
What if my CSV has no header row?
Turn off “Header row” and each row becomes an array of values.
How large a CSV can I convert?
Up to 25 MB and 500,000 rows on desktop (8 MB / 150,000 rows on phones).