Turn a CSV file, or cells pasted from Excel or Google Sheets, into JSON: numbers and true/false as real values, “address.city” columns as nested objects, and five layouts including JSON Lines. Free and private — the file never leaves your browser.
Turn a CSV file, or cells copied from Excel or Google Sheets, into JSON that an app, an API or a database can use straight away. The converter finds the separator for you (comma, semicolon, tab or pipe), reads files saved in any common encoding, turns numbers and true/false into real JSON values while keeping codes such as 02134 as text, builds nested objects from column names like address.city, and gives you five layouts: a list of objects, a list of rows, an object keyed by the first column, an object of columns, or JSON Lines. Everything happens in your browser, so even a 100 MB export is converted without being uploaded.
Tip: If the JSON will be loaded back into a spreadsheet later, untick “Numbers and true/false as values”. Every cell then stays text exactly as it was, so phone numbers, ZIP codes and long IDs can never be changed by a program that treats them as numbers.
With “Numbers and true/false as values” ticked, 12 becomes the number 12, 3.5 becomes 3.5, and true, TRUE or false become JSON true and false. Values that only look like numbers are left as text on purpose: anything with a leading zero (02134, 007), numbers too long to be stored exactly (credit-card-length IDs and 16-digit order numbers), and values with spaces or currency symbols. That way nothing is silently rounded or stripped.
Empty cells can become null, an empty string, or be left out of the object entirely. Leaving them out gives smaller JSON and suits databases where a missing field means “unknown”; null is clearer when every record must have the same fields.
Column names with dots are turned into nested objects when “Nest dotted columns” is ticked: address.street and address.city become {"address": {"street": …, "city": …}}. Untick it to keep the dotted names as flat keys.
You don't need to save a CSV first. Select the cells in Excel, Google Sheets or Numbers, including the header row, copy them, and paste them into the box. Copied cells are separated by tabs, which the tool detects automatically. This is the fastest way to turn a small table into test data or a settings file.
Read the first record in the preview before downloading. If a field is wrong there, it is wrong in every row.
Choose Minified in Indent to send JSON over a network: the file is often 20–30% smaller.
For files over a few hundred MB, use JSON Lines: programs can stream it one record at a time instead of loading it all.
If an ID column has numbers, untick value conversion or the IDs become numbers that some systems reformat.
Open or paste the CSV, choose a layout such as List of objects, and click Download. The header row gives the JSON keys and each following row becomes one object.
Yes. Name columns with dots, such as customer.name and customer.email, and tick Nest dotted columns to get a customer object inside each record.
Values with a leading zero stay text so 02134 doesn't become 2134. Other numbers become real JSON numbers.
Up to 100 MB. The box shows the start of a large file, but the download contains every row.
Yes. The separator is detected automatically, and you can choose comma, semicolon, tab or pipe yourself.
No. The file is read and converted in your browser, on your device; nothing is sent to a server or stored, so customer lists, payroll and other private data stay private.
Updated