Mock Data Generator
Generate checksum-valid synthetic test data including Chinese ID numbers, phone numbers, unified social credit codes, bank card numbers, and batch JSON user lists.
Screenshots
Key Features
Instantly generate and copy single synthetic test values (ID, phone, tax ID, bank card, name)
mock data / fake data / test data / generate mock
Generate structured mock user JSON arrays for frontend tables and API testing
mock json / batch mock / fake users json / test json
Overview & Usage Guide
Generate random synthetic Chinese ID numbers, Unified Social Credit Codes, bank card numbers (with check digits computed using standard algorithms), and mobile phone numbers locally for testing, as well as batch user JSON arrays.
Usage
- Commands:
mock data(fake data,test data,generate mock),mock json(batch mock,fake users json,test json); use the dropdown next to the search box to switch between "Single Items" and "Batch JSON". - Single Items: 18-digit Chinese ID numbers (check digit per GB 11643), Unified Social Credit Codes (check digit per GB 32100), bank card numbers (Luhn check digit), 11-digit mobile phone numbers, plus names and company names; the right pane shows segment meanings and checksum algorithms.
- Batch JSON: Enter a count from 1 to 500 in the search box (default 10; invalid input prompts a notice and generates 10) to produce a user array containing ID, name, gender, age, national ID number, phone number, email (
example.comreserved domain), company name, credit code, bank card number, address, and creation timestamp. - Single Items:
Entercopies the value,Cmd/Ctrl+Enter(orCmd/Ctrl+R) generates a new set, andCmd/Ctrl+Shift+Ccopies as key-value JSON. Batch JSON:Entercopies the complete JSON, andCmd/Ctrl+EnterorCmd/Ctrl+Rregenerates. - Data is randomly generated and only guarantees valid format and check digits (phone numbers, names, and company names do not have check digits); values may coincide with real numbers, individuals, or companies and are strictly for development and testing—never use them for identity verification or impersonation.
Platforms & Requirements
- Supported: Windows, macOS
Network & Data
- Works offline; data stays strictly on your local device.
Frequently Asked Questions (FAQ)
How do I install and launch "Mock Data Generator" in ZTools?
Open the Plugin Marketplace inside ZTools Workbench, search for "Mock Data Generator", and install it. Then type its name in the launcher bar to open it.
Is "Mock Data Generator" free? Which platforms are supported?
Yes, it is free to install with source code published in the ZTools-extensions repository. Supported platforms: Windows / macOS.