CSV to JSON Converter

CSV to JSON Converter

Paste CSV or TSV text to turn it into formatted JSON, a clean Markdown table and SQL INSERT statements at once. Delimiters and numeric/boolean values are detected automatically, and your data never leaves the browser.

JSON format
  • JSON output

    [ { "name": "Ada Lovelace", "role": "Engineer", "rate": 95, "active": true }, { "name": "Alan Turing", "role": "Analyst", "rate": 88.5, "active": true }, { "name": "Grace Hopper", "role": "Architect", "rate": 105, "active": false } ]

  • Markdown table

    | name | role | rate | active | | --- | --- | --- | --- | | Ada Lovelace | Engineer | 95 | true | | Alan Turing | Analyst | 88.5 | true | | Grace Hopper | Architect | 105 | false |

  • SQL INSERT

    INSERT INTO data ("name", "role", "rate", "active") VALUES ('Ada Lovelace', 'Engineer', 95, TRUE); INSERT INTO data ("name", "role", "rate", "active") VALUES ('Alan Turing', 'Analyst', 88.5, TRUE); INSERT INTO data ("name", "role", "rate", "active") VALUES ('Grace Hopper', 'Architect', 105, FALSE);

Rows3
Columns4
DelimiterComma (,)

Parsed locally in your browser — nothing was uploaded.

Parsed table preview
namerolerateactive
Ada LovelaceEngineer95true
Alan TuringAnalyst88.5true
Grace HopperArchitect105false

Calculated on your device · formulas checked against known results · How we test

Convert CSV or TSV to JSON, Markdown and SQL

Paste spreadsheet exports, semicolon-delimited European CSV files or tab-separated data from Excel and Google Sheets. The converter automatically detects the delimiter, honors quoted fields and embedded commas, and outputs formatted JSON, a GitHub-ready Markdown table and escaped SQL INSERT statements at the same time — plus a scrollable table preview and direct file downloads.

  1. Paste your CSV or TSV text into the input box, or send output straight from another developer tool.
  2. Delimiter defaults to Auto-detect, which inspects the first non-empty line outside quotes for commas, tabs, semicolons and pipes. Override it anytime if a header contains punctuation.
  3. Headers and types control whether the first row supplies JSON object keys and whether numbers, booleans and null are converted to native types.

How type conversion works

With type conversion enabled, numeric fields such as 95 or 88.5 become JSON numbers instead of quoted strings, while true, false and null become native JSON values. Empty cells remain empty strings in JSON and become NULL in generated SQL INSERT statements. Turn type conversion off when leading zeros (such as ZIP codes, phone numbers or SKU codes like 00412) must stay strings.

Worked example

Given the CSV header item,qty,ok and row Pen,4,true:

Turning headers off produces an array of arrays instead of objects and names generic columns column_1, column_2 and so on.

Delimiter guide

FormatSeparatorTypical source
Standard CSVComma (,)US/UK spreadsheet exports, databases, APIs
European CSVSemicolon (;)Excel in locales that use decimal commas
TSVTab ( )Direct copy-paste from Excel or Google Sheets
Pipe-delimitedPipe (|)Log dumps and mainframe/ERP extracts

Private browser processing

All RFC 4180 parsing, JSON serialization and file downloads happen inside your browser with zero server uploads, making it safe for internal exports, financial logs and customer lists. Need the reverse conversion? Use JSON to CSV, inspect nested payloads in the JSON Formatter or compare two exports with the Diff Checker.

Frequently asked questions

Does this handle commas and line breaks inside quotes?

Yes. Fields wrapped in double quotes keep commas and multi-line text intact, and doubled quotes ("") inside a quoted cell are unescaped to a single quote.

How are European semicolon CSVs handled?

Auto-detect counts unquoted commas, tabs, semicolons and pipes in the first non-empty row and selects the active separator automatically.

How do I keep leading zeros on ZIP codes or IDs?

Uncheck "Convert numbers, booleans and null" so every cell stays a text string in the JSON output.

Is my spreadsheet data uploaded?

No. All parsing, JSON formatting and file downloads run locally in your browser memory.

Embed this calculator on your website

Free for any website or blog. Paste this code where you want the calculator to appear:

All free calculator widgets

Last updated: November 14, 2026

Menu

Categories

Finance Calculators34 calculatorsBusiness & Shopping Calculators10 calculatorsHealth & Fitness Calculators16 calculatorsMath & School Calculators38 calculatorsDate & Time Calculators25 calculatorsHoliday Countdowns17 calculatorsEveryday Tools64 calculatorsMic, Camera & Sound Tools13 calculatorsDeveloper Tools14 calculatorsImage & PDF Tools32 calculatorsEngineering Calculators43 calculators

CalcWorthy

AboutContactPrivacy PolicyTerms of Use

Language

Language
EnglishEnglishالعربيةArabicবাংলাBanglaDeutschGermanEspañolSpanishفارسیPersianFrançaisFrenchעבריתHebrewहिन्दीHindiBahasa IndonesiaIndonesianItalianoItalian日本語Japanese한국어KoreanBahasa MelayuMalayNederlandsDutchPolskiPolishPortuguêsPortugueseРусскийRussianไทยThaiTürkçeTurkishУкраїнськаUkrainianاردوUrduTiếng ViệtVietnamese简体中文Simplified Chinese