CSV ↔ JSON Converter
Convert CSV and JSON on one screen to prepare imports and API payloads quickly.
Status
Runs in your browser. No input is sent to a server.
How to use
Select direction, delimiter, and header mode. Validate input, then convert.
Notes (this tool)
- JSON→CSV supports array input only.
- CSV→JSON keeps each cell as string without type inference.
About this page
What does this tool do?
Converts CSV and JSON in both directions. You can switch header mode and delimiter to absorb format differences.
It handles quoted CSV cells and newline-containing fields, so you can also use it for pre-conversion validation.
What this tool does
- CSV to JSON (with/without header)
- JSON to CSV (array-based data)
- Delimiter switch (comma/semicolon/tab/pipe)
- Input validity check
Practical workflow
- Choose direction, delimiter, and header mode
- Validate input syntax first
- Convert and perform final checks at destination system
- Enable JSON pretty output for easier review
Notes
- JSON→CSV requires a top-level array.
- CSV→JSON does not infer types. Numbers/booleans are kept as strings.
- Duplicate headers are auto-adjusted to avoid key collisions.
Referenced specs
- RFC 4180 (CSV)
- RFC 8259 (JSON)
FAQ
I want CSV numbers as JSON numbers.
This tool keeps values as strings for safety. Apply type-conversion rules in your destination system.
Difference between object arrays and array arrays in JSON→CSV?
Object arrays use object keys as columns. Array arrays keep positional order as-is.
References
Next to view (diagnostic order)
These links are generated from site_map rules in recommended diagnostic order.
- JSON Schema Validator — Validate JSON data against JSON Schema
- JSON ↔ YAML Converter — Convert between JSON and YAML with validation
- JSONPath Tester — Extract and validate matched paths/values via JSONPath
- JSON Diff — Compare two JSON documents and show diffs
- JSON Formatter — Pretty-print, minify, and validate JSON
- JSONC Formatter — Format and validate JSONC (comments/trailing commas)
Same-theme links
Data Conversion
Convert and validate JSON/YAML/CSV on one screen
- JSON Formatter — Pretty-print, minify, and validate JSON
- JSONC Formatter — Format and validate JSONC (comments/trailing commas)
- JSON ↔ YAML Converter — Convert between JSON and YAML with validation
- JSON Schema Validator — Validate JSON data against JSON Schema
- JSONPath Tester — Extract and validate matched paths/values via JSONPath
- JSON Diff — Compare two JSON documents and show diffs