CSV ↔ JSON Converter

Convert CSV to JSON and flat JSON arrays to CSV with separator and spreadsheet formula options.

  • Free to use
  • No registration
  • Simple workflow
  • Works on any device

Input & results

Enter your content and choose the action you need.

Conversion Options

Paste text to begin. Up to 1,000,000 characters and 10,000 data rows.

How it works?

  1. Paste CSV or a JSON array.
  2. Choose the direction and separator.
  3. Convert and check the result.
  4. Copy or download your data.

Your Security, Our Priority

  • Input stays in your browser.
  • No input is uploaded for processing.
  • Reports are generated on your device.
  • Clear removes input from the workspace.
Processed locally in your browser

Supported

  • CSV or JSON arrays of flat objects
  • 1 million input characters / 10,000 rows
  • 200 columns / 200 characters per header
  • Comma, semicolon or tab separators

Tips

  • CSV needs unique, nonempty headers.
  • CSV values remain strings in JSON.
  • Flatten nested JSON before converting.
  • Formula protection can change cell text.
Practical guide

How to use CSV ↔ JSON Converter

What this tool helps you do

Convert a table between CSV and a JSON array of flat objects. CSV headers become JSON property names. CSV values are kept as strings so identifiers, leading zeroes and date-like text are not silently changed.

When it is useful

  • Preparing spreadsheet exports for an API
  • Turning flat API results into a spreadsheet file
  • Checking quoted fields and separators

A practical example

CSV name,code followed by Asha,001 produces [{"name":"Asha","code":"001"}]. The code remains a string with its leading zeroes. In JSON-to-CSV, fields missing from a row become empty cells; field order follows first appearance.

Limitations and common mistakes

CSV has no reliable type system. JSON null and a missing field both become an empty CSV cell, so that distinction is lost on a round trip. Spreadsheet formula protection prefixes string cells beginning with =, +, - or @ (including after leading whitespace) with an apostrophe; numbers remain numbers. This changes cell text and is not a guarantee for every spreadsheet application. Leave it enabled for untrusted spreadsheet exports and verify the imported result.

How to use CSV ↔ JSON Converter

  1. Paste your data and select CSV to JSON or JSON to CSV.
  2. Choose comma, semicolon or tab for the CSV separator.
  3. For CSV output, decide whether to prefix formula-like strings for spreadsheet use.
  4. Convert, inspect the result, then copy or download.

Inputs and processing

Runs locally in your browser. Limits: 1,000,000 input characters, 10,000 data rows, 200 columns and 200 characters per header. CSV-to-JSON output is bounded by a conservative 5-million-character size estimate. CSV requires unique, nonempty headers and equal field counts. Double-quoted fields support separators, escaped quotes and newlines. Blank physical rows outside quoted fields are skipped. JSON input must be a nonempty array of flat objects; nested arrays and objects are rejected.

Frequently asked questions

Can I convert nested JSON?

Flatten nested objects and arrays first. This converter accepts flat records only.

Why does my CSV fail?

Check the separator, header names, field count and whether embedded quotes are doubled inside a quoted field.

Read the related in-depth guide →
Instant Formatting

Format your data with clean indentation and structure in one click.

JSON Validation

Validate your JSON and quickly detect syntax errors.

Tree View Pro

Visualize structured data in a clear interactive layout.

100% Private & Secure

Your data is processed in your browser and never stored.

How to use CSV ↔ JSON Converter?

  1. Paste or write your JSON in the left editor.
  2. Click the “Format” button to beautify your JSON.
  3. View the formatted output on the right side.
  4. Use Minify, Validate, or Copy as needed.

Sample JSON

UserProductCompanyAPI Response
1{
2  "id": 1,
3  "name": "John Doe",
4  "email": "john@example.com",
5  "role": "Developer"
6}