NinjaFunction (Ninja Function) logo

Mock Data Generator

Generate customizable sample data including names, emails, addresses, phone numbers, products, prices.



About This Tool

NinjaFunction's Mock Data Generator is a free online tool that instantly creates realistic test data for developers and QA teams. Generate customizable sample data including names, emails, addresses, phone numbers, products, prices, and more in JSON, CSV, XML, or HTML formats. With options to produce up to 100 records at once, our tool helps streamline your development workflow by providing perfectly formatted test data for applications, databases, and API testing. Features include one-click copying, instant downloads, and complete field customization without registration or limits. Whether you're populating a demo database, testing application logic, or building prototype UIs, this tool delivers clean, realistic data in seconds with developer-friendly output. Simple, powerful, and completely free - create your mock datasets today and accelerate your development process.

πŸ”‘ How to Use

πŸ”Ή Step 1: Select Your Fields

Select what kind of data you want:

  • Name
  • Phone
  • Email
  • Street Address
  • Etc.

πŸ”Ή Step 2: Choose Number of Records

Enter how many records you want (1-5000) in the number field

πŸ”Ή Step 3: Select Output Format

Pick your preferred format:

  • JSON β†’ for APIs/web apps
  • CSV β†’ for spreadsheets/databases
  • XML β†’ for legacy systems
  • HTML β†’ for web displays

πŸ”Ή Generate Data

Click the"Generate Data" button. Instantly creates realistic mock data in your selected format

πŸ”Ή Copy or Download

Click the"Copy" to save to clipboard (paste into your code/editor).

Click the"Download" to save as a file (automatically uses correct file extension).

πŸ’‘ Pro Tips

  • βœ” Re-generate to get different randomized data
  • βœ” Combine multiple fields (e.g., name + email + product) for complete test records
  • βœ” Change formats after generation to instantly convert your data

What Is Mock Data Used For?

Mock data is made-up information that looks real. It lets you build and test software without using real customer records, which protects privacy and saves time.

  • Prototyping interfaces: fill tables, lists and forms so a design looks realistic before the backend exists.
  • Testing APIs: send sample requests and check how your code handles many records.
  • Seeding databases: load test records into a development or staging database.
  • Demos and screenshots: show your product without exposing real people's details.
  • Performance testing: generate thousands of rows to see how a page or query behaves with more data.

Which Output Format Should I Choose?

FormatBest for
JSONAPIs, JavaScript and web apps, and NoSQL databases such as MongoDB.
CSVSpreadsheets such as Excel and Google Sheets, and importing into SQL databases.
XMLOlder systems, SOAP services and configuration files.
HTMLQuickly displaying the data as a table on a web page.

Good to Know

  • All data is randomly generated, so names, emails and phone numbers are not real people's details. A generated email may still happen to match a real address, so never send messages to generated addresses.
  • Each time you click Generate Data you get a different set of records, so save or download data you want to reuse.
  • You can generate between 1 and 5,000 records at a time. For larger test sets, generate several batches.

Frequently Asked Questions

Is the generated data real?

No. Every record is randomly created from sample lists of names, streets, products and numbers. It is meant for testing and demos, not for any real person or business.

What kinds of data can I generate?

You can choose from fields such as name, phone, email, street address, postal or ZIP code, region, country, word, number, currency, alphanumeric code, product, quantity, price, date, batch number and a random list.

How many records can I generate at once?

Between 1 and 5,000 records per run. If you need more, generate several batches and combine them.

Can I switch format after generating data?

Yes. Change the output format after generating and the same data is shown as JSON, CSV, XML or HTML, so you can compare formats without creating new records.

Is my data sent to a server?

No. The data is generated in your browser, so nothing you select or generate is uploaded.

Can I get the same data again?

No. Each click on Generate Data produces new random values. Copy or download the results if you want to keep a particular set.

Always FreeAll tools are 100% free to use.
No Sign UpNo registration or login required.
Blazing FastInstant results, always.