MapTools
developer toolsTest DataFree · No signup

Random UK Address Generator — Realistic Test Addresses by Town

Generate random UK test addresses with a real town, county and postcode district. Choose a town, pick how many you need, and copy correctly formatted placeholder addresses for form testing, QA and demos.

Randomly generated test data for software testing, form checks and demos. Towns, counties and postcode districts are real, but the street address is invented — it is not a real person's address and must not be used as one.

86 Queen Street

Birmingham, West Midlands, B1 5WS

Approx. map reference: 52.4783, -1.9106

118 Bridge Street

York, North Yorkshire, YO1 1WS

Approx. map reference: 53.9686, -1.0821

177 North Street

Nottingham, Nottinghamshire, NG1 0UD

Approx. map reference: 52.9544, -1.1588

159 North Street

Cambridge, Cambridgeshire, CB2 0EA

Approx. map reference: 52.2099, 0.1295

85 Manor Road

Southampton, Hampshire, SO14 4GG

Approx. map reference: 50.9085, -1.4136

Runs entirely in your browser — your inputs never leave this page.

How this tool works

  1. 1

    Choose a town (or leave All towns) and how many addresses you need, then press Generate.

  2. 2

    Each result pairs a randomly invented street address with a real town, county and genuine postcode district — the outward code is real, the inward code is randomly generated in the correct UK format.

  3. 3

    An approximate map reference near the town centre is included with every address for map and location-field testing.

  4. 4

    Everything is generated in your browser. Nothing is stored or sent anywhere.

Common uses

  • Testing UK checkout and delivery forms
  • Seeding demo and staging databases with realistic UK addresses
  • QA for postcode validation and address lookup flows

Frequently asked questions

The street address is randomly invented. The town, county and postcode district are real. A generated address is not a real person’s address and must not be used as one.

More in Developer Tools

View all →
Worked example

Building Sample Checkout Records for a Shop Opening in Leeds, England

Sofia is a developer in Manchester who is building a demo website for a small retailer opening a second shop in Leeds. The client wants to see the checkout, the delivery options, and the order confirmation emails working with realistic British addresses — but handing over real customer records for a demo is out of the question. So Sofia opens the random UK address generator and creates fifty sample addresses. Each one has a house number, a street, a town, a county where one applies, and a full postcode, ready to drop into the demo database so the site looks and behaves like the real thing.

The first sample reads 42 Briggate, Leeds, West Yorkshire, LS1 6HD. Briggate is a real shopping street in the middle of Leeds, and LS1 is the genuine postcode district for Leeds city centre — the outward code, the part before the space, is what sorts mail to the right town and district. The second half, 6HD, is the inward code, generated in the correct format of a digit followed by two letters; those letters are drawn from a set that leaves out C, I, K, M, O, and V, so nothing can be misread. Further down her list an Edinburgh sample starts EH1, the city-centre district there, and the demo form accepts every one because each postcode is correctly built.

Sofia loads the samples and walks the client through the demo. The checkout splits each postcode into its outward and inward parts without complaint, delivery pricing treats the Leeds addresses as local and the Edinburgh one as a longer trip, and the confirmation emails show tidy, believable order details. She also learns something useful along the way: for the Edinburgh records the county box is best left blank, because modern UK addresses rely on the town and postcode, not a county. The client approves the demo on the spot, and because every address in it is generated, Sofia can share screenshots and a test login freely without exposing anyone's real details.

The honest limits matter as much as the convenience. These are made-up addresses: the streets and towns are real, and the postcode districts are real, but the house numbers are random, so a sample may not match any actual building on that street. Sofia uses them only for demos, form testing, and design mock-ups — never to register accounts, place real orders, or have post sent anywhere. That clear line is what makes the tool safe and useful. When the real shop opens, real customers type their own real addresses, and the demo database with its fifty imaginary shoppers is deleted in one click.

Common mistakes to avoid

  • Copying a famous real postcode as your sample. Postcodes like SW1A 1AA, which belongs to Buckingham Palace, are real addresses, not test data. Pasting real postcodes into demos and screenshots shares genuine location details and can route test orders to real places. Generate samples instead — realistic structure, nobody's actual address.
  • Getting the postcode format wrong. A UK postcode is two parts with a space between them: the outward code, then the inward code of one digit and two letters. Random letters typed anywhere will fail validation, and the inward letters never use C, I, K, M, O, or V. If your samples keep failing the form, the format is the first thing to check.
  • Assuming a generated address is deliverable. The street is real and the postcode district is real, but the random house number may not exist on that street at all. Generated addresses are for testing forms and demos — using one on a real order or sign-up sends post, parcels, or accounts toward a building that may not be there.

Pro tips

  • Test with samples from several postcode areas, including rural ones — delivery pricing and address forms often behave differently outside the big cities.
  • Include one address from each nation of the UK — England, Scotland (EH1), Wales (CF10), and Northern Ireland (BT1) — so UK-wide forms are properly covered.
  • Keep the space inside the postcode when you paste samples in; many British forms store the outward and inward parts separately.
Geospatial Engineering Reference & Field Manual

Applied Geospatial: Aviation, Marine, Time & Map APIs

Where mapping meets the real world: how planes navigate the curve of the Earth, how ships measure the sea, how time zones really work, and how developers build on map tiles and APIs. Written for Random UK Address Generator — Realistic Test Addresses by Town and the everyday mapping tasks around it.

1

Great-Circle Navigation: Why Planes Arc

The shortest path between two points on a sphere is a great circle — the route you get slicing the planet through its center. On a flat map this looks like a dramatic arc, which is why New York to Tokyo flights swing near Alaska. The map is lying; the plane is flying straight.

Airlines do not fly perfect great circles. Jet streams — rivers of wind at 35,000 feet — can add 100 mph to ground speed or subtract it. Dispatchers nudge routes into favorable winds, trading a few extra miles for much faster trips. The planned track is a great circle bent by the weather.

For flight planning, distances come in flavors. Great-circle miles are the geometric minimum; filed flight plans run 3 to 7 percent longer for airways and maneuvering. Fuel planning adds reserves on top. When a tool reports 5,500 miles for a transatlantic hop, the airline plans for 5,800.

Airports are identified by two code systems. The 3-letter IATA codes (JFK, LHR, CDG) are for travelers; the 4-letter ICAO codes (KJFK, EGLL, LFPG) are for pilots and air traffic control, with the first letter naming the region. Both point to the same runways.

2

At Sea: Nautical Miles, Knots & Rhumb Lines

A nautical mile is one minute of latitude — about 1.15 land miles or 1.85 kilometers. Because it derives from the Earth's geometry, it is the natural unit for marine navigation: one minute of latitude traveled equals one nautical mile made good, anywhere on the planet.

Speed at sea is measured in knots — nautical miles per hour. The word comes from sailors tossing a knotted rope overboard and counting knots paid out against a sandglass. A container ship at 20 knots covers about 480 nautical miles a day, which is why your overseas order takes weeks.

Sailors historically steered rhumb lines: courses of constant compass bearing. A rhumb line spirals toward the pole and runs longer than the great circle, but it is trivially easy to follow — just hold the heading. Modern ships with GPS follow great circles, but the rhumb line remains the backup every navigator learns.

Ports are the fixed points of maritime geography. Each major harbor publishes exact coordinates for its harbor entrance, and shipping contracts price by port pair. A few miles of error in a port position can misroute a vessel into the wrong traffic lane — precision matters even on the open ocean.

This page shows the first two chapters. Read the complete this category field guide →