Mock Data Generator
Loading...
Generate mock test data online (JSON/CSV/SQL)
- 1
Define fields
Fill field names and pick types row by row (numeric types take ranges), or press Example to load the preset six-field user-table schema; rows can be added or removed.
- 2
Pick rows and format
Rows 1-1000; switch output between JSON/CSV/SQL; pick the dataset toggle for your target system — generation updates live.
- 3
Copy and use
One-click copy: JSON goes straight into fixtures, CSV into spreadsheets, SQL includes table creation and inserts ready to run; for prettier SQL use the SQL Formatter tool.
Features Overview
Mock data generator online: define fields (11 types — name, username, email, phone, city, company, integer, decimal, date, UUID, boolean), batch-generate test data, and export as JSON, CSV, or SQL (CREATE TABLE + INSERTs). Chinese and English datasets switchable; fully in-browser with no signup and no limits.
Tool Description
Free online mock data generator. 11 field types (name, email, phone, city, company, numbers, dates, UUID and more), 1-1000 rows batch generation, output as JSON, CSV, or SQL create-and-insert statements; Chinese dataset included, fully in-browser with no signup.
Capabilities Checklist
- 11 safe field types: names (Chinese/English), usernames (in-pool pinyin/English), email, phone (shape-real only), city, company, integers and decimals (configurable ranges), dates (valid dates in 2020-2025), UUID, and boolean — covering mainstream test-data needs, with no sensitive ID types.
- Three output formats: JSON (array of objects, Chinese preserved), CSV (RFC 4180 escaping, numbers unquoted to keep types), and SQL (CREATE TABLE plus INSERTs batched per 100 rows, with column-name sanitization and reserved-word avoidance) — no second hop needed.
- Chinese dataset: real-looking Chinese names composed from surname and given-name pools, cities and company names from common pools, and domestic email domains — Chinese systems no longer get awkward English faker output.
- Live schema editing: add/remove field rows, switch types, expand numeric ranges; a preset six-field user-table schema loads in one click; 1-1000 rows.
- Uniform field-name rules: empty names become field_N and duplicates get suffixes (consistent across all three formats); everything generates locally in the browser, nothing uploaded.
User feedback
Go to feedback