esc
ID checkers

统一社会信用代码校验:
China USCC check (GB 32100)

Type a 统一社会信用代码 to check its 校验码 and see what each part means. Type 17 characters to work out the 18th.

More tools for China Other countries

How to use 统一社会信用代码校验

  1. 01Type the code18 characters, from an invoice or licence.
  2. 02See the checkValid or which character is wrong.
  3. 03Read the partsAuthority, category, region.
Front and back of an ID card on one sheet of paper

91350100M000100Y43: 工商, 企业, 福州.

Every Chinese company and organisation has an 18-character unified social credit code under GB 32100-2015. The tool checks the characters, works out the check code with the standard’s mod 31 formula, and decodes the registration authority, the entity category and the region.

统一社会信用代码校验 for invoices (发票), contracts and ERP data: the tool checks the 18th character with the formula in GB 32100-2015 and decodes the other parts of the code.

The five parts of the code

  • 1st character, 登记管理部门代码: which authority registered the entity, e.g. 9 工商 (market regulation), 5 民政, 1 机构编制, Y 其他.
  • 2nd character, 机构类别代码: the kind of entity under that authority, e.g. 91 企业, 92 个体工商户, 93 农民专业合作社.
  • Characters 3–8: the administrative region code of the registering office.
  • Characters 9–17: the 主体标识码, the old 9-character 组织机构代码.
  • Character 18: the check code.

How the check code is calculated

The code uses digits and capital letters without I, O, Z, S and V. Digits keep their value; A to Y count 10 to 30 in order, skipping the five missing letters.

Multiply the first 17 values by 1 3 9 27 19 26 16 17 20 29 25 13 8 24 10 30 28 (powers of 3 modulo 31), add, and take the remainder after dividing by 31. The check code is 31 minus the remainder, written 0 when the remainder is 0 and Y when the result is 30.

The standard’s example 91350100M000100Y4 adds up to 1640. 1640 divided by 31 leaves 28, and 31 − 28 = 3, so the full code is 91350100M000100Y43.

What the check can’t tell you

A correct check code shows the code was copied correctly. It doesn’t show that the company exists or is still operating. The National Enterprise Credit Information Publicity System is the official place to look that up.

At a glance

Price
Free. No sign-up, no watermark.
Privacy
Your text stays in your browser. Nothing is uploaded.
Works in
Chrome, Edge, Firefox and Safari, on phones and computers

Questions

Does a valid code mean the company exists?

No. It only means the 18 characters fit together. To see the company, search the National Enterprise Credit Information Publicity System (国家企业信用信息公示系统).

Why does my code have no letter O or I?

GB 32100-2015 leaves out I, O, Z, S and V so they can’t be mistaken for 1, 0, 2, 5 and U. If one of them appears, the code was mistyped.

Is the old 组织机构代码 checked?

It is shown (characters 9–17), but its own check character isn’t tested, because its formula couldn’t be confirmed from an official source.

Is the number sent anywhere?

No. The code is checked in your browser and nothing you type is sent to a server or saved.

Can I find the 18th character?

Yes. Type the first 17 characters and the tool works out the check code and shows the sum.

Why is there no check of the 组织机构代码 inside?

Its own check character follows GB 11714, whose formula we couldn’t confirm from an official source, so the tool only shows those nine characters.