CSV to JSON

Developer Tools

Convert CSV data to clean JSON

FreePrivateInstant
Add a file · .txt .md .csv .json … · up to 2.00 MB

Similar tools you may like

History

All history →

CSV to JSON — at a glance

Paste spreadsheet-style CSV data and get clean JSON that developers can use in apps and APIs.

CSV
name,age
Raj,25
Asha,30
Convert
JSON
[
{"name":"Raj","age":"25"},
{"name":"Asha","age":"30"}
]

How to use it — step by step

The first row of your CSV is used as the field names.

1

Paste CSV

Paste CSV copied from Excel, Google Sheets or a file. First line = headers.

2

Set delimiter

Choose comma, semicolon or tab to match your data. Pick the indent too.

3

Convert

Press convert to build the JSON array.

4

Copy JSON

Copy or use the result in your project.

Pro tips

Small things that make the result better.

✦Wrap values containing commas in "double quotes".
✦Use tab as delimiter when you copy cells straight from Excel.
✦Make sure every row has the same number of columns.

Quick facts

Row 1becomes the JSON keys
3 delimiterscomma, semicolon, tab
Quoteshandled correctly
Any sizelimited only by your device

Frequently Asked Questions

What is CSV?+

Comma-Separated Values — a simple text format for tables where each line is a row.

Why are my numbers in quotes?+

CSV has no types, so every value is read as text.

My columns look broken. Why?+

You probably chose the wrong delimiter. Try semicolon or tab.

Is my data safe?+

Yes. Everything runs inside your own browser. Your text, files and images are never uploaded to any server.

More Free Tools