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

  1. RFC 4180
  2. RFC 8259

These links are generated from site_map rules in recommended diagnostic order.

  1. JSON Schema Validator — Validate JSON data against JSON Schema
  2. JSON ↔ YAML Converter — Convert between JSON and YAML with validation
  3. JSONPath Tester — Extract and validate matched paths/values via JSONPath
  4. JSON Diff — Compare two JSON documents and show diffs
  5. JSON Formatter — Pretty-print, minify, and validate JSON
  6. JSONC Formatter — Format and validate JSONC (comments/trailing commas)

Data Conversion

Convert and validate JSON/YAML/CSV on one screen