Language
English English Vietnamese (Tiếng Việt) Vietnamese (Tiếng Việt) Chinese (简体中文) Chinese (简体中文) Portuguese (Brazil) (Português do Brasil) Portuguese (Brazil) (Português do Brasil) Spanish (Español) Spanish (Español) Indonesian (Bahasa Indonesia) Indonesian (Bahasa Indonesia)
Mock Data Generator

Mock Data Generator

Generate realistic fake data for testing — names, emails, phones, addresses, and 30+ data types with multi-locale support.

What is Mock Data Generator?

Mock Data Generator is a powerful developer tool that creates realistic fake data for testing, prototyping, and development. Whether you need sample users for a database, product listings for a UI mockup, or test records for an API, this tool generates it instantly in your browser.

Why Use Mock Data?

Working with real data during development is often impractical or risky. Mock data solves this by providing:

Realistic Test Records

Names, emails, and addresses that look authentic and match real-world patterns

Consistent Schemas

Define your data structure once, generate as many rows as you need

Multi-Locale Support

Generate data matching different countries and languages

Multiple Export Formats

JSON, CSV, SQL INSERT, and TSV ready for your workflow

Who Is This For?

Frontend Developers

Building UI components with realistic placeholder data

Backend Developers

Seeding databases for testing and development

QA Engineers

Creating test datasets with specific patterns

Designers

Filling prototypes with authentic-looking content

Your Data Stays Private

100% Client-Side Processing: All data generation happens entirely in your browser. No server processing, no uploads, no tracking.
  • No server processing — Data is generated client-side using JavaScript
  • No uploads — Nothing leaves your device
  • No tracking — We don't collect or store any generated data

How to Use Mock Data Generator

1

Define Your Schema

Start with a preset or build your own schema from scratch:

  • Select a preset (User Profile, Product, Blog Post, Order, or Employee) to load a pre-configured schema
  • Or click Add Field to create custom fields
  • For each field, set the name (column header) and type (data format)
  • Drag fields to reorder them as needed
2

Configure Options

  • Set the number of rows to generate (1–500)
  • Choose a locale to match the target country's naming conventions, phone formats, and cities
  • For Number and Float types, click the settings icon to set min/max values
  • For Custom List type, enter your own comma-separated values
3

Generate & Export

  • Click Generate to create the mock data
  • Review the data in the preview table
  • Click Copy to copy as JSON to your clipboard
  • Or click Export to download as JSON, CSV, SQL INSERT, or TSV

Available Data Types

Choose from over 30 data types to build your schema:

Identity Data Types

  • ID (auto-increment)
  • UUID
  • Full Name
  • First Name
  • Last Name
  • Username
  • Email
  • Password
  • Avatar URL

Contact Data Types

  • Phone
  • Street Address
  • City
  • Country
  • Zip Code

Business Data Types

  • Company
  • Job Title
  • Department
  • Product Name
  • Price
  • Category
  • Status

Data Types

  • Number
  • Float
  • Boolean
  • Date
  • Date Time
  • URL
  • IPv4
  • Hex Color

Text Data Types

  • Word
  • Sentence (Lorem)
  • Paragraph (Lorem)
  • Custom List

Features

Schema Builder

Build your data structure visually. Add, remove, and reorder fields with drag-and-drop. Each field has a customizable name and one of 30+ data types. The schema updates your preview instantly.

Pro Tip: Use drag-and-drop to reorder fields and match your database schema exactly. The preview table updates in real-time as you make changes.

Built-in Presets

Start quickly with five pre-configured schemas designed for common use cases:

User Profile

ID, name, email, phone, avatar, address, city, country

Product

ID, name, price, category, description, stock status, creation date

Blog Post

ID, title, author, content, publish date, status, view count

Order

UUID, customer, email, product, quantity, total, status, order date

Employee

ID, name, email, department, job title, phone, hire date

Multi-Locale Support

Generate data that matches real-world naming conventions. Each locale provides culturally appropriate names, phone number formats, city names, and address styles.

English

US/UK naming conventions

Vietnamese

Vietnamese names & addresses

Japanese

Japanese naming patterns

Korean

Korean name formats

French

French conventions

German

German naming styles

Spanish

Spanish formats

Chinese

Chinese conventions

Configurable Field Options

Fine-tune specific data types with inline options:

Number / Float

Range Control

  • Set minimum value
  • Set maximum value
  • Generate within bounds
Custom List

Your Own Values

  • Define comma-separated list
  • Random selection
  • Unlimited options

Live Preview Table

See your generated data immediately in a scrollable table with sticky headers. Numeric values are highlighted in color, and boolean values show green (true) or red (false) for quick visual scanning.

Multiple Export Formats

Export your data in the format that fits your workflow:

JSON

Array of objects, ready for API mocking or JavaScript imports

CSV

Comma-separated values for spreadsheets and data tools

SQL INSERT

Ready-to-run INSERT statements for database seeding

TSV

Tab-separated values for clipboard pasting into tables

Frequently Asked Questions

How many rows can I generate at once?

You can generate between 1 and 500 rows per batch. For larger datasets, generate multiple batches and combine them in your target format.

Is the generated data truly random?

Yes, each generation creates fresh random data. Names, emails, and other values are randomly selected from curated data pools for each locale. No two generations produce identical results.

Can I create custom data types?

Use the Custom List type to define your own set of values. Enter comma-separated options (e.g., "red, green, blue") and the generator will randomly pick from your list.

Does changing the locale affect all fields?

The locale affects locale-sensitive fields: Full Name, First Name, Last Name, Email, Username, Phone, Street Address, and City. Other types like UUID, Number, Boolean, and Date are locale-independent.

Can I use the SQL output directly in my database?

The SQL INSERT output uses standard syntax with backtick-quoted column names and properly escaped string values. The default table name is mock_data — update it to match your table name before executing.

Important: Always review and test SQL statements in a development environment before running in production.

Is my data sent to any server?

No. All data generation happens entirely in your browser using JavaScript. Nothing is uploaded, stored, or transmitted to any server.

  • 100% client-side processing
  • No data collection
  • Complete privacy

What browsers are supported?

Mock Data Generator works in all modern browsers including Chrome, Firefox, Safari, and Edge. It uses standard JavaScript APIs and requires no plugins or extensions.

Schema
Preview
Choose a preset to quickly load a common data schema
Change the locale to generate names, phones, and addresses matching different countries
Use Custom List type to create fields with your own set of values (comma-separated)
Set min/max options on Number fields to control the value range
Drag fields to reorder columns in the output
Export as SQL INSERT for quick database seeding
All data is generated in your browser — nothing is sent to a server
Want to learn more? Read documentation →
1/8
Start typing to search...
Searching...
No results found
Try searching with different keywords