Small Business

The Unified Social Credit Code of Chinese Companies: Structure, Check Character and How to Validate It

How the 18-character unified social credit code on a Chinese business licence is built, what each part means and how to check it for errors.

Saizul Amin
Saizul Amin23 Oct 2026 · 3 min read
The Unified Social Credit Code of Chinese Companies: Structure, Check Character and How to Validate It

The Unified Social Credit Code

Every company, organisation and individual business in China has one 18-character code on its business licence: the unified social credit code (统一社会信用代码). It replaced the old registration numbers, the tax number and the organisation code. When you check a supplier, copy a code into a contract or enter it in an invoicing system, one wrong character can cause trouble. The Unified Social Credit Code Validator tests the code.

The structure

The code has 18 characters of digits and capital letters. The letters I, O, S, V and Z are not used, so they cannot be confused with 1, 0, 5, 2 and the like. The first character is the registration department: 1 for institutions and party and state bodies, 5 for civil affairs (social organisations), 9 for market regulation, which covers companies and individual businesses, and Y for other bodies. The second character is the type of body. For department 9, 1 is a company, 2 is an individually owned business and 3 is a farmers' professional cooperative. Characters 3 to 8 are the six-digit administrative division code of the place of registration. Characters 9 to 17 are the nine-character organisation code. Character 18 is the check character.

The check character

To calculate it, convert each of the first 17 characters into a value from the 31-character set 0123456789ABCDEFGHJKLMNPQRTUWXY, where A is 10, B is 11 and Y is 30. Multiply the values by the weights 1, 3, 9, 27, 19, 26, 16, 17, 20, 29, 25, 13, 8, 24, 10, 30 and 28 and add them. Take the remainder of the sum divided by 31. The check character is the one whose value is 31 minus the remainder, with 31 taken as 0. For 91110000802100433B the check character is B.

What the tool does

Type or paste codes. The tool removes spaces and changes lowercase to uppercase. It checks the length, the characters and the check character. For a valid code it shows the registration department, the type of entity for market regulation bodies, the province from the division code, the organisation code and the check character. For an invalid code it explains the reason and shows the expected check character. You can download the results.

What a pass does not mean

A valid code is only well formed. It does not mean that the company exists, that the licence is current or that the code belongs to the company named in your contract. To confirm, search the National Enterprise Credit Information Publicity System with the code or the name, and compare the name, the legal representative, the registered capital and the status. Also look for records of abnormal operation or serious illegal acts.

A worked example

91350100M000100Y43 passes: the market regulator, a company, in Fujian. 91110000802100433B passes: a company registered in Beijing. 91110000802100433C fails because the check character should be B. A code with 17 characters fails on length, and a code with the letter I in it is rejected as an invalid character.

For developers and finance teams

Validate the code on entry in forms for suppliers, customers and invoices. Store the code in capital letters without spaces. The e-invoice (fapiao) system uses this code as the taxpayer number, so a wrong code means that the invoice cannot be used.

Quick answers

How many characters does the code have? 18: department, type, division code, organization code and a check character.

Which letters are not used? I, O, S, V and Z.

Does a pass mean the company exists? No. Check the company in the National Enterprise Credit Information Publicity System.

What does the first character mean? The registration department, for example 9 for market regulation.

Can I check a list? Yes. Paste one code per line.

Is my data stored? No. It stays in your browser.

Limits

Structure and check character only. It is not legal advice.

Completely freeNo cost, no sign-up
Files stay privateEverything runs in your browser
Easy in your languageAvailable in many languages