Skip to content
CSV → JSONFile Convert tools

CSV to JSON Converter

Convert CSV to JSON as you type. Comma, semicolon, tab or pipe, numbers and true/false, nested keys. Table preview, no upload.

Did this tool work for you?

Used CSV to JSON Converter? Share how it went to help others.

About this tool

About CSV to JSON Converter

CSV to JSON Converter turns rows of a spreadsheet into JSON, the format that web apps, APIs and databases read. Paste CSV text, drop a CSV file or open one, and the JSON appears at once, updated while you type. The separator is found by itself. Comma, semicolon, tab and the vertical bar are recognised, which matters because spreadsheets in many countries save CSV with semicolons. You can also set it by hand. When the first row holds the column names, each row becomes an object with those names as keys. When it does not, switch the option off and every row becomes a simple list of values. Real CSV is often messier than it looks, and the parser follows the rules of the format. A value in double quotes may contain the separator, such as Sharma, Rahul, it may run over several lines, and a doubled quote inside it stands for one quote mark. Values that look like numbers or like true and false can become real numbers and true or false values, so they are ready for calculations in code. Numbers with a leading zero, such as phone numbers and PIN codes, are kept as text, so the zero is not lost. Scientific notation such as 1e3 does count as a number. Columns named with a dot, such as address.city and address.pin, can be turned into a nested object called address. The result can be pretty printed for reading or written on one line for transfer. A table shows the first 50 rows, so you can check at a glance that the columns came out right. Copy the JSON or download it as a file. Files up to 30 MB are read in your browser. Nothing is uploaded, which makes it safe for customer lists and other private data. For the opposite direction, use JSON to CSV.

CSV to JSON Converter tool

Who converts CSV to JSON

From spreadsheet to code

Developers

Test data for an app.

ExampleTurn on numbers and true/false.

Importing data

Load rows into a JSON database.

ExampleDownload as .json.

Websites

A product list for a web page.

ExampleNest price.amount columns.

Excel users

A sheet saved as CSV.

ExampleSemicolon is found by itself.

APIs

Prepare a request body.

ExampleCopy the minified JSON.

Learning

See how rows become objects.

ExampleCompare the table and the JSON.

CSV to JSON tips

Clean data on the first try

Short column names

They become the keys. Avoid spaces if your code uses them.

IDs as text?

Turn off numbers and true/false to keep every value as text.

Nested objects

Name columns like address.city and switch on nesting.

The other way

Turn JSON back into CSV.

Open JSON to CSV

Excel file?

Read .xlsx directly, with all sheets.

Open Excel to JSON

Check the JSON

View and validate the result.

Open JSON Formatter
Built & tested by

HemantInsights

Senior Software Engineer · Developer of Toolyconvert

Hemant developed CSV to JSON Converter and tests it on desktop and mobile with real files. He is a senior software engineer from Dehradun, India, building websites since 2014, and designed and developed Toolyconvert end to end.

Last updated 26 November 2026

Answers and guidanceFrequently Asked Questions
How do I convert CSV to JSON?
Paste the CSV or open the file. The JSON appears at once. Copy it or download it.
Which separators work?
Comma, semicolon, tab and the vertical bar. The tool finds the right one by itself.
What happens to empty cells?
They become empty text.
Are numbers kept as numbers?
Yes, with the option on. Numbers with a leading zero stay text, so nothing is lost.
Can it read values with commas inside?
Yes, when they are in double quotes, as CSV files write them.
How large can the file be?
Up to 30 MB. Larger files should be split first.
Is my data uploaded?
No. The conversion runs in your browser.
More tools for your workflowRelated Tools

Featured on

Toolyconvert is listed on these product directories and launch platforms.