Example: numbers scraped from supplier websites
A buyer (fictional) collected company numbers from the footers of supplier websites and a few from invoices. They arrived in every format. The validator fixes the ones that are only badly written and explains the ones that are not company numbers at all.
The first, second and fourth lines were only missing zeros, the R0 number is a valid older Northern Ireland format, the GB number is a VAT number and ZZ is not a prefix Companies House uses.
4417782 sc 98765 Company No: OC412233 ni 6201 R0001234 GB123456789 ZZ123456 1234567890
4417782 04417782 Company registered in England and Wales Padded with 1 leading zero. sc 98765 SC098765 Company registered in Scotland Padded to six digits after SC. Company No: OC412233 OC412233 Limited liability partnership, E and W OK. ni 6201 NI006201 Company registered in Northern Ireland Padded to six digits after NI. R0001234 R0001234 Older company registered in Northern Ireland OK. GB123456789 invalid This looks like a VAT number (GB and nine digits), not a company number. ZZ123456 invalid "ZZ" is not a prefix this tool recognises. 1234567890 invalid Too many digits: a company number has eight characters.
Validating a list
Paste the numbers, one per line
Up to 20,000 lines. Words such as Company, Co, Reg, Registered, No, Number and CRN are stripped, as are spaces, dots, hyphens, slashes and colons.
Read the totals
Numbers checked, valid format, invalid, and how many valid ones had to be padded or reformatted.
Look down the table
Each line shows your input, the formatted number, what the prefix means, a note and an Open link to the Companies House page.
Take the results
Copy the valid numbers, copy their register links, or download a CSV with input, company_number, valid, type, note and companies_house_url.
Common prefixes
Company numbers are eight characters: eight digits for most companies registered in England and Wales, or two letters and six digits.
| Prefix | Meaning |
|---|---|
| None (8 digits) | Company registered in England and Wales |
| SC | Company registered in Scotland |
| NI, or R0 for older ones | Company registered in Northern Ireland |
| OC, SO, NC | Limited liability partnership in England and Wales, Scotland, Northern Ireland |
| LP, SL, NL | Limited partnership in England and Wales, Scotland, Northern Ireland |
| FC, SF, NF, BR | Overseas company with a UK establishment, or a UK branch |
| CE, CS | Charitable incorporated organisation (England and Wales, Scotland) |
| IP, SP, NP | Registered society (industrial and provident) |
| OE | Registered overseas entity |
Format is not status
A number can be perfectly formatted and still belong to a company that was dissolved years ago, or to nothing at all. The validator never contacts Companies House; it only applies the published number formats. Open the register link to see the company's name, status, registered office and filing history before you rely on it.
Correct formatting still matters in prospecting data. A number stored as 4417782 in one spreadsheet and 04417782 in another will not match when you join lists, and Excel strips the leading zero from any number typed into a General cell. Store company numbers as text, always as eight characters, and joins and lookups behave.
Questions people ask
How many digits is a UK company number?
Eight characters. Companies registered in England and Wales have eight digits, often starting with zeros, such as 04417782. Others have a two-letter prefix followed by six digits, such as SC098765 for Scotland or OC412233 for an English LLP. The validator pads shorter numbers to the full length.
How do I check if a company number is real?
Use this tool to confirm the format, then open the Companies House link for each valid number. The register page shows whether a company with that number exists, its name and its status, for example active, dissolved or in liquidation. This tool does not look up the register itself.
What does the SC prefix mean on a company number?
SC means the company is registered in Scotland. NI means Northern Ireland, and older Northern Ireland companies may have numbers starting R0. Numbers with no letters are registered in England and Wales. Other prefixes mark other entity types, such as OC for limited liability partnerships.
Why does Excel remove the zero from company numbers?
Excel treats a cell of digits as a number and drops leading zeros. Format the column as Text before pasting, or import the CSV through Data, From Text and set the column type to Text. The CSV from this tool has every number at its full eight characters.
Where your data goes
The checks follow format rules built into the page and run in your browser. Your list is not sent to Companies House or anywhere else; only the register links, if you click them, open the official site.
Checked against the tool on