Convert CSV to JSON arrays/objects and back. Supports custom delimiters, headers, and shows a live table preview.
CSV to JSON Converter transforms tabular CSV data into structured JSON arrays or objects and converts JSON arrays back to comma-separated CSV. It automatically detects and maps the first row as column headers to produce properly keyed JSON objects, and supports comma, semicolon, tab, and pipe delimiters to handle exports from Excel, Google Sheets, PostgreSQL, and other tools.
A live collapsible JSON tree viewer and a scrollable table preview let you verify the converted data at a glance before copying or downloading. The converter also handles quoted fields containing commas or newlines. All conversion happens locally in your browser — your data never leaves your machine.
The parser follows the RFC 4180 standard and correctly handles fields that are enclosed in double quotes. A field like "Smith, John" is treated as a single value even though it contains the delimiter. Embedded double quotes inside a quoted field must be escaped by doubling them (""), which the parser also handles automatically.
The JSON → CSV mode expects a top-level array of objects, such as [{"name":"Alice"},{"name":"Bob"}]. If your JSON is a single object or is wrapped in a parent key (e.g., {"data":[...]}), you need to extract the array first. Paste the JSON into a text editor, locate the array, copy it, then paste it into this tool.
No. All parsing and conversion logic runs entirely in JavaScript inside your browser tab. Your CSV or JSON data is never transmitted over the network, stored, or logged. This makes the tool safe to use with sensitive internal data such as customer records or confidential exports, as long as you trust the machine you are working on.