welloddcomfortably different

CSV to JSON

Data
Ready

Values stay strings unless you select Detect value types. Leading zeros and high-precision numbers stay strings in either mode.

0 bytes

Paste CSV or drop a UTF-8 file here. Press Ctrl+Enter (Command+Enter on Mac) to convert.

0 bytes
Read-only result. Copy or download it using the buttons below.

Ready. Your input stays in this browser.

Runs in your browser. Nothing is uploaded.All tools

CSV to JSON

Convert CSV or tab-separated text to a JSON array. Use column headers as object keys, or keep each row as an array. Paste text or open a local UTF-8 file, choose your settings, then copy or download the JSON. Everything runs in your browser; nothing is uploaded.

Is my CSV uploaded?

No. File reading, conversion, copying, and downloads run in your browser. The tool does not send or save your data to a server. No account is required.

Which separators and quoted fields are supported?

Auto-detect checks commas, tabs, semicolons, and pipes. Select a separator yourself if the input is ambiguous. Put fields containing separators, line breaks, or double quotes inside double quotes. Write a double quote inside a quoted field as two double quotes.

How are headers and empty rows handled?

First row is headers uses the first nonempty row as object keys. Headers must be unique and nonblank. Turn this setting off to keep all rows as arrays. Every row must have the same number of fields. Skip empty rows ignores blank lines, but keeps rows containing separators or quoted empty fields. Trim values removes surrounding whitespace from fields and headers only when selected.

Will numbers, IDs, and empty cells change?

All values stay strings by default, including empty cells. Detect value types converts lowercase true, false, and null, plus numbers that can be represented without losing decimal precision. Leading zeros and large or high-precision numbers stay strings. Dates stay strings. Empty cells remain empty strings; only the word null becomes a JSON null.

How large can my input be?

Input can be up to 10,485,760 UTF-8 bytes, with up to 100,000 data rows, 1,000 columns, and 1,000,000 data cells. These limits apply together. JSON output also has a size limit to keep the page responsive. Open files as UTF-8; older spreadsheet exports may need to be saved as CSV UTF-8 first.

More data tools