Sample CSV & JSON Generator
Create test data files at any size — CSV with headers and rows, JSON arrays of records, or plain text. Useful for testing importers, parsers, and upload limits.
Testing an importer means having data to import, and hand-writing a thousand rows of CSV is nobody's idea of a good afternoon. This generates plausible records — names, emails, cities, amounts, dates — as CSV, JSON, or plain text, at exactly the file size you need.
How to generate sample data files
- Choose a format: CSV for tabular imports, JSON for API fixtures, plain text for anything else.
- Set a target size. Larger files simply contain more records.
- Generate four samples and inspect the filenames and sizes.
- Download the one you need.
The Sample CSV & JSON Generator runs entirely in your browser — nothing you enter is uploaded, stored, or logged.
When to use this tool
Testing a CSV importer
Importers behave differently on ten rows and ten thousand. Generating both sizes shows whether batching, progress reporting, and timeouts hold up.
Seeding fixtures for development
A JSON array of a few hundred records is enough to make a list view, pagination, and search feel realistic before a real API exists.
Checking upload and parse limits
A 10MB CSV is a very different proposition from a 10KB one for a browser-side parser. Having both makes the limits measurable rather than guessed.
Things worth knowing
- CSV output includes a header row, so it imports cleanly into spreadsheets and most database tools.
- JSON is pretty-printed, which makes it larger than minified output but far easier to read while debugging.
- Records use plausible values — real-looking names, emails, cities, and amounts — rather than repeated filler.
- Sizes are exact, because text formats can be trimmed to the byte.
Frequently Asked Questions
Is the data realistic?
Is the data realistic enough to test with?
How many rows will I get?
Can I choose the columns or fields?
Does the data contain anything real?
Related Tools
JSON Formatter & Validator
Format, validate, prettify, minify, and inspect JSON payloads with real-time error detection.
Sample File Generator
Generate dummy images, PDFs, Word files, CSV, JSON, and video at an exact file size for testing uploads.
Text Diff & Comparison Checker
Compare two text snippets side-by-side to highlight additions, deletions, and line-by-line differences.