CSV to JSON converter

Splitting a CSV on commas breaks the moment a field contains a comma inside quotes, which is most real spreadsheets. This parses with a small state machine instead, so quoted delimiters, doubled quotes and newlines inside a cell all survive.

The delimiter is detected from the first line but can be set by hand. With type conversion on, cells that look numeric become numbers — except strings with a leading zero, which stay text so postcodes and product codes are not destroyed.

Runs entirely in this tab. Nothing you paste is uploaded, logged or stored — close the page and it is gone.

Questions about this tool

Do quoted fields with commas work?

Yes — that is the whole point. A field wrapped in double quotes may contain the delimiter, doubled double-quotes, or a line break, and it is parsed as one value.

Why did my postcode become a number?

It should not have. Values with a leading zero such as 007 stay strings on purpose. If a value you wanted as text was converted anyway, turn type conversion off and every cell stays a string.

What happens when rows have different keys?

Converting JSON to CSV takes the union of all keys in first-seen order. Rows missing a key get an empty cell, which is what a spreadsheet expects.

AI alternatives from the directory

Browse coding tools →

This utility handles the job by hand. These do it with a model — worth a look when the task outgrows copy and paste.

Cursor logo
Cursor
Coding
☆

The AI-first code editor

Built on VS Code, Cursor offers codebase-aware chat, multi-file edits and fast autocomplete for real engineering work.

Claude Code logo
☆

Anthropic's terminal agent that edits whole repos

Claude Code runs in your shell, reads the repository, plans a change and applies multi-file edits with tests.

Codeium logo
Codeium
Coding
☆

Free AI autocomplete for every language

A fast, free completion and chat tool that plugs into 40+ editors with strong privacy options.