CSV to JSON
Convert CSV to JSON with visual column selection, ordering and explicit types. Preserve leading zeros by default and keep large numbers exact.
Developer toolsConvert JSON object arrays to CSV without rounding numeric tokens. Combine columns, download locally and import IDs into spreadsheets as text.
Presets change settings only. Your input stays in place; Undo restores previous settings.
Ready when you are.
Choose Try an example to run these safe test values with the default settings. Compare the complete result with the expected output below.
[{"id":9007199254740993,"code":"001","name":"Åsa"},{"id":9007199254740995,"note":"new column"}]id,code,name,note 9007199254740993,001,Åsa, 9007199254740995,,,new column
Check your workflow with our free JSON/CSV test files and expected results — large IDs, leading zeros, Unicode and spreadsheet boundaries.
Paste a non-empty JSON array of objects or open a local JSON file. Choose comma, semicolon or tab, decide whether to include column names, and keep formula protection enabled for untrusted data. Convert, then download the CSV. Import identifier columns as text in your spreadsheet.
Nested objects and arrays become JSON text in cells, not separate columns. Missing keys, null and empty strings all export as empty cells, so a round trip cannot restore those distinctions. Numeric tokens are not rounded, but spreadsheet apps can reinterpret them. Files are limited to 2 MB and pasted input to 2 million characters.
Formula protection prevents spreadsheet apps from executing cells beginning with formula characters. Disable it only for trusted data. Large numeric tokens are preserved in the CSV, but a spreadsheet may still round them when opening the file; import identifiers as text.
No. This tool processes your input in your browser. We don't store your text, files or results. Standard website access logs are separate; read our privacy notes.
Yes. No account, subscription or usage credits are required.
Use Copy or Download after running the tool. Inputs are not saved automatically and disappear when you leave or refresh the page.
A key appearing only in a later object still becomes a column. The example produces id, code, name and note columns; absent keys become empty cells. Arrays and objects nested inside a row are quoted JSON text. Optional flattening is available under More options; arrays remain JSON cells.
The exported CSV contains the full 9007199254740993 token and the string 001. Double-clicking a CSV in a spreadsheet can round a long ID or drop leading zeros. Use the spreadsheet import flow, choose the delimiter and set identifier columns to Text before loading. Quoting alone does not force spreadsheet text types.
Protection prefixes cells beginning with formula-triggering characters such as =, +, - or @ with an apostrophe. This changes the exported value deliberately, including negative numeric text, and reduces formula execution risk; it is not a guarantee for every spreadsheet. Disable it only for trusted data. Converting back to JSON produces strings and cannot recover null, missing keys or original types.
Use Columns in order to supply a JSON list such as ["name","id"]. Only those existing keys are exported, in that order. Leave it blank for the union of all keys. Missing keys still become empty cells; formula protection stays enabled by default.
In More options, select JSON Lines to read one object per non-empty line. Choose dotted-name flattening to turn nested object keys into columns such as user.id. Keys containing dots or empty keys are rejected in this mode to avoid ambiguous paths. Null cells can be empty or contain the literal text null; missing keys remain empty. CSV cannot preserve the distinction between a null marker and a string with the same spelling.
Continue the workflow: CSV to JSON → inspect and format JSON → export CSV. Each step runs locally; review your options before converting.
Choose the right developer tools workflow before combining tools.
Something not right? Report a problem with this tool. Include the steps, but never passwords or private input.
Convert CSV to JSON with visual column selection, ordering and explicit types. Preserve leading zeros by default and keep large numbers exact.
Developer toolsFormat JSON without rounding large numbers. Edit values, copy paths, compare documents and inspect a searchable tree locally in your browser.
Developer toolsSort lines alphabetically or in natural number order, with optional reverse sorting. Compare item2 and item10 locally without uploading your list.
Text & writing