CSV ↔ JSON

Convert CSV rows into JSON objects or turn an array of objects back into CSV, with quoting handled for you.

  • 100% Free
  • No account required
  • Runs in your browser
  • No data is uploaded
Not saved automatically

Private to this browser, not a cloud backup. Saves expire 7 days after the last save. Avoid saving sensitive data on shared devices.

Saved CSV ↔ JSON workspaces

Saved only on this device. Clearing browser data removes your workspaces. Expired saves are removed when this app next checks storage.

No saved workspaces for this tool yet.

CSV to Converted JSON

Input

Paste or edit your CSV or JSON, then click “Run tool”.

Type, paste or drop a file
CSV
Ln 1, Col 1Spaces: 2UTF-841 bytes

Output

Converted JSON (read-only).

Read-only
Text
Ln 1, Col 1Spaces: 2UTF-80 bytes
Ready when you arePaste your input, then press Run tool or ⌘ ↵

Using the CSV ↔ JSON

Overview

Convert CSV rows into JSON objects or turn an array of objects back into CSV, with quoting handled for you.

Move spreadsheet exports into code, or turn API data into something a spreadsheet can open.

How to use it

  1. Paste or type your CSV into Input, drop a file onto it, or press Example to load a sample.
  2. Choose the settings in the Direction bar under the editors.
  3. Press Run tool, or ⌘ ↵ from anywhere on the page.
  4. Read the result in Output, then copy or download it. The Result tab has size, line counts and next steps.

Input

CSV or JSON.

Settings

  • Direction — CSV → JSON, JSON → CSV

Output

Converted JSON.

  • CSV rows to JSON objects
  • JSON arrays back to CSV
  • Header row becomes the keys
  • Quotes and commas handled

Tips

  • Pick the base your number is written in before running the converter.
  • Timestamps under eleven digits are read as seconds, longer ones as milliseconds.
  • CSV conversion expects a header row.

Keyboard shortcuts

⌘ ↵
Run the tool
⌘ K
Search every tool
/
Filter the sidebar