- Developer tools
- CSV & JSON to SQL INSERT
CSV and JSON to SQL INSERT generator
Turn a CSV export or JSON array into ready-to-run, batched INSERT INTO statements for PostgreSQL, MySQL, SQLite or SQL Server — without uploading company data to an online converter.
Free in your browser — no sign-up. Install from the Microsoft Store to use it offline on Windows 10 and 11.
How to use it
- Open the SQL INSERT Generator and paste a CSV file or JSON array of objects.
- Set your target table name, SQL dialect, and batch size (rows per INSERT statement).
- Copy the generated SQL script or download it as a
.sqlfile.
Example
id,name,email
1,Ada Lovelace,ada@example.com
2,Grace Hopper,grace@example.comINSERT INTO "users" ("id", "name", "email") VALUES
(1, 'Ada Lovelace', 'ada@example.com'),
(2, 'Grace Hopper', 'grace@example.com');Features
- CSV and JSON input — auto-detects headers, numbers, booleans, and empty/NULL cells. PRO
- Four SQL dialects — PostgreSQL, MySQL, SQLite, and SQL Server identifier quoting.
- Configurable batching — group hundreds of rows per
INSERTstatement for fast imports.
Frequently asked questions
Are my CSV or JSON rows uploaded anywhere?
No. Parsing and SQL generation happen locally on your device.
How are single quotes escaped?
Single quotes inside text values are doubled ('') according to standard SQL rules so strings never break the statement.
Related tools
One workspace for all of it
CSV & JSON to SQL INSERT is one of 18 developer tools in CodeForge — alongside a JSON formatter, JWT decoder, regex tester, UUID and hash generators, and more. Press Ctrl+K to jump to any of them.
Free in your browser — no sign-up. Install from the Microsoft Store to use it offline on Windows 10 and 11.