YourFileKit
Esc
Home/Tools/CSV ⇄ JSON Converter

Convert between CSV and JSON

Turn a CSV file into JSON, or a JSON array into a CSV. Handles quoted fields and nested values, entirely in your browser.

Files are processed in your browser. Nothing is uploaded to our servers.
Fullscreen
CSV input
JSON output
Conversion happens live as you type.
01
Pick a direction

CSV to JSON, or JSON to CSV.

02
Paste or upload

The conversion updates live as you type. No button to press first.

03
Download

Get back a clean .json or .csv file.

Frequently asked

Is my data uploaded anywhere?

No. Conversion happens in this tab. Nothing is sent anywhere.

Does it handle commas or quotes inside a CSV field?

Yes. Quoted fields (with embedded commas, newlines, or escaped "" quotes) are parsed correctly, not just split on every comma.

What does "nested keys" do?

A CSV column named "address.city" becomes a nested {"address": {"city": ...}} object in the JSON output, and the reverse when going from JSON to CSV. Turn it off to keep dotted names as flat, literal keys.

What happens to arrays and nested objects when converting JSON to CSV?

Nested objects are flattened into dotted column names; arrays are kept as a single JSON-string cell, since CSV has no native way to represent a list within one field.

Does this work offline?

Yes, once the page has loaded.

Related tools