How to use it
- Choose the direction: CSV → JSON or JSON → CSV.
- Paste your data or open a .csv / .json file. Nothing is uploaded; the conversion happens in your browser.
- For CSV input, leave the delimiter on Auto or pick it yourself, and decide whether the first row holds column names and whether numbers and true/false should become real JSON types.
- Copy the result or download it as a file. Switching direction carries the current result over, so you can convert back and forth.
Common uses
- Turning a spreadsheet export into JSON for an API, a database seed or a test fixture.
- Exporting JSON from an API response into a CSV that opens in Excel.
- Converting European CSV files that use semicolons instead of commas.
- Inspecting a CSV file quickly without opening a spreadsheet program.
- Preparing data for charts, maps or static site generators.
Examples
| Input | Output |
|---|---|
| name,age Alice,30 | [{ "name": "Alice", "age": 30 }]The first row becomes the keys; 30 is detected as a number. |
| "Smith, John",45 | "Smith, John" stays one valueCommas inside quotes don't split the field. |
| zip;city 01234;Boston | [{ "zip": "01234", "city": "Boston" }]Semicolons are detected automatically, and leading zeros keep the value as text. |
| [{"a":1,"b":2},{"a":3,"c":4}] | a,b,c 1,2, 3,,4JSON → CSV: the header is the union of all keys. |
Frequently asked questions
Is my data uploaded anywhere?
Why are some numbers kept as text?
My CSV uses semicolons. Will it work?
How are nested JSON objects converted to CSV?
What does the “unclosed quote” error mean?
Related tools
JSON Formatter
Format, validate, minify, and compare JSON data online. Free JSON formatter with syntax highlighting and error detection.
SQL Formatter
Format and beautify SQL queries online. Supports MySQL, PostgreSQL, SQLite, and SQL Server syntax.
Remove Duplicate Lines
Delete repeated lines from a list or text and keep the first occurrence. Options for case-insensitive matching, trimming spaces, removing empty lines and sorting.
Text Diff
Compare two blocks of text or code side by side. Line-by-line diff viewer with syntax highlighting.