How to Turn CSV into JSON online

CSV is a table saved as plain text: one line per row, with commas separating the values. Paste it or drop the file below for tidy JSON right away – no Python, no terminal, and your data stays on your device.

Converted on your device. Your data never leaves your browser.

The steps: Turn CSV into JSON online

  1. 1

    Load this page in any up-to-date browser – Chrome, Safari, Edge or Firefox – on a phone or a computer.

  2. 2

    Paste your CSV into the box, or drag your file into the box above, or click the box to pick one.

  3. 3

    The JSON shows up while you type, or as soon as the file has loaded.

  4. 4

    Copy it, or hit Download to keep the result. It's saved wherever your browser puts downloads.

How your CSV is converted

  • Your first row supplies the field names, and every row after it becomes one JSON object.
  • Numbers and true/false values stay as numbers and booleans instead of text, and quoted cells containing commas or line breaks are handled properly.

CSV and JSON in brief

  • CSV is a table saved as plain text: one line per row, with commas separating the values. Excel, Google Sheets, online banking and most databases export it.
  • JSON is the data format behind web APIs and JavaScript apps: records made of named fields that can sit inside one another.

Worth knowing

  • There's no software to install and no account to create. Everything runs inside the browser tab, so it behaves the same on Windows, Mac, Linux, iPhone, Android and Chromebook.

CSV vs JSON

CSVJSON
CompressionPlain textPlain text
Ideal forSpreadsheet and table exportsAPIs, apps and settings files
Works onEvery spreadsheet app and databaseEvery programming language

Questions & answers

Do I have to code to turn CSV into JSON?

No. Paste or drop the file and the converted version appears instantly – no scripts, packages or command line.

What size of file can it cope with?

Files of several megabytes are converted in a moment. There's no set limit; only your device's memory matters.

Do my files get sent anywhere?

No. Your browser does the conversion with your device's own processor, so your files stay with you. Once the page has loaded you could even switch off your internet connection.

Need more options? Open the full CSV to JSON tool →

More guides like this