CSV to JSON

Paste CSV or upload a .csv file and get clean JSON.

  • Free, no sign-up
  • Runs in your browser

Drop your file here, or

TXT, CSV, JSON, Markdown, HTML, XML, DOCX, PDF, RTF and more

Type, paste with Ctrl V, or drop a file

Options

Separator
Indentation

or press Ctrl EnterRuns in your browser

Result

Your result will appear here.

Add your text, then press Convert to JSON.

How to use CSV to JSON

  1. Paste your text into the input box, or drop a file onto it.
  2. Choose your options.
  3. Press Convert to JSON.
  4. Copy the result or download it in the format you need.

Example

Before
name,age
Ada,36
Grace,45
After
[
  {
    "name": "Ada",
    "age": 36
  },
  {
    "name": "Grace",
    "age": 45
  }
]

The header row becomes the keys; numbers are detected.

Good for

  • Turning spreadsheet exports into API data
  • Preparing test fixtures
  • Converting reports for JavaScript apps

Leading zeros are safe

Values like 00123 or +44 are kept as text so nothing is lost. Turn off number detection to keep every value as a string.

What happens to your text

Your text is processed in your browser and kept only in this tab’s memory. It is not uploaded, saved or used for analytics.

Related guides

  • How-to

    How to Convert CSV to JSON

    Turn CSV rows into JSON objects using the header row, detect numbers safely, handle semicolons and quoted commas, and convert from Excel.

Questions about CSV to JSON

More answers in the TextVix FAQ.

Does it handle commas inside quotes?

Yes. Quoted fields, escaped quotes and line breaks inside quotes are all parsed correctly.

What if my file uses semicolons?

The separator is detected automatically, or you can choose it.

Is my text uploaded anywhere?

No. This tool runs entirely in your browser. Your text and files are never sent to a server or stored.