A mock CSV generator builds downloadable CSV test data with the exact columns and row count you specify, drawing on realistic fake values. It is built for engineers testing import pipelines, ETL jobs, spreadsheet tooling, and database seeders who need clean, well-formed sample data fast.
How it works
You define a schema and the tool fills it:
- Add one column per field and choose its type (name, email, integer, decimal, boolean, date, city, company, UUID, and more).
- Set the row count.
- For each row, every column produces a fresh random value of its type. Numbers respect a sensible range, dates fall within a recent window, and UUIDs follow the version-4 format.
- The rows are serialized to CSV with proper RFC 4180 escaping: values containing a comma, quote, or newline are wrapped in double quotes and any internal quotes are doubled.
The result is shown as a preview and offered as a .csv download or a copy-to-clipboard block.
Tips and notes
- Keep column header names simple (letters, digits, underscores) so they map cleanly to database fields.
- For large datasets, prefer the download over the clipboard — the preview is capped for performance, but the file contains every requested row.
- All generation happens locally; no data leaves your browser, so it is safe for sensitive testing environments.