Skip to content
scoi.io

Dev Tools

CSV to JSON Converter

Paste a header row plus data. Conversion stays in the browser.

CSV input

First row is treated as headers

JSON output

Convert a CSV file to JSON in the tab

Drop in a header row plus records and get an array of objects. Useful when an export from Sheets or a device log needs to become an API fixture. The first row is treated as keys.

  1. 1. Keep a header row

    The first line becomes the field names. Every following line becomes one object. A file with only headers will not convert.

  2. 2. Paste or type the CSV

    Columns are split on commas. Values are trimmed. Nested commas inside quotes are not a full RFC parser — keep exports simple or pre-clean them.

  3. 3. Copy the JSON

    The output is pretty-printed so you can drop it into a formatter, a test fixture, or a request body.

Frequently asked questions

Does the file leave my machine?
No. Conversion is local. Do not paste spreadsheets you would not open in a desktop editor.
Can I convert JSON back to CSV?
Not on this page. Use the JSON Formatter if you need to inspect or reshape JSON first.
What if a cell contains a comma?
This converter splits on commas and does not implement the full quoted-field CSV spec. Clean or quote those rows before converting, or use a desktop parser for messy exports.