Fake Company Registration Number Generator

Company number format stubs for business tool demos

Generate company registration number strings in the correct format for major jurisdictions — UK Companies House numbers, US EIN, and German Handelsregister numbers. Realistic structure for testing business and onboarding tools. For demo use only. It runs free in your browser on Gera Tools, with nothing uploaded.

Last updated Source: Gera Tools

Are these real company numbers?

No. They are randomly generated strings that merely follow the structural format of each jurisdiction. They are not registered to any real company and should never be used to impersonate a business.

A company registration number is the unique identifier a government registry assigns to an incorporated business — like a UK Companies House number or a US Employer Identification Number (EIN). When building onboarding flows, KYC checks, or business directories you need realistic test values that match the expected format. This tool generates fictional, correctly-structured numbers for major jurisdictions. They are for demos and testing only and are not registered to any real company.

How it works

Each jurisdiction has its own structure, which the generator reproduces faithfully:

  1. UK Companies House — eight characters. England and Wales numbers are eight digits; Scotland and Northern Ireland use the prefixes SC or NI followed by six digits.
  2. US EIN — nine digits formatted XX-XXXXXXX. The leading two digits are an IRS campus prefix, so the tool draws only from the published valid prefix ranges.
  3. Germany (Handelsregister) — a court division code (HRA for partnerships or HRB for limited companies) followed by a registration number.

The random parts are filled in locally and assembled into the correct layout for the chosen jurisdiction.

Tips and notes

  • These values pass simple format checks but will never match a real registry lookup, which is exactly what you want for safe test data.
  • Use the UK prefixed style (SC/NI) when you need to test that your parser handles non-numeric company numbers.
  • Generate a batch to seed a database table or fill a CSV of fixtures in one go.
  • Everything runs locally with no API call, so you can generate as many as you need.

Why format-correct test data matters

A common mistake in testing business-onboarding or KYC flows is to use placeholder strings like 12345678 or TEST001. These strings are structurally wrong for the field they occupy: a real UK Companies House validation would reject TEST001 at the first character, masking format-validation bugs you would only discover in staging when someone enters a Scottish company. Using structurally valid test data means format-validation logic is exercised on every test run.

A second reason is visual review: a form screenshot with 12345678 or ABC in the company number field looks like a prototype rather than a finished product. Correct-format values like SC482917 make UI screenshots and demo walkthroughs look polished.

Jurisdiction format reference

JurisdictionFormatExample
UK (England & Wales)8 digits04835271
UK (Scotland)SC + 6 digitsSC482917
UK (Northern Ireland)NI + 6 digitsNI072341
US EINXX-XXXXXXX (9 digits)47-2839104
Germany (GmbH/AG)HRB + numberHRB 182943
Germany (partnerships)HRA + numberHRA 29017

Not to be confused with

  • VAT registration numbers — a separate identifier used for tax purposes (for example, UK VAT numbers follow a different format: GB + 9 digits). See the fake VAT number generator for those.
  • D-U-N-S numbers — issued by Dun & Bradstreet, not a government registry.
  • LEI (Legal Entity Identifier) — a 20-character ISO standard for financial market participants.