China USCC Generator
Generate 18-character Unified Social Credit Codes with GB 32100 and GB 11714 check characters — synthetic test data only
For Development & Testing Purposes Only - Synthetic Mock Data
Settings
1 valueGenerates one value with a valid checksum. Press ⌘/Ctrl+Enter for a fresh one.
Generated value
No value yet
Set options, then press Generate.
Generated values are valid in shape but randomized (Test Data).
Examples
Generate a USCC
Unified Social Credit Code · Generate91350100M000100Y43The 91 prefix marks an enterprise; both the organization check character and the final mod-31 character pass.
Wrong final character
91350100M000100Y44Invalid — check character is 4 but the first 17 characters require 3 (GB 32100 mod 31)The alphabet and organization code still pass, so only the last character branch fails.
Letter O is not allowed
91350100M0001O0Y43Invalid — "O" is not allowed: the alphabet excludes I, O, S, V and ZThe alphabet check runs before either checksum, so a visually similar letter is reported directly.
About this tool
The China USCC Generator produces one 18-character Unified Social Credit Code (统一社会信用代码) under GB 32100-2015. The code carries the registration authority (1), the entity type (1), a 6-digit administrative division code, a 9-character organization code from GB 11714 with its own check character in position 17, and a final check character in position 18 computed mod 31.
The character set is deliberately restricted: I, O, S, V and Z never appear, which is why a code with an O in it is rejected even when the length is right. Generated codes always start 91, marking the industry and commerce authority and an enterprise entity type. The validator checks the length, the alphabet, the organization code check character and the mod-31 check character, each with its own message.
These codes are synthetic fixtures for QA and development, never for real business registrations, filings, or verification flows, and DevTools accepts no liability for how generated data is used. Everything runs locally in your browser.
What this tool does not do
- Generation always uses the 91 prefix, so the registration authority and entity type do not vary.
- A valid code proves only that the characters and checksums agree, not that the company exists.
- The division code is drawn from a short list of large-city codes rather than the full GB/T 2260 table.
- The tool does not decode the entity type into a business category; it reports the digits as they are.
How to use this tool
Choose the USCC option
The tool is pinned to the 18-character Unified Social Credit Code with the GB 32100 and GB 11714 check characters.
Generate a value
Click Generate to create one code starting 91 with a division code, an organization code and a checked final character.
Validate or copy
Switch to Validate to check the alphabet and both check characters, or copy the result and download it as .txt.
Use cases
Supplier onboarding fixtures
Fill Chinese company-registration fields with codes that pass both check characters.
Alphabet validation
Test that your parser rejects I, O, S, V and Z instead of silently accepting them.
Two-level checksum tests
Change position 17 and position 18 separately to confirm each check reports its own failure.
USCC layout
| Positions | Meaning |
|---|---|
| 1 | Registration authority (9 = industry and commerce) |
| 2 | Entity type (1 = enterprise) |
| 3-8 | Administrative division code |
| 9-17 | Organization code with its check character in position 17 (GB 11714) |
| 18 | Check character, mod 31 (GB 32100) |
| Alphabet | 0-9 and A-Z except I, O, S, V and Z |
Generation always emits the 91 prefix, so every value is an enterprise registered with the industry and commerce authority.
Common mistakes
Mistake:Confusing USCC with the 15-digit old registration number
Fix:The USCC is 18 characters and carries two check characters; the older number is a different field.
Mistake:Accepting every letter of the alphabet
Fix:I, O, S, V and Z are excluded to avoid visual ambiguity with digits.
Mistake:Checking only the final character
Fix:Position 17 has its own GB 11714 organization-code check that also has to pass.
Frequently asked questions
Are these real Unified Social Credit Codes?
No. They are synthetic fixtures for QA and development, never for real business registrations, filings, or verification flows; DevTools accepts no liability for how generated data is used. A valid-looking code can coincide with a registered company.
Which letters are not allowed in a USCC?
I, O, S, V and Z never appear, to avoid confusion with digits. The validator reports the offending character before it checks either checksum.
How many check characters does a USCC have?
Two. Position 17 is the GB 11714 organization-code check character, and position 18 is the GB 32100 mod-31 check character, and both must pass.
Why do generated codes always start with 91?
9 marks the industry and commerce registration authority and 1 marks the enterprise entity type, so the generator pins the prefix to that common case.
Is the USCC the same as the old 15-digit registration number?
No. The USCC is 18 characters with two check characters; the older registration number is a different, shorter field.
References & standards
Related tools
China Resident ID Generator
Generate synthetic 18-character Chinese Resident Identity Card numbers with region code, birth date and ISO 7064 check character.
VAT Number Generator
Generate VAT numbers for EU, UK, Switzerland, Norway and global tax integration testing.
Tax Number Generator
Generate valid tax identification numbers for testing (TR, US, SG, etc.)
National Identity Generator
Generate and validate national ID numbers for testing (TR, US, DE, UK, SA, AE, QA, KW, CA, ES, BR, FR, IT, NL, SE, NO, EG, SG)
Tax ID Validator
Auto-detect and validate VAT, EIN, TIN and GST identifiers with batch checksum reporting.