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 name | Type | |
|---|---|---|
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
| Type | Produces |
|---|---|
| firstName / lastName / fullName | Names from a 60-name realistic pool |
| name-based address at example.test | |
| phone | US number, reserved 555 exchange |
| streetAddress / city / state / zip | US addresses (fictional streets) |
| company / jobTitle | Plausible employers and roles |
| testCard | Luhn-valid test card number — never chargeable |
| date / datetime | ISO dates across 2023–2025 |
| int / float / money | Bounded numeric values |
| uuid / ipv4 / semver / slug / url | Identifiers and technical strings |
| word / sentence / paragraph | Lorem-free filler built from a real word pool |
| boolean / color / hexColor | Flags and colors |