Free CSV Converter & Toolkit

100% Private Β· No Uploads Β· No Account

Convert CSV to JSON, SQL INSERT statements, or a live table preview β€” and turn JSON arrays back to CSV. Auto-detects delimiters, infers data types, and runs entirely in your browser.

CSV Input

JSON Β· SQL Β· Table

Paste valid CSV on the left to convert it here

When You Need a CSV Converter

Importing Data Into a Database

Turn a CSV export from Excel, Google Sheets, or any BI tool into ready-to-run SQL INSERT statements. Column types are inferred automatically β€” INTEGER, DECIMAL, BOOLEAN, or VARCHAR β€” so you get clean, typed rows on the first try.

Feeding Data Into a REST API

APIs expect JSON. Paste a CSV and get a typed JSON array instantly β€” numbers stay numbers, true/false becomes a boolean, and null fields are recognized. No manual conversion scripts needed.

Reviewing Sensitive Exports

Financial exports, HR data, or medical records should never leave your device. Because this tool runs 100% in your browser, nothing is uploaded or logged β€” you can safely inspect sensitive CSV files without risk.

Normalising API Output to CSV

Got a JSON API response you need in a spreadsheet? Paste the array and download a clean CSV in one click β€” header row included, all values flattened to strings for maximum compatibility.

Frequently Asked Questions

Does my CSV or JSON get sent to a server?

No. Everything runs in your browser using JavaScript. Your data is never uploaded, transmitted, or logged β€” it stays entirely on your device.

What delimiters does the CSV parser support?

Comma (,), tab (\t), semicolon (;), and pipe (|). The tool auto-detects the most likely delimiter from the first line of your input, or you can select one manually from the dropdown.

How are values typed in the JSON output?

Numbers, booleans (true/false), and null are automatically typed. Everything else becomes a JSON string. The original string value is preserved for fields that do not clearly match a typed pattern.

What SQL dialect does the SQL output use?

The output uses standard ANSI SQL with double-quoted identifiers, which is compatible with PostgreSQL, MySQL (with ANSI mode), SQLite, and most other databases. Column types are inferred: INTEGER, DECIMAL, BOOLEAN, VARCHAR(255), or TEXT.

Does the tool support quoted fields with commas or newlines inside them?

Yes. The parser is RFC 4180 compliant β€” it correctly handles fields enclosed in double quotes, fields containing the delimiter character, fields containing line breaks, and escaped double quotes (written as "" inside a quoted field).

What JSON format does the JSON β†’ CSV converter accept?

It accepts a JSON array of objects (the most common API response format) or a JSON array of arrays. The first item determines the format. An array of objects produces a header row from the keys; an array of arrays is output as-is with no header.

Is there a row limit for the conversion?

No row limit for JSON or SQL output β€” all rows are converted. The Table preview shows up to 500 rows for performance, with a notice if your file is larger.