Data · Tool

CSV Generator

Create CSV files with sample or custom data for importing into Excel, MySQL, PostgreSQL, and more — right in your browser.

Build your file
CSV preview 5 rows · 4 columns
Click any header or cell to edit · hover a header to remove the column

Why generate CSV data

Developers and analysts frequently need realistic sample data before real data exists — to test a database import, populate a demo, stress-test a script, or build a training dataset. Manually typing out rows of plausible names, emails, and numbers is tedious and error-prone; this tool generates structured CSV data instantly, in whatever shape you need.

Choosing your fields

You can typically generate common field types — names, emails, addresses, dates, numbers, booleans, and custom text patterns. A few tips:
Match your target schema exactly — column names should mirror what your database or import tool expects.
Generate more rows than you think you need — it's easier to test edge cases (duplicates, nulls, long strings) with a larger sample.
Use realistic ranges for numeric fields — random floats between 0–1,000,000 rarely resemble real-world data like prices or ages.

Where this fits into a workflow

Populating a test database before a migration
Building demo data for a client presentation
Feeding a script or pipeline you're debugging, without touching production data
Practicing SQL or spreadsheet skills with disposable data

FAQ

Can I import the output directly into MySQL or PostgreSQL?
Yes — the CSV format generated is standard and compatible with `LOAD DATA INFILE` (MySQL) or `COPY` (PostgreSQL), as well as Excel and Google Sheets.

Is the data actually random, or does it follow patterns?
Fields like names and emails are drawn from realistic pools rather than pure random strings, so the data resembles genuine records — useful for demos where "asdf123@test.com" would look obviously fake.

Done!