CSV to JSON
Convert CSV to JSON online. Detects the separator, finds numbers and true/false, and can build nested objects from dot headers. Free and private.
More options
CSV
Stays in your browserJSON
Shortcuts: Ctrl+Enter run · Ctrl+Shift+C copy result · / search (use ⌘ on Mac)
Next steps
Done here? Use the Send to… menu on the result to carry it on to JSON Beautifier, JSON Visualizer or JSON to CSV.
Free Online CSV to JSON
Paste a CSV file or open one, and get a JSON list with one object per row. Numbers and true/false values are detected, and dot headers such as address.city can become nested objects. It gives developers a quick browser-based way to solve a focused csv to json task before moving the result into a project.
How to use CSV to JSON
Paste your data into the box on the left, or open a file, then press Convert. The first row is used as the names of the keys. The separator is found automatically.
Common mistakes
- A row with a different number of columns: the tool warns with the row number, but check the quotes around fields that contain commas.
- Turning detection off and expecting numbers: every value stays text.