Documentation

Complete reference for all data types, schema syntax, and advanced features. Everything you need to generate perfect mock data.

Quick Start

1. Define Your Schema

Create a JSON object where keys are your field names and values are data type names:

{
  "id": "uuid",
  "name": "name",
  "email": "email",
  "createdAt": "date"
}

2. Choose Record Count

Select how many records to generate (1-1000).

3. Generate & Export

Click "Generate Data" and download or copy the JSON output.

Schema Syntax

✓ Valid Schema

{
  "userId": "uuid",
  "fullName": "name",
  "contactEmail": "email"
}

Field names can be anything. Data type names must match supported types (case-insensitive).

✗ Invalid Schema

{
  "name": "name"
  "email": "email"  // Missing comma
}

Must be valid JSON with proper syntax (commas, quotes, brackets).

All Data Types (43+ types)

🧑

Personal Information

Type NameDescriptionExample Output
nameFull nameJohn Doe
firstNameFirst name onlyJohn
lastNameLast name onlyDoe
emailEmail addressjohn.doe@example.com
phonePhone number+1-555-123-4567
avatarAvatar image URLhttps://avatars.example.com/u/1
📍

Location

Type NameDescriptionExample Output
addressStreet address123 Main Street
cityCity nameNew York
countryCountry nameUnited States
zipCodePostal code10001
🏢

Business

Type NameDescriptionExample Output
companyCompany nameTech Corp Inc.
jobTitleJob positionSenior Developer
🆔

Identifiers

Type NameDescriptionExample Output
uuidUUID v4 format550e8400-e29b-41d4-a716-446655440000
idUUID identifier7b3c2f1e-9d4a-4c8b-a5e6-1f2d3c4b5a6e
mongoIdMongoDB ObjectId507f1f77bcf86cd799439011
🔢

Numbers

Type NameDescriptionExample Output
numberRandom integer42
pricePrice/amount19.99
ratingRating score (1-5)4.5
smallNumberSmall integer (1-100)23
bigNumberLarge integer123456
floatDecimal number3.14159
📅

Date & Time

Type NameDescriptionExample Output
dateRecent date (ISO)2025-01-15T10:30:00.000Z
dateTimeDate with time2025-10-10T14:25:30.000Z
pastPast date2020-05-20T08:15:00.000Z
futureFuture date2026-12-31T23:59:59.000Z

Boolean

Type NameDescriptionExample Output
booleanTrue or falsetrue
💬

Text Content

Type NameDescriptionExample Output
titleArticle/post titleGetting Started with React
sentenceSingle sentenceThe quick brown fox jumps.
paragraphText paragraphLorem ipsum dolor sit amet...
textLong text contentLorem ipsum dolor sit amet, consectetur...
wordSingle wordhello
wordsMultiple wordshello world example
🛍️

E-commerce

Type NameDescriptionExample Output
productNameProduct nameWireless Bluetooth Headphones
productDescriptionProduct detailsHigh-quality sound with noise cancellation
categoryProduct categoryElectronics
colorColor nameNavy Blue
tagsArray of tags["electronics", "audio", "wireless"]
🌐

Internet

Type NameDescriptionExample Output
urlWebsite URLhttps://example.com
usernameUsernamejohn_doe_123
domainDomain nameexample.com
ipIP address192.168.1.1
📊

Status & State

Type NameDescriptionExample Output
statusGeneric statusactive
orderStatusOrder stateshipped

Advanced Tips

Type Names are Case-Insensitive

You can use email,Email, orEMAIL - they all work the same.

Field Names Can Be Anything

Use descriptive field names that match your application: user_email,customerName,created_at, etc.

Reuse the Same Schema

Save your schemas! Each time you generate, you get fresh random data while keeping the same structure.

Export Options

Download as JSON file or copy to clipboard. The data is formatted with 2-space indentation for readability.

Have Questions?

Check our FAQ for answers to common questions about using the mock data generator.

View FAQ

Start Generating Mock Data

Now that you know all the data types, try creating your own schema!

Go to Generator