Data tools

We never see your dataFree, no sign-up

CSV to JSON converter

Paste a spreadsheet export or open a CSV file of any size and get JSON. Values stay as text unless you ask, so IDs and leading zeros survive.

Guide

How to convert CSV to JSON

  1. Add your CSV

    Paste rows from a spreadsheet or open a .csv file. Commas, semicolons and tabs are detected automatically.

  2. Check the JSON

    Header names become keys and values stay as text, so IDs keep their leading zeros.

  3. Copy or download

    Paste the JSON into code or a ticket, or download a .json file.

Know-how

Good to know

Updated

Keeping every value as text

CSV has no types; everything in it is text. Converting cells to numbers would turn postcodes like 0800 into 800 and round long account numbers, so every cell stays a string. Convert the fields you need to numbers in your own code, where you can see what you're doing.

Quoted cells may contain commas, line breaks and doubled quotes, as Excel and Google Sheets export them, and they're read correctly.

Objects or arrays

Objects mode uses the first row as keys, which gives readable JSON that most APIs and scripts expect. Arrays mode keeps every row as a list of values, header row included, which is closer to the raw file and suits data without a header.

Empty or repeated header names are given unique names, and a warning lists any that changed.

Questions

Not here? Email us.

Shortcuts

Set up for a specific job