China Test Data Generator - ID / USCC / Phone / Plate
Batch-generate checksum-valid synthetic China IDs, USCCs, phones, bank cards, plates, and VINs for QA — random, local-only, not for impersonation.
This tool runs in your browser: what you enter is processed on your device and normally never appears in a request to any server.
Next steps
Usage Guide
Registration, invoicing, and vehicle forms need China-shaped numbers that pass validators without pointing at real people. This generator batches resident IDs, Unified Social Credit Codes, phones, bank-card-shaped numbers, plates, and VINs under the same national-rule modules as the site validators — random, unbound to names or addresses, for development and QA only. Format-valid ≠ identity verification or commercial-registry status.
1. How to use
Generation stays in the browser — nothing is uploaded or stored server-side.
- Pick a format (ID / phone / credit code / bank card / plate / VIN). For resident ID and plates, optionally set region levels, set the count, and generate.
- ID rows show the division sample; credit-code rows show department/category labels.
- Round-trip through the ID or USCC validators, then corrupt one digit to confirm your app rejects it.
2. What the six formats cover
Resident ID: division + birthdate + sequence with MOD 11-2 (optional province → city → district for format tests, not household registration). USCC: random subject segment plus GB 32100 check character so batches are not stuck on a handful of fixed samples. Phone: known prefix table + random suffix (not a live MSISDN). Bank card: public test-range style + Luhn. Plate: province + office + vehicle kind (standard / NE / trailer / coach / police / 粤Z HK-Macau). VIN: ISO 3779 check digit. Boundaries differ; the shared promise is only syntactically valid QA samples.
3. What counts as good synthetic data
It must pass standards-based validators while colliding with any real registered individual only at astronomical odds — because it carries no name, address, or device binding and points at no real database row. The engineering loop is generate → submit → flip one digit → watch the validator catch it. That surfaces both loose and over-strict checks; the latter locks out real users in production.
4. Compliance boundary: test use only
- Never use outputs for KYC, impersonation, fraudulent onboarding/invoicing, or bypassing fraud controls.
- Even a rare collision with a real number is not usable identity material without name/address binding — but harvesting or harassment with synthetic IDs is still abuse.
5. Round-trip with the validators
Generator and validators share the same rule modules. Treat generated rows as should-pass samples and single-character corruptions as should-fail samples in unit tests or manual checklists. If a row passes here but fails on your server, diff weights, alphabets, and date bounds before blaming randomness.
6. Practical tips
- ID regions support province → city → district; plates support province → office (common-area labels, not an authoritative map) and vehicle kind.
- For rows that need names or addresses, use the mock data generator and still respect synthetic-data boundaries.
- Bank-card and phone samples are format-only — not chargeable accounts or live MSISDNs.
- Regenerate to widen coverage; credit codes already randomize the subject segment — do not lean on a few hand-written samples as “bulk”.
FAQ
No. Outputs are only format- and checksum-valid, random, and unlinked to any name or address; using them to impersonate people or bypass KYC is illegal. This tool is for development and QA — format-valid ≠ identity verification or registry status.
Six: resident ID (region + birth date + sequence with a MOD 11-2 check digit, selectable province/city/district), USCC (random subject segment plus a GB 32100 check character), mobile number (known prefixes with random suffixes), bank card (public-test-segment approach with Luhn), license plate (regular / NEV / trailer / coach / police / Guangdong-Z HK-Macau), and VIN (ISO 3779 check digit). Region and category notes appear beside the ID and USCC outputs.
Generator and validators share the same rule modules (GB 32100, resident ID, VIN, and more): a random subject segment followed by a correct check character, not a handful of recycled samples. The loop is built to catch validators that are too loose — and too strict, which locks real users out of production.
The random space is huge, collisions are rare, and outputs carry no name or address binding, so they do not form usable identity material. Even so, harvesting, harassment, or impersonation with them is abuse — label anything shown externally as synthetic test data.
This page focuses on Chinese identifier formats and checksums and shares its rules with the site's validators. For name and address columns, generate rows with the mock generator and splice these numbers in, still respecting synthetic-data boundaries.
No. Batches are generated and copied locally in the browser — nothing is stored or sent anywhere.
Related Tools
Related Articles
China Resident ID Numbers: Structure, the MOD 11-2 Check Digit, and Why One in Eleven Ends in X
The 18-digit China resident ID (GB 11643) decoded for English-language systems: division, birthdate, sequence and gender fields, the ISO 7064 MOD 11-2 check digit with a hand-checkable example, and the corruption modes that survive naive validation — with a local validator.
China Unified Social Credit Code (USCC): Structure, Checksum Algorithm, and How to Validate It
The 18-char USCC (GB 32100-2015) decoded for English-language systems: field layout, the 31-character alphabet, the weighted mod-31 checksum with a worked example, and the failure modes that corrupt codes in real data — with a local validator.
China License Plate Rules and Validation: Standard, New Energy, and Special Formats Explained
Mainland China plate encoding rules in full: the standard blue plate, the GA36D-2018 new-energy format, armed police and embassy plates, province abbreviations and issuing-authority letters — with an online validator.