Skip to main content
L
Loopaloo
Buy Us a Coffee
All ToolsImage ProcessingAudio ProcessingVideo ProcessingDocument & TextPDF ToolsCSV & Data AnalysisConverters & EncodersWeb ToolsMath & ScienceGames
Guides & BlogAboutContact
Buy Us a Coffee
L
Loopaloo

Free online tools for developers, designers, and content creators. Your files are processed in your browser and are never uploaded - no accounts required. A few network utilities (like What's My IP and Currency Converter) call public APIs to do their job and say so on their pages.

support@loopaloo.com

Tool Categories

  • Image Tools
  • Audio Tools
  • Video Tools
  • Document & Text
  • PDF Tools
  • CSV & Data
  • Converters
  • Web Tools
  • Math & Science
  • Games

Company

  • About Us
  • Contact
  • Blog
  • FAQ

Legal

  • Privacy Policy
  • Terms of Service
  • Disclaimer

Support

Buy Us a Coffee

© 2026 Loopaloo. All rights reserved. Built with privacy in mind.

Privacy|Terms|Disclaimer
  1. Home
  2. Web Tools
  3. Mock Data Generator
Add to favorites

Mock Data Generator

Generate realistic test data as JSON, CSV or SQL: valid card numbers and IBANs, safe example e-mails, and a seed that brings the same rows back.

Runs locally in your browserMore web toolsJump to full guide
Related readingMock Data Generation: Building Realistic Test Data for Development11 min

Initializing in your browser…

You might also like

Password Generator

Make random passwords in one click, with the strength in bits calculated from the settings and the time each would take to guess.

CSS Box Shadow Generator

Design layered CSS box shadows with live preview on light or dark, twelve presets, inset shadows, and a box-shadow line to copy.

CSS Border Radius Generator

Round each corner in px or percent, make elliptical blob shapes, and see the radius the browser really draws before copying the CSS.

Mock Data Generator: a worked example

Your frontend needs a few user records before the API exists, and your payment form rejects anything that fails the card checks. Choose Full Name, Email, UUID v7, Credit Card and IBAN, set the rows to 3 and the seed to demo.

Fields and seed

Full Name, Email, UUID v7, Credit Card, IBAN   rows: 3   seed: demo
What Mock Data Generator produces

Generated JSON

[
  {
    "fullName": "William Robinson",
    "email": "williamrobinson@example.net",
    "uuidV7": "018bd030-aab0-7c72-a864-0806eedb5d5c",
    "creditCard": "6456 8676 7861 6846",
    "iban": "GB64 NJKH 1433 5173 9129 50"
  },
  {
    "fullName": "Jessica Moore",
    "email": "jessicamoore@example.com",
    "uuidV7": "018bd285-2faa-707a-8532-7f2fcd844a75",
    "creditCard": "5286 7398 8285 0651",
    "iban": "AT67 7297 2185 7236 6169"
  },
  {
    "fullName": "Linda Taylor",
    "email": "linda87@example.com",
    "uuidV7": "018bd548-e190-7a0c-a171-89b399d4c553",
    "creditCard": "3054 6548 2172 86",
    "iban": "ES80 8652 2240 2208 0393 6531"
  }
]

Every value can be checked, and the page checks it: 3 of 3 for the e-mails, UUIDs, cards and IBANs. 6456 8676 7861 6846 is a Discover number, sixteen digits with a 645 prefix and a correct Luhn digit; 3054 6548 2172 86 has fourteen digits because that is the Diners Club length. GB64 NJKH 1433 5173 9129 50 has the 22 characters a UK IBAN needs and passes the MOD 97 check. The e-mails are at reserved example domains. Open the same settings anywhere and these exact rows come back; change the seed for a different, equally valid set.

About the Mock Data Generator

Pick the fields you need and get realistic fake records straight away, as JSON, NDJSON, CSV or SQL. Card numbers pass the Luhn check, IBANs pass their checksum, e-mail addresses and phone numbers come from ranges reserved for examples, and a seed brings back exactly the same data whenever you need it.

Key features

  • Thirty field types across names, contact, address, IDs, finance, network and text
  • Card numbers with a valid Luhn digit at real network prefixes and lengths
  • IBANs with a valid checksum at each country's length, and valid ISBN-13s
  • UUID v4 and v7, dates and Unix timestamps
  • Reserved e-mail domains, phone numbers and IP ranges that reach nobody
  • Consistent rows: city, state and ZIP code agree
  • A seed for identical data from a shared link
  • JSON, NDJSON, CSV and SQL output with copy and download
  • Every value checked against its definition, with the count shown

How to use

  1. 1Choose the fields you want; hover over one to see what makes its values valid.
  2. 2Set the number of rows with the slider or type it, up to 1,000.
  3. 3Keep the seed for repeatable data, roll a new one, or clear it for fresh random data.
  4. 4Pick JSON, NDJSON, CSV or SQL.
  5. 5Copy or download the output, and check the panel below it for the validation counts.

Test data that holds up

Values that pass real checks. Fake data is only useful if it gets past the same validation as real data. Credit card numbers carry a correct Luhn check digit at a prefix and length the card network actually issues, so an American Express number has fifteen digits and a Visa number starts with 4. IBANs have the right length for their country and pass the MOD 97 checksum. ISBN-13s have a valid check digit, UUIDs have the right version bits (v4 is random, v7 sorts by creation time), and dates are valid calendar days. After every run the tool checks each value against its definition and shows the count, such as 300 of 300.

Data that cannot reach anyone. E-mail addresses use example.com, example.net and example.org, which are reserved so that no real person can receive a message sent to them. Phone numbers sit in 555-0100 to 555-0199, the North American block set aside for fiction, and IP addresses come from the ranges reserved for documentation. A test that accidentally sends mail or makes a call goes nowhere.

Rows that agree with themselves. Within a row, the city, state and ZIP code are the same place, the full name matches the first and last name, and the e-mail and username are built from that name. ZIP codes keep their leading zeros, so New England addresses come out right.

A seed for repeatable data. The same seed always produces the same rows, and the seed is part of the page link. Share the link, and a colleague sees the identical dataset; re-run a failing test against exactly the data it failed on. Leave the seed empty to draw fresh random data each time.

Formats. JSON for APIs and test files, NDJSON for streaming and log tools, CSV that opens cleanly in spreadsheets, and SQL INSERT statements with safe quoting. Up to 1,000 rows at a time, all generated in your browser.

Examples

  • Test data for a payment form

    Choose Credit Card and IBAN and generate 200 rows. Every number passes the checks a payment form runs first, so the data tests your form rather than tripping over bad data.

  • A shared demo dataset

    Choose name, e-mail, city and job title, set the seed to your project name and share the link. Everyone who opens it gets the same hundred users.

  • Seeding a database

    Pick SQL, choose your columns and paste the INSERT statements into a local database to try a schema with realistic rows.

Tips & best practices

  • Write the seed into your test file, so anyone can regenerate the same data from the link.
  • Use UUID v7 for primary keys you want to sort by creation time.
  • Use NDJSON when a tool reads one record per line, such as a log pipeline or a bulk import.
  • Generate a small sample first to check the columns, then raise the row count.

Frequently asked questions

Are the credit card numbers real?

No. They are structurally valid, with a real network prefix, the right length and a correct check digit, but no account exists behind them. They pass a form's format check and are declined by any payment processor.

Why do the e-mail addresses end in example.com?

The example.com, example.net and example.org domains are reserved for documentation and testing, so a message sent to one of these addresses cannot reach a real person.

What does the seed do?

It makes the data repeatable. The same seed, fields and row count always give the same rows, on any device. Clear the seed and each run draws new random data that cannot be reproduced.

Can I choose a country or language?

Not at present. Names, cities, companies, addresses and phone numbers follow US and English conventions. IBANs come from several European countries.

How many rows can I generate?

Up to 1,000 at a time. Generation happens in your browser and takes a fraction of a second; for more rows, generate several batches with different seeds.

Is the SQL safe to run?

The INSERT statements quote every name and value, doubling any quote inside a value, so the generated text cannot break out of its string. Check the table name and column types match your schema before running it.

Related tools and how they differ

  • UUID Generator: Generates UUIDs on their own, in more versions and in bulk.
  • JSON Formatter & Validator: Formats and checks the JSON output before you paste it into a test data file.
  • CSV Viewer & Editor: Opens the CSV output as a table to check it by eye.

Further reading

  • Mock Data Generation: Building Realistic Test Data for Development11 min read

Private by design

This runs as client-side JavaScript. Keys, tokens, payloads, and other inputs never leave your device.