CSV to JSON Converter

Turn CSV and Excel spreadsheets into clean JSON — free, private, no sign-up. Your file never leaves your browser: conversion happens 100% on your device.

Convert CSV/Excel to JSON

🔄

Drop a .csv or .xlsx file here or click to browse

Your file stays on your device — nothing is uploaded.

How it works

  1. Drop your file — CSV, XLSX, or XLS. Each sheet becomes a JSON array.
  2. Copy or download — pretty-printed by default; toggle minified if you prefer.

Worked example: a class roster

Say you export a class roster from your gradebook as roster.csv:

name,grade,score
Maya,5,92
Leo,5,88
Zoe,4,95

Drop the file in. The first row becomes the JSON keys, each row after it becomes an object, and numbers stay numbers:

[
  {
    "name": "Maya",
    "grade": 5,
    "score": 92
  },
  {
    "name": "Leo",
    "grade": 5,
    "score": 88
  },
  {
    "name": "Zoe",
    "grade": 4,
    "score": 95
  }
]

The status line confirms the result — "Converted roster.csv — 1 sheet(s), 3 rows." — and the download saves as roster.json, the same name as your file with a .json ending. Paste the JSON straight into your app, script, or API test.

More free tools

Quick answers

How do I convert CSV to JSON?

Drop your .csv file here — the first row becomes the JSON keys, and each following row becomes an object. Copy the result or download it as .json.

Does it work with Excel files?

Yes — .xlsx and .xls are supported. Each worksheet becomes a named key with its own array of row objects.

Is my data uploaded anywhere?

No. Conversion runs entirely in your browser — safe for sensitive datasets.

Frequently asked questions

Is this CSV to JSON converter really free?

Yes — unlimited conversions, no account. It runs entirely in your browser.

How are column headers handled?

The first row of each sheet is used as the JSON object keys. Make sure your data has a header row.

What about Excel files with multiple sheets?

Each sheet becomes a top-level key in the JSON object, e.g. {"Sales": [...], "Inventory": [...]}.

Pretty-print or minified?

Pretty-printed (indented) by default for readability. Uncheck the box for compact single-line JSON.

What happens to empty cells in my spreadsheet?

They become null in the JSON output — so a missing score shows up as "score": null instead of disappearing or shifting the other columns.

What if my CSV has no header row?

The first row is always used as the JSON keys, so add a header row before converting — otherwise your first row of data becomes the key names.

Are numbers kept as numbers?

Yes. Numeric cells stay numbers in the JSON (92, not "92"), and text stays text — so you can use the output directly in code without converting types.

What filename does the download get?

The same name as your input file with a .json ending — roster.csv downloads as roster.json.

Is my data uploaded anywhere?

No. Everything runs locally — your spreadsheets never touch our servers.