Test Data Generator

Airline
Module to generate airline and airport related data.
Animal
Module to generate animal related entries.
Book
Module to generate book related entries.
Color
Module to generate colors.
Commerce
Module to generate commerce and product related entries.
Company
Module to generate company related entries.
Database
Module to generate database related entries.
Date
Module to generate dates.
Finance
Module to generate finance and money related entries.
Food
Module for generating food-related data.
Git
Module to generate git related entries.
Hacker
Module to generate hacker/IT words and phrases.
Image
Module to generate images.
Internet
Module to generate internet related entries.
Location
Module to generate addresses and locations. Prior to Faker 8.0.0, this module was known as `faker.address`.
Lorem
Module to generate random texts and words.
Music
Module to generate music related entries.
Person
Module to generate people's personal information such as names and job titles. Prior to Faker 8.0.0, this module was known as `faker.name`.
Phone
Module to generate phone-related data.
Science
Module to generate science related entries.
System
Generates fake data for many computer systems properties.
Vehicle
Module to generate vehicle related entries.
Word
Module to return various types of words.
Overview
Generated by AI

Faker.js-based test data generation tool providing dozens of categories including names, addresses, emails, phone numbers, dates, finance, and internet with random data, quickly generating test samples to accelerate development and testing workflows.

Features

Rich Data Types

Built-in over 20 data modules covering 200+ data generators:

  • Personal Information: Name, gender, age, birthday, blood type
  • Contact Methods: Phone, email, social accounts, username
  • Geographic Location: Country, city, address, postal code, coordinates
  • Company Information: Company name, department, position, slogan
  • Financial Data: Bank account, credit card, currency, transaction amount
  • Internet: Domain, IP address, URL, user agent, color code
  • Date Time: Past/future dates, timestamps, weekdays, months
  • Product Information: Product name, department, price, barcode

Batch Generation

Single generation of 1-100 random data entries, each independently generated ensuring diversity. Suitable for quickly populating databases, creating test cases, simulating user behaviors, and other scenarios.

Real-time Preview

Instant generation after selecting data type and quantity, results display in real-time in right panel, can copy directly for use. No page refresh needed, automatically regenerates after parameter adjustment.

Supports keyword search for data types, quickly locating needed generators. Can search module names, descriptions, and subtypes, improving efficiency.

How to Use

Basic Process

  1. Enter keywords in search box (optional)
  2. Click to select data type module (such as Person, Internet, Finance)
  3. Select specific data generator from subtype list
  4. Set generation quantity (1-100)
  5. View generated data in right result panel
  6. Click copy icon to copy all results with one click

Data Type Examples

Person (Personal Information)

  • firstName: John
  • lastName: Doe
  • fullName: John Doe
  • gender: male
  • jobTitle: Software Engineer

Internet

Finance

  • accountNumber: 1234567890
  • amount: 1234.56
  • currencyCode: USD
  • creditCardNumber: 4532-1234-5678-9012
  • iban: GB82WEST12345698765432

Date

  • past: 2024-01-15
  • future: 2026-05-20
  • birthdate: 1990-08-12
  • weekday: Monday
  • month: January

Batch Data Usage

Generated multiple data entries separated by line breaks, can directly:

  • Paste into Excel/CSV files
  • Import into database test environment
  • Use in automated test scripts
  • Create demo accounts
  • Populate prototype designs

Application Scenarios

Development Testing

  • API interface testing: Generate request parameters and test cases
  • Database population: Quickly create test databases
  • UI testing: Populate forms, lists, cards, and other components
  • Performance testing: Generate large amounts of data to test system capacity

Design Prototypes

  • Prototype population: Provide realistic data for design drafts
  • User personas: Create virtual user profiles
  • Demo data: Create product demos and promotional materials

Data Analysis

  • Sample data: Generate samples for analysis and visualization
  • Data masking: Replace sensitive real data for display
  • Algorithm testing: Provide training data for machine learning models

Data Format Explanation

All generated data in plain text format, line-separated. For complex objects (such as geographic coordinates, object types), system automatically serializes to JSON strings.

Example output:

John Doe
Jane Smith
Robert Johnson
Mary Williams
James Brown

Notes

All data is generated locally in your browser with no upload. Each generation produces different results. Data follows common real-world formats (such as email, phone, or credit card patterns) but is entirely fictional and does not correspond to real entities.

  • Generated data for testing and development only, does not represent real individuals or organizations
  • Financial data (credit cards, bank accounts) although conforming to format specifications, randomly generated, do not use for actual transactions
  • Some data types may return English content depending on the selected category or locale
  • Maximum 100 entries per generation, can generate multiple times if more needed
  • Phone numbers, addresses and other data may not conform to specific regional format requirements, adjust according to actual needs
  • Generated email addresses only conform to format specifications, do not guarantee domain actually exists or can receive email

Common Questions

Why do some data types show "generator unavailable"?

Some generators may not be available for certain categories. When you see this prompt, try selecting a different data type.

Can generate Chinese data?

Current version uses Faker.js default English environment. Chinese names, addresses, and other data require switching to Chinese language pack, future versions may support multiple language selection.

Can generated data be used commercially?

Yes. Faker.js is MIT licensed open-source project, generated data has no copyright restrictions, can be freely used in any commercial or non-commercial projects.

Why is generated data different each time?

This is characteristic of random generation. If fixed test data needed, recommend saving after generation to file, or using Faker's seed function in code to fix random sequence.

Can customize data format?

This tool provides Faker.js native generators. If custom formats needed (such as specific phone number formats, email suffixes), recommend using text replacement after generation or writing scripts for secondary processing.

Show more