CSV ↔ JSON Converter
Convert CSV to JSON or JSON objects to CSV locally, with quoted fields, Unicode, and flexible delimiters.
How to use this toolLocal conversion. CSV, JSON, and file contents are never uploaded.
Input
Output
Choose a direction, enter your data, then Convert.
Convert structured data in either direction
Convert CSV rows to JSON objects or a JSON array of objects to CSV. Useful for API samples, spreadsheet exports, and configuration data. Values from CSV remain strings, preserving leading zeros and long identifiers.
Try an example
Load the example containing Zoë and a quoted comma, then convert. Swap direction to convert the generated objects back to CSV. Header row is enabled by default; disable it for generated column_1, column_2 names.
Limits and interpretation
UTF-8 files up to 2 MB and input up to 1,000,000 characters; 10,000 rows, 200 columns, 50,000 cells, and 4,000,000 output characters. Empty lines are skipped, but empty fields are preserved. Duplicate or blank headers, inconsistent row widths, and invalid quoting are rejected. JSON requires an array of objects with unique keys. Columns use first-seen key order; missing and null values become blank cells. Nested arrays and objects become compact JSON strings, never flattened. JSON numeric lexemes retain precision. Optional spreadsheet protection adds apostrophes to formula-like cells, including headers; review this setting before importing CSV into a spreadsheet.
Your text, files, and results are processed locally and are not uploaded, logged, saved in browser storage, or included in analytics or URLs. Clear or leave the page to discard results and release workers and download URLs. Clipboard contents and downloaded files remain under your control.
