Skip to content

Convert CSV to JSON

Convert CSV or TSV to JSON with automatic delimiter and headers.

It works in your browser. We do not store or send anything you type.Free · No sign-up required

Workspace · Convert CSV to JSON

Runs in your browser · 100% local
Cargando herramienta…
Files are processed in your browser; if you are signed in with history enabled, text results appear in your history.
Instructions

How to use it

01

Upload a CSV/TSV file or paste the table.

02

Select the tab (or leave it set to automatic) and specify whether the first row contains the headings.

03

Convert and download the JSON as an array of objects or with numeric keys.

Examples

Examples

List of products

Convert a CSV file containing product data into a JSON array for an API.

Database export

Convert a CSV export to JSON whilst retaining leading zeros.

Reference guide

What you need to know

The separator is recognised as a comma, semicolon, tab or vertical bar. Quotation marks and line breaks are permitted within cells. Values are retained as text to prevent the loss of leading zeros; if you need numbers, convert them in your code.

Frequently asked questions

Frequently Asked Questions

Toggle this option off and the JSON will use numeric keys for each column.

Related tools

Other tools that can help with similar tasks.

More at Data→
Convert CSV to JSON online · ByTooly