Useful Hacks

CSV to JSON

Convert CSV data to a JSON array of objects, with a delimiter choice and a header-row toggle.

Processed locally in your browser. Your data is never uploaded.
  • Header row becomes the object keys; each data row becomes one object.
  • Choose comma, semicolon, tab or pipe as the delimiter — not comma-only.
  • Turn off "first row is a header" for headerless data — rows are still converted, with auto-generated "Column 1", "Column 2" keys.
  • Numbers and true/false values are typed correctly, not left as strings — a quoted cell or a leading-zero code (like a ZIP) is correctly kept as text.
  • Output is ready to paste into code, a request body or a fixture file.
  • Runs in your browser — safe for exports containing real data.

Why this is private

  • Processed locally in your browser. Your data is never uploaded.
  • Open your browser's DevTools → Network tab while using this tool — you won't see a request carrying your input, because it never leaves your device.
  • Nothing you enter is uploaded to a server or shared with us — the processing happens entirely on your device.

Overview

Converts CSV data into a JSON array of objects, using the first row as keys — numbers and booleans come out as real typed JSON values, not quoted strings. Also handles semicolon-, tab- and pipe-delimited files, and headerless data.

How to use it

  1. 1Paste CSV (or TSV/semicolon/pipe-delimited) data.
  2. 2Pick the matching delimiter if it isn't a comma.
  3. 3Turn off "first row is a header" if the data has none.
  4. 4Copy or download the JSON output.

Frequently asked questions

What people use it for

Turn a spreadsheet into API request bodiesConvert a list of records into a JSON array to POST to an endpoint.
Create test fixtures from real dataDrop a CSV sample into your test suite as JSON.
Load CSV data into a JS appGet an array of objects you can `import` or paste directly.
Move data between a spreadsheet and a NoSQL storeJSON is the common format for document databases.

Related tools

All data tools

Ready to use CSV to JSON?

CSV to JSON

Search tools

Search for any tool by name, category or keyword