United Kingdom Test Address Generator

This tool generates complete, randomly assembled United Kingdom identities for software development and testing: a name, a street address, a post town, a postcode in valid British format, a phone number with the correct +44 structure, and supporting profile fields. Every value is produced locally in your browser by combining random entries from public-format word lists — none of it belongs to a real person, and nothing you generate is ever sent to a server.

Generator

Generates virtual test data matching the selected country's format. All data is random and does not represent real individuals.

Generated Result

🎲

Select a country and click "Generate" to create test data

🔥 Popular Cities

London
Manchester
Birmingham
Liverpool
Edinburgh
Glasgow
Bristol
Cardiff

About this country’s address format

Test addresses like these are used to fill registration forms during QA, seed staging databases, exercise address-parsing and postcode-validation code, and demo products without exposing real customer data. Below the generator you will find a practical reference to how UK addresses, postcodes, and phone numbers are structured, so you can check that your own validation logic matches how Britain actually writes addresses.

How a UK address is structured

A British address is written from the most specific element to the most general: the house, then the street, then the locality, then the post town and postcode. The house number or name comes before the street name — "10 Downing Street", not "Downing Street 10". House names are a genuine feature of UK addressing, especially in rural areas and villages, where a property may be identified as "Rose Cottage, Church Lane" with no number at all. Validation code that insists on a leading digit will reject perfectly real addresses.

Flats and subdivided buildings add a unit line before or alongside the building: "Flat 3, 12 Victoria Road" or "Flat B, Ashworth House". The post town is the town Royal Mail routes deliveries through, written traditionally in capitals, and it is not always the nearest town on a map. Counties such as Kent or Greater Manchester were once required, but Royal Mail now treats the county as optional — the post town and postcode are sufficient — so address forms should never make the county field mandatory.

UK postcodes: outward and inward codes

A UK postcode has two parts separated by a single space, always written in uppercase. The outward code identifies the postcode area (one or two letters, such as SW for south-west London or M for Manchester) followed by the district (one or two digits, sometimes with a trailing letter). The inward code is always one digit — the sector — followed by two letters that pinpoint the unit, often a single street segment or building. In SW1A 1AA, the outward code is SW1A and the inward code is 1AA.

The overall shape varies more than most developers expect: SW1A 1AA, M1 1AE, B33 8TH, CR2 6XH, and EC1A 1BB are all valid, so the outward code alone ranges from two to four characters. Because a full postcode resolves to roughly fifteen properties on average, postcodes carry real geographic meaning and are central to UK address lookup flows, where users type a postcode first and pick their house from a list.

UK phone number formats

UK numbers are written with a leading 0 domestically and with the +44 country code internationally, where the 0 is dropped: 020 7946 0123 becomes +44 20 7946 0123. Area codes vary in length — 020 covers London, 0161 covers Manchester, and smaller towns use longer codes such as 01865 for Oxford. Mobile numbers begin with 07 and are usually grouped as 07xxx xxxxxx. Numbers generated here use valid-looking structures with randomized digits — ideal for testing input masks and formatting logic, but they should never be dialled or used for SMS verification.

Why UK postcodes break naive validation

UK postcodes are a classic regex trap. A pattern like two letters, one digit, space, one digit, two letters will reject SW1A 1AA (four-character outward code), M1 1AE (single-letter area), and CR2 6XH — while lax patterns accept strings no postcode could ever match. Real rules go further: certain letters never appear in certain positions (Q, V, and X never start a postcode; C, I, K, M, O, and V never appear in the final two positions), and users routinely submit lowercase input or omit the space, so robust code normalizes before validating.

This is exactly why testing with varied generated postcodes matters. A generator that produces SW1A 1AA-style, M1 1AE-style, and B33 8TH-style codes will expose format assumptions that a handful of hand-typed examples never would. Typical workflows include filling checkout and signup forms during manual QA, generating fixture data for automated end-to-end tests, populating staging environments, and producing screenshots and demos that contain no real personal information — a requirement under privacy rules like UK GDPR.

Frequently Asked Questions

Are these real UK addresses? +

No. Street names, house numbers, post towns, and postcodes are combined at random. A generated address may coincidentally resemble a real place, but it is not taken from the Postcode Address File or any database of real addresses or people, and it is not guaranteed to be deliverable.

Can I use a generated address to receive mail or verify an account? +

No. The data is for software testing, form validation, and demos only. It will not pass identity or address verification, and using invented data to mislead a service or person may violate that service’s terms or the law.

Do the generated postcodes match the generated post town? +

Post towns are drawn from real UK geography and postcodes follow valid structural patterns, but full town-to-postcode consistency is not guaranteed. For strict deliverability testing, use Royal Mail’s official address data; for format, parsing, and UI testing, generated data is exactly what you need.

Is the generated National Insurance number real? +

No. The NI number field follows the standard two-letters, six-digits, one-letter pattern with random values and is intended only for testing input masks and storage. It is not issued by HMRC or DWP and does not belong to anyone.