Sign in · Create account

Test-file generator · CSV / JSON / PDF / PNG / SVG / XML

Realistic test files, built to your schema.

Define the fields, pick a format, set the row count. Mockfile generates the file in your browser session against our generator — no signup wall, no ads, no watermark. The same seed always produces the same file, so fixtures are reproducible in CI.

1 · Schema

Field nameType
30 field types — full reference under the bench.
Same seed + same schema = same file, byte for byte (tabular formats).

2 · Output

Free: up to 1,000 rows, 10 files/day without an account.
Your preview appears here. Tabular formats preview the first rows; the download is the complete file.

Why teams keep Mockfile in the pipeline

Reproducible fixtures. Seeded generation means a failing test can be re-run against the exact file that failed — not a fresh random draw. Commit the seed, not the data.
Safe by construction. Emails end in example.test, phone numbers sit in the reserved 555 range, and card numbers are Luhn-valid test numbers that no processor will charge. Generated files cannot leak into production mail or billing by accident.
One API, every format. The generator below is the API. Anything the workbench does, the REST API does with your account key — CSV for spreadsheets, PDF for document pipelines, PNG/SVG for media handling, XML for the legacy system nobody is allowed to name.

Field types

TypeProduces
firstName / lastName / fullNameNames from a 60-name realistic pool
emailname-based address at example.test
phoneUS number, reserved 555 exchange
streetAddress / city / state / zipUS addresses (fictional streets)
company / jobTitlePlausible employers and roles
testCardLuhn-valid test card number — never chargeable
date / datetimeISO dates across 2023–2025
int / float / moneyBounded numeric values
uuid / ipv4 / semver / slug / urlIdentifiers and technical strings
word / sentence / paragraphLorem-free filler built from a real word pool
boolean / color / hexColorFlags and colors