United Kingdom · Validation

UK company number format checker.

Check that a Companies House company number has a valid shape, and decode the prefix that marks Scottish, Northern Irish, partnership and other entity types.

How it works: England and Wales companies have 8 digits with leading zeros kept. Others start with a one- or two-letter prefix (SC, NI, OC, LP and so on) and the whole number is 8 characters.

Sources: Companies House URI guide (v1.1, 2012) and HMRC noteRuns in your browser; nothing is sent

Advertisement

Inputs

Eight characters. Spaces and lower case are fine; the tool tidies them.

Result

Enter a number and press Check.

How a UK company number is built

A company number is the identifier Companies House gives each entity on its register, and HMRC publishes its own note on the same formats. Two government documents describe the shape. HMRC's "Company Registration Number Formats" note says England and Wales companies have registration numbers that consist of 8 digits, and that Scottish and Northern Irish companies, and those registered through the financial regulator, carry a one- or two-character alphabetic prefix. The Companies House customer guide to its URI scheme gives the prefix list in full and shows the layout with two examples: 02050399 and SC002180. This checker applies those rules. Type a number and it tells you whether the shape fits, which prefix it carries, what the prefix means and which jurisdiction it points to.

The two layouts
LayoutExampleRule
8 digits, no prefix02050399England and Wales company; leading zeros are part of the number
2 letters + 6 digitsSC002180Prefix identifies the jurisdiction and entity type; the prefix is written in upper case
R0 + 6 digitsR0000123 (hypothetical)Northern Ireland company registered before partition; HMRC lists the prefix as R and Companies House as R0

The prefix list

The table merges the Companies House list with HMRC's. A "Yes" in the HMRC column means HMRC's note lists the same prefix. Five prefixes (SE, ES, EN, NC and NV) appear only in the Companies House guide. The last column reflects a statement in the Companies House guide: for the IP, SP, IC, SI, NP, NV, RC, SR, NR and NO prefixes it holds nothing but the company name and number.

Company number prefixes in the Companies House URI guide and the HMRC note
PrefixJurisdictionEntity typeIn HMRC listCompanies House data
ACEngland & WalesAssurance companyYesFull record
FCEngland & WalesOverseas companyYesFull record
GEEngland & WalesEuropean Economic Interest Grouping (EEIG)YesFull record
LPEngland & WalesLimited partnershipYesFull record
OCEngland & WalesLimited liability partnershipYesFull record
SEEngland & WalesEuropean company (Societas Europaea)NoFull record
ZCEngland & WalesUnregistered company (s 1043, not Companies Act)YesFull record
SAScotlandAssurance companyYesFull record
SCScotlandScottish companyYesFull record
SFScotlandOverseas company registered before 1 October 2009YesFull record
SLScotlandLimited partnershipYesFull record
SOScotlandLimited liability partnershipYesFull record
SZScotlandUnregistered company (s 1043, not Companies Act)YesFull record
GSScotlandEuropean Economic Interest Grouping (EEIG)YesFull record
ESScotlandEuropean company (Societas Europaea)NoFull record
NANorthern IrelandAssurance companyYesFull record
NCNorthern IrelandLimited liability partnershipNoFull record
NFNorthern IrelandOverseas company registered before 1 October 2009YesFull record
NINorthern IrelandNorthern Ireland company (post-partition)YesFull record
NLNorthern IrelandLimited partnershipYesFull record
NZNorthern IrelandUnregistered company (s 1043, not Companies Act)YesFull record
GNNorthern IrelandEuropean Economic Interest Grouping (EEIG)YesFull record
ENNorthern IrelandEuropean company (Societas Europaea)NoFull record
IPEngland & WalesIndustrial & provident companyYesName and number only
SPScotlandIndustrial/provident companyYesName and number only
ICEngland & WalesICVC (investment company with variable capital)YesName and number only
SIScotlandICVC (investment company with variable capital)YesName and number only
NPNorthern IrelandIndustrial/provident company or credit unionYesName and number only
NVNorthern IrelandICVC (investment company with variable capital)NoName and number only
RCEngland & WalesRoyal charter companyYesName and number only
SRScotlandRoyal charter companyYesName and number only
NRNorthern IrelandRoyal charter companyYesName and number only
NONorthern IrelandCredit union / industrial-provident societyYesName and number only

Worked example

Take the Companies House guide's own examples. 02050399 is 8 digits with no letters, so it passes as an England and Wales company with no prefix. SC002180 is the prefix SC followed by six digits, so it passes as a Scottish company. Now a hypothetical mistake: NI12345 has the NI prefix but only five digits after it, so the tool rejects it and explains that a two-letter prefix is followed by 6 digits. And 2050399 has only seven digits, so the tool suggests 02050399, because the official layout keeps the leading zero.

Common mistakes and edge cases

Who this is for

Bookkeepers and onboarding teams who want to catch a malformed number before a supplier or KYC form is submitted, developers who need to know what shapes a company number can take, and anyone who has been handed a code like NC or SL and wants to know what kind of entity it points to.

What this does not cover

The checker does not query the register, so it cannot tell you whether a company exists, is dissolved or is dormant. A well-formed number can still be unallocated. It does not validate VAT, UTR or PAYE references, which are different identifiers. For a real result, use the link the tool provides to the official Companies House page for the number, or the existing Companies House lookup page on this site.

Sources

Retrieved 20 October 2026. Issuing bodies can change these rules; check the source if a result matters.

FAQ

How many digits is a UK company number?

HMRC says England and Wales company numbers consist of 8 digits, and leading zeros are kept (for example 02050399). Companies with a letter prefix, such as SC002180, are also 8 characters in all.

What does the SC prefix on a company number mean?

SC stands for a Scottish company in the Companies House guide. The number is SC followed by six digits.

What does the NI prefix on a company number mean?

The Companies House guide lists NI as a Northern Ireland company (post-partition). R0 marks a Northern Ireland company registered before the partition of Ireland in 1922.

What do the OC and SO prefixes mean?

Companies House lists OC as a limited liability partnership for England and Wales and SO as one for Scotland. HMRC’s note says its OC and SO codes are used only for LLP cases in liquidation.

Do UK company numbers have leading zeros?

Yes. England and Wales numbers are 8 digits, and the Companies House guide’s example is 02050399. A number that shows only 7 digits has usually lost its first zero in a spreadsheet.

Which prefixes does Companies House hold only a name and number for?

The Companies House guide says it holds only the company name and number for IP, SP, IC, SI, NP, NV, RC, SR, NR and NO. These cover industrial and provident societies, investment companies with variable capital, royal charter companies and Northern Ireland credit unions.

Can I tell if a company is active from its number?

No. The number only reflects layout, jurisdiction and entity type. Whether the company is active, dormant or dissolved is shown on the register, which this tool links to.

Does this tool check VAT, UTR or PAYE numbers?

No. Those are different identifiers with their own formats. It covers company registration numbers only.

Format check only, not a register lookup

This tool tests a company number against the layouts and prefixes in two government documents dated 2012. It does not query Companies House, and a pass does not show the company exists. Use the official register for that. Nothing you type is transmitted, stored or logged.

Advertisement
Advertisement