Omnikit
DevFilesMoneyAll tools
Ctrl K
Dev toolsFile toolsMoney calculatorsAll tools
HomeDeveloper toolsMock Data Generator
EnglishالعربيةবাংলাDeutschEspañolFrançaisPolskiPortuguêsРусский

Mock Data Generator

dev

Rows of realistic test data as JSON, CSV, SQL or XML, the same every time from one seed

Runs in your browser. Nothing you type is sent anywhere. Checked against sources on 15 Oct 2026.

Test data that changes on every run makes a failing test impossible to repeat. Here the seed is part of the input, so the same seed gives the same rows for ever, up to 5,000 of them as JSON, CSV, SQL or XML. Every email address ends at example.com.

Next:
  • CSV to JSON Convert CSV to JSON and JSON to CSV, with a table preview
  • JSON to TypeScript Generate TypeScript interfaces or types from a JSON sample

How to generate mock data in JSON or CSV

1

Name each field and pick its type, such as Full name, Email or Date; press Add a field for more.

2

Set Rows to how many records you need.

3

Keep or change the Seed; the same seed always gives the same rows.

4

Choose JSON, CSV, SQL or XML under Save as, then press Copy or Download.

About Mock Data Generator

Mock Data Generator makes rows of believable test data in your browser: names, emails, phone numbers, Indian addresses with real PIN codes, companies, dates and timestamps, IP addresses, user agents, prices and more, written out as JSON, CSV, SQL INSERT statements or XML. You choose the fields, name each one, set how many rows you want, and copy or download the result.

What separates it from the others is the seed. Every generator of this kind gives you something different each time you press the button, which is the wrong behaviour for a test fixture: the run that failed cannot be repeated, and the data that caused it is gone. Here the seed is part of the input. The same seed and the same fields produce the same rows for ever, on any machine and in any browser, so a colleague who types the seed you used gets your file exactly. That also means a repository does not need a megabyte of sample data committed to it; the seed is enough to rebuild it.

The values are chosen to be safe to use. Email addresses all end at example.com, a domain reserved by RFC 2606 for documentation and testing, so a fixture loaded into the wrong environment cannot post to a real person. IP addresses come only from the RFC 5737 documentation blocks and URLs stay on example.com. An address pairs a real city, state and PIN with an invented house and street. Phone numbers follow the Indian mobile format but are random, so never dial one. Names are ordinary Indian first and last names, which is what most demos of an Indian product should show rather than the American placeholder names everything else produces.

Up to five thousand rows at a time. The CSV follows RFC 4180, so a value containing a comma or a quote is quoted and its quotes doubled. The SQL quotes names and text the way PostgreSQL or MySQL each expect, backslashes included.

Everything runs on your device. Nothing is uploaded, and there is no account to make.

Frequently asked questions

How do I generate mock data for testing?

Choose the fields you need, give each one a name, set how many rows and pick JSON or CSV. The rows appear straight away and you copy or download them. Keep the seed if you want the same data again later; change it for a different set.

Why does the same seed give the same data every time?

Because a fixture that changes on every run makes a failing test impossible to repeat. The seed feeds a small deterministic generator, so the same seed and fields give identical rows on any machine, and a colleague who types your seed rebuilds your file exactly.

Are the email addresses real?

No. Every address ends at example.com, a domain reserved by RFC 2606 for documentation and testing, so nothing can ever be delivered to a real person. Phone numbers are another matter: they follow the Indian format but are random, so never dial one.

How many rows can I generate at once?

Up to five thousand in one go, which covers a demo table, a seeded database or a load of fixtures. For more than that, run it again with a different seed and join the files; the browser stays responsive rather than freezing on a huge single run.

Will the CSV open correctly in Excel or Google Sheets?

Yes. The file follows RFC 4180: a value containing a comma, a quote or a line break is wrapped in quotes and its own quotes are doubled, which is what spreadsheets expect. The first line is the column headings you named.

Test data kaise banaye bina kisi signup ke?

Test data kaise banaye: fields chuniye, rows ki ginti daaliye, aur JSON ya CSV download kar lijiye. Koi account nahi chahiye aur kuch upload nahi hota, sab kuch aapke browser mein banta hai. Same seed dobara wahi rows deta hai.

Sources

  • India Post, Find Pincode (All India Pincode Directory)Every PIN code the Address and PIN fields give, with its city and state
  • Postal PIN code API (public mirror of the India Post directory), used to check each PINThe district and state of each listed PIN, checked one by one
  • RFC 5737, IPv4 Address Blocks Reserved for Documentation192.0.2.0/24, 198.51.100.0/24 and 203.0.113.0/24, the only IP addresses given
  • RFC 2606, Reserved Top Level DNS Namesexample.com, the only domain emails and URLs use
  • useragents.me, most common user agents (week to 11 Oct 2026)The user-agent strings, current browser versions only
  • Stripe, Test card numbersTest card numbers (with Razorpay's, through the Test Credit Card Numbers tool)
  • Razorpay, Test Card DetailsTest card numbers for Indian schemes

Last verified 15 October 2026.

Rates and rules change; check the source before you rely on a figure.

Still stuck? Ask about Mock Data Generator and anybody who knows can answer. No account needed.

Common uses

  • Dummy Data GeneratorFill a table, a spreadsheet or a demo screen with plausible rows
  • Random Name and Email GeneratorNames, emails and phone numbers that are safe to use in a demo
  • Fake Address Generator (India)Indian test addresses with a real city, state and PIN code, on streets that do not exist
  • Random IP Address GeneratorIPv4 addresses for logs and tests, drawn only from the ranges reserved for documentation
  • SQL Insert GeneratorINSERT statements full of test rows for PostgreSQL or MySQL, quoted correctly for each

Same job, other tools: GUID Generator – Generate GUIDs for .NET, SQL Server and Windows, in brace format · Nanoid Generator – Short random nanoid IDs with your own length and alphabet, and the collision odds · SHA-256 Generator – SHA-256 hash of any text or file, in hex or Base64 · Cron Expression Generator – Generate a cron expression by choosing when the job should run.

On the related tools: Sitemap Index Generator – Split a large site into numbered sitemaps with an index file.

Also works as: Fake JSON Generator · Test Data Generator.

Open it set for: Random User Agent Generator · Random Date Generator.

Read about this

All guides
  • Test data that cannot reach a real person, built safe on purposeWhy fixtures use example.com, RFC 5737 IP ranges, gateway test cards and seeds, and the one gap: a random Indian phone number may belong to someone.

Related tools

All developer tools
UUID GeneratorRandom v4 and time-ordered v7 UUIDs, up to 1,000 at once, plus a validatorHash GeneratorMD5, SHA-1, SHA-256, SHA-384 and SHA-512 of text or files, with checksum compareCron Expression BuilderBuild a cron schedule from menus, read it in plain English, see the next runsSlug GeneratorClean URL slugs from titles, including accented and Hindi text, one or hundreds at onceMeta Tag GeneratorWrite title, description, canonical, Open Graph and Twitter tags with a live previewRobots.txt GeneratorBuild a robots.txt with presets, then check what every line really doesSitemap GeneratorTurn a list of URLs into a valid sitemap.xml, with an index when it gets too bigUTM BuilderBuild campaign links with source, medium and campaign, then export the lot as CSV

In the collection Test Data Generators.

Was this tool helpful?
Omnikit

Small jobs, done in your browser. Free, fast and private. Files are never uploaded.

Files

  • Compress Image
  • Image to PDF
  • Merge PDF
  • Compress PDF
  • PDF to Word
  • Word to PDF

Dev

  • JSON Formatter & Validator
  • Base64 Encode & Decode
  • JWT Decoder, Verifier & Encoder
  • Password Generator
  • UUID Generator
  • Unix Timestamp Converter

Money

  • SIP Calculator
  • EMI Calculator
  • GST Calculator
  • FD Calculator
  • PPF Calculator
  • Lumpsum Calculator
EnglishالعربيةবাংলাDeutschEspañolFrançaisPolskiPortuguêsРусский
GuidesQuestionsAboutHow we checkLaw library (beta)PrivacyTermsDisclosureContactMore: Exam practice (UGC NET Paper 1)Runs in your browser. Nothing is uploaded. © 2026 Omnikit (theomnikit.com)