Unified Social Credit Code Validator - GB 32100 Checksum
Validate 18-char Unified Social Credit Codes per GB 32100-2015 (alphabet + weighted checksum) and parse department/category locally — no registry lookup.
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
China Unified Social Credit Codes are 18-character identifiers (GB 32100-2015) for enterprises and other registered entities. Form bugs are rarely about length alone — they accept the forbidden I/O/S/V/Z alphabet or a wrong checksum. This tool checks the alphabet and weighted digit locally and explains department/category fields. Format and checksum only: no registry lookup, and no claim that a code is still active on file.
1. How to use
Everything runs in browser memory: no upload, no registry query, no server-side history.
- Paste an 18-character Unified Social Credit Code (case-insensitive; leading/trailing spaces are ignored).
- See whether it passes; on success, department and organization category labels appear.
2. How the 18 characters break down
Position 1 is the registering authority family (common values: 9 = industry & commerce, 5 = civil affairs, 1 = staffing). Position 2 is the organization category (for enterprises: company, individual business, cooperative, and related labels). Positions 3–8 are the registration-authority division code; 9–17 the subject id; 18 the check character. On success this page only surfaces department + category — it does not pretend to fully map every division or subject segment.
3. What the check character encodes
The first 17 characters come from a 31-symbol alphabet (digits plus Latin letters excluding I/O/S/V/Z). A fixed GB 32100 weight vector and mod-31 produce the 18th character. Invert the weights, character indices, or modular direction and you get either false rejects of real codes or false accepts of garbage. Local validators exist to reproduce both failure classes in QA before you trust a business-registry lookup.
4. Valid format ≠ on the commercial registry
- A passing checksum only means the string matches the national encoding rules — revoked, cancelled, or relocated entities can still leave format-valid historical codes.
- This tool does not query the National Enterprise Credit Information Publicity System or any other registry.
- Keep format validation (local) separate from legal entity verification (authoritative sources only).
5. Common failures in QA and batch cleaning
Import noise is usually full-width digits, embedded spaces, Excel scientific notation on long numbers, or legacy 9-digit organization codes (GB 11714) fed into an 18-char validator. Clean in order: normalize half-width and strip whitespace → confirm length and alphabet → then checksum. If production rejects many known-good codes, audit the weight vector and the (31 − sum % 31) direction before blaming upstream data.
6. Practical tips
- Do not validate legacy 9-digit organization codes with this page; alphabet and structure differ until remapped to an 18-char USCC.
- Avoid logging full codes; mask the middle in UI and tickets.
FAQ
No. This tool verifies only the GB 32100-2015 alphabet and weighted checksum, plus department/category field decoding; deregistered or revoked entities can leave behind codes that still pass. Registration status requires official registries such as the National Enterprise Credit Information system — a format check is not a commercial-registry lookup.
This page targets the 18-character Unified Social Credit Code. The legacy GB 11714 9-digit code has a different structure and alphabet, so feeding it into an 18-character check always fails — confirm whether your legacy number has been remapped first.
Usually a mismatched weight table, a wrong 31-character alphabet index, or a flipped 「31 − (sum % 31)」 modular direction — or unclean input with full-width digits and embedded spaces. If this page passes while your server fails, diff the checksum implementation before doubting the number.
They are field explanations from the public encoding of positions 1–2 (e.g. 9 = industry-and-commerce, 5 = civil affairs, 1 = staffing), meant for QA readability. Administrative-division and subject segments are not expanded, and this is not a full gazetteer — prefer official documentation for production labels.
No. The checksum is computed in browser memory — nothing is sent to a server, and no online registry lookup happens at all.
Related Tools
Related Articles
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 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 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.