100% free forever · No sign-up or account, ever · We store none of your data · Files never leave your deviceFree forever · No account, ever · No data stored
💻 Dev tools

CSV to SQL

CREATE TABLE + INSERT statements from CSV.

Free foreverNo account, everNo data stored

CSV to SQL · SaralKit ↗

Guide & FAQ

Turn a CSV into SQL: a CREATE TABLE with guessed column types and batched INSERT statements for PostgreSQL, MySQL, SQLite or SQL Server. Free.

🆓 Free forever👤 No account, ever🔒 No data stored🔒 Runs on your device⚡ Instant🆓 No limits

Example

Input
name,branch,cgpa,city
Asha Verma,CSE,8.9,Pune
Ravi Kumar,ECE,7.6,Delhi
"Sharma, Neha",ME,8.1,Jaipur
Arjun Rao,CSE,9.2,Hyderabad
Result
CREATE TABLE "students" (
  "name" VARCHAR(16),
  "branch" VARCHAR(16),
  "cgpa" DECIMAL(18,4),
  "city" VARCHAR(16)
);

INSERT INTO "students" ("name", "branch", "cgpa", "city") VALUES
  ('Asha Verma', 'CSE', 8.9, 'Pune'),
  ('Ravi Kumar', 'ECE', 7.6, 'Delhi'),
  ('Sharma, Neha', 'ME', 8.1, 'Jaipur'),
  ('Arjun Rao', 'CSE', 9.2, 'Hyderabad');

How to use the CSV to SQL tool

  1. Paste or type your text in the box (or open a file).
  2. Pick the options you need. The result updates as you type.
  3. Copy or download the result.

Why SaralKit?

  • Free forever: no "credits", no trial, no premium tier, no watermark and no daily limit.
  • No account, ever: nothing to sign up for. Just open the page and use it.
  • No data stored: your files and the numbers you type are processed by your own browser. We never upload, store or see them.
  • Works offline: once the page has loaded, most tools keep working without internet.
  • Check it yourself: open your browser's Network tab while you use a tool. Your file is never sent.

Frequently asked questions

Is my data uploaded?

No. Everything runs in your browser; your data never leaves your device.

Is my text sent anywhere?

No. It is processed by your browser on your own device and never uploaded or stored.

Esc