Map Extract
Free tool

Extract company and VAT numbers from website text

Paste the footer, terms page or HTML source of a business website. The extractor finds UK company registration numbers and VAT numbers, shows the words around each one, checks the format or check digits, and links each valid company number to its Companies House entry.

Runs in your browser. Nothing you enter is uploaded.

Pulling numbers out of a page

  1. Copy the right part of the site

    Most UK companies print their details in the footer, on a terms or privacy page, or on the contact page. Select the text in the browser and copy it, or use View Source and copy the HTML: script and style blocks are discarded and tags are turned into spaces.

  2. Paste it into the box

    Results appear as you paste. There is no button to press and nothing is fetched from the website, so it works on text from emails, PDFs and invoices too.

  3. Read the table

    Each row shows whether it is a company or VAT number, the number in the standard form, a format verdict, the sentence it was found in and any notes, such as a nation mismatch or a number found by its prefix alone.

  4. Confirm at the register

    Select a company number to open its page at Companies House and check the name, status and registered office match the business you are researching.

  5. Save the findings

    Download CSV gives one row per number with its context, ready to paste beside your lead list. Copy numbers copies just the numbers, one per line.

Example: a footer with four businesses in it

This invented footer mixes the ways companies actually write their details. The extractor returned six numbers. The England and Wales number was written as 1234567, so it was reported as 01234567, the eight characters the register uses, with a note explaining the padding. NI 654321 lost its space. The LLP number OC301234 sat in brackets with no label, so it was still found by its prefix and flagged as unlabelled.

Two VAT numbers were present. GB 123 4567 82 passed the check digit test. GB 987 6543 21 failed it, which in practice usually means a typing slip on the website or in your copy. The telephone number in the same line was ignored, because no company label sat in front of it.

Input
© 2026 Harbour Dental Ltd. Registered in England and Wales No. 1234567.
VAT Reg No: GB 123 4567 82
Glen Bakery Limited is registered in Scotland, company number SC123456.
Lough Supplies Ltd, Company No: NI 654321.
Marsh Advisory LLP (OC301234) | Tel 0161 496 0000 | VAT GB 987 6543 21
Result
Company  01234567        Format OK  (padded from 1234567)
VAT      GB 123 4567 82  Format OK
Company  SC123456        Format OK  Company (Scotland)
Company  NI654321        Format OK  Company (Northern Ireland)
Company  OC301234        Format OK  LLP (England and Wales), found by prefix alone
VAT      GB 987 6543 21  Fails      check digits do not match

Prefixes you will meet most often

A Companies House number is always eight characters. Companies in England and Wales usually have eight digits; other registers put two letters in front of six digits. The prefix tells you the register and the kind of body before you look anything up.

PrefixRegister and typeExample
noneCompany, England and Wales01234567
SCCompany, ScotlandSC123456
NICompany, Northern IrelandNI654321
OCLLP, England and WalesOC301234
SOLLP, ScotlandSO305678
LP / SLLimited partnership, England and Wales / ScotlandSL012345
FCOverseas company with a UK establishmentFC031234
CE / CSCharitable incorporated organisation, England and Wales / ScotlandCE001234

Why the number is usually on the website

The Company, Limited Liability Partnership and Business (Names and Trading Disclosures) Regulations 2015 require companies and LLPs to show their registered name on their websites, together with the registered number, the part of the UK where they are registered and the registered office address. That is why footers so often read like a small legal notice, and why the footer is the first place to look.

The extractor reads the phrases those notices use: "Registered in England and Wales No.", "Company Registration Number", "Company Reg. No.", "Registered number", "CRN" and LLP variants, with or without colons, full stops and the word "is". It also catches prefixed numbers such as SC123456 that appear with no label at all, which happens often in brackets after a business name.

When the text names a nation, the extractor compares it with the number. "Registered in Scotland" beside an eight-digit number with no prefix earns a note, because Scottish companies carry SC. Such mismatches are usually a footer copied from a sister company or an old template, and they are worth noticing before you match the business to a register entry.

What the checks can and cannot tell you

For company numbers the check is about shape: eight characters, a known prefix, enough digits. Companies House numbers have no check digit, so a well-formed number can still belong to a different company or to one that has been dissolved. The link to the register is there so you can confirm the name and the status in a few seconds.

UK VAT numbers do carry check digits. The last two digits of a standard nine-digit number must satisfy a weighted sum test, either the original modulus 97 series or the newer series that adds 55 first, and the extractor applies both. A pass means the number is internally consistent, not that it is currently registered: HMRC's own VAT number checking service answers that question.

A VAT number does not reveal the legal form of a business. Sole traders and partnerships register for VAT as well as companies, so a VAT number alone does not make a prospect a company.

Questions people ask

How do I find a company's registration number on its website?

Look in the footer first, then the terms and conditions, privacy notice and contact page. Companies and LLPs must show their registered number on their websites, usually near a phrase such as "Registered in England and Wales". Copy that text into the extractor and it pulls out the number, puts it in the standard eight-character form and links it to Companies House.

What do SC, NI and OC mean at the start of a company number?

They show which register holds the entity and what kind it is. SC is a company registered in Scotland, NI a company registered in Northern Ireland, and OC a limited liability partnership in England and Wales. Numbers with no letters are companies in England and Wales. Other prefixes include SO for Scottish LLPs and FC for overseas companies with a UK establishment.

Can this tool tell me if a company is still active?

No. It reads text and checks the format, and it never contacts Companies House or any other service. Each valid company number links to its official register page, where you can see the current status, such as active, dissolved or in liquidation, along with the registered office and the officers.

Why is my VAT number marked as failing?

UK VAT numbers end in check digits calculated from the first seven. If the digits do not add up under either of HMRC's two series, the number has almost certainly been mistyped, either on the website or while copying. Compare it with an invoice, or ask the business, before using it. A passing number still needs HMRC's checker to confirm registration.

Does it work on HTML source code?

Yes. Paste the page source and the extractor removes scripts, styles and comments, turns tags into spaces and decodes entities such as   and © before searching. Numbers inside scripts are ignored on purpose, since they are rarely the company's own details. The same number found twice on a page is listed once.

Where your data goes

Everything you paste is scanned by JavaScript in this tab. The extractor does not visit the website, query Companies House or HMRC, or send the text anywhere. Company number links open the public register only when you select them.

Checked against the tool on

Top