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.
- Paste your CSV or TSV text into the input box, or send output straight from another developer tool.
- 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.
- Headers and types control whether the first row supplies JSON object keys and whether numbers, booleans and
nullare 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:
- JSON (headers on, types on):
[{"item":"Pen","qty":4,"ok":true}] - Markdown table:
| item | qty | ok |with a separator row and aligned data rows, escaping literal pipe characters as\|. - SQL INSERT:
INSERT INTO data ("item", "qty", "ok") VALUES ('Pen', 4, TRUE);with single quotes inside strings doubled safely.
Turning headers off produces an array of arrays instead of objects and names generic columns column_1, column_2 and so on.
Delimiter guide
| Format | Separator | Typical source |
|---|---|---|
| Standard CSV | Comma (,) | US/UK spreadsheet exports, databases, APIs |
| European CSV | Semicolon (;) | Excel in locales that use decimal commas |
| TSV | Tab ( ) | Direct copy-paste from Excel or Google Sheets |
| Pipe-delimited | Pipe (|) | 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.
Last updated: November 14, 2026