Random Edinburgh Address Generator
A random Edinburgh address generator produces fictional postal addresses that use real EDINBURGH postcode districts (EH), a real council area (City of Edinburgh) and Royal Mail address formatting, for use as software test data.
Generate realistic random Edinburgh addresses for software testing. Each address combines a real EDINBURGH postcode district (EH1, EH2, EH3, EH4, EH5, EH6 and 11 more) with a British street name, the EDINBURGH post town and the council area of City of Edinburgh, laid out to Royal Mail conventions. Telephone numbers use the 0131 496 0xxx range that Ofcom reserves for drama, so no generated number can reach a real subscriber.
Edinburgh postal reference
| Parameter | Value |
|---|---|
| Royal Mail post town | EDINBURGH |
| Postcode areas | EH |
| Postcode districts | 17 |
| Council area | City of Edinburgh |
| Country | Scotland |
| Region | Scotland |
| Dialling code | 0131 |
| Telephone range used | 0131 496 0xxx (Ofcom drama range) |
| Time zone | Europe/London |
Postcode districts
EH1, EH2, EH3, EH4, EH5, EH6, EH7, EH8, EH9, EH10, EH11, EH12, EH13, EH14, EH15, EH16, EH17
Localities
- Old Town (EH1)
- New Town (EH2)
- Tollcross (EH3)
- Blackhall (EH4)
- Granton (EH5)
- Leith (EH6)
- Abbeyhill (EH7)
- Newington (EH8)
- Marchmont (EH9)
- Morningside (EH10)
- Gorgie (EH11)
- Corstorphine (EH12)
- Colinton (EH13)
- Juniper Green (EH14)
- Portobello (EH15)
- Liberton (EH16)
- Gilmerton (EH17)
Postal notes
- Edinburgh is the capital of Scotland and the origin of the EH postcode area, which extends into the Lothians and the Scottish Borders.
- Scottish addresses use council areas such as City of Edinburgh in place of English-style counties.
Example Edinburgh addresses
Residential:35 Devonshire Gardens
Liberton
EDINBURGH
City of Edinburgh
EH16 6YU
Commercial:Redbrick Logistics Services Ltd
Unit 26
130 Mill Bank Place
Gorgie
EDINBURGH
City of Edinburgh
EH11 8ZB
Frequently asked questions
- Are these real Edinburgh addresses?
No. The EDINBURGH post town, its 17 postcode districts and the City of Edinburgh council area are genuine, but the house numbers, street pairings and names are fictional and the last three characters of each postcode are generated. The results are structurally valid test data, not deliverable addresses.
- Which postcode districts does Edinburgh use?
Edinburgh is served by 17 districts in the EH postcode area: EH1, EH2, EH3, EH4, EH5, EH6, EH7, EH8, EH9, EH10, EH11, EH12, EH13, EH14, EH15, EH16, EH17.
- What is the dialling code for Edinburgh?
Edinburgh uses the 0131 dialling code. Generated numbers are not built on live 0131 subscriber ranges: every number comes from the 0131 496 0xxx block that Ofcom reserves for drama and fiction, so it can never dial a real person.
- Is a county line required on a Edinburgh address?
No. Royal Mail has not required a county line since 1996 - the post town (EDINBURGH) and a correct postcode are sufficient. The generator includes City of Edinburgh as an optional line because many address forms and legacy databases still expect one.
- Can I generate Edinburgh addresses through the API?
Yes. Call GET /api/v1/addresses/random?location=edinburgh&count=25 for JSON, or add &format=csv, &format=sql or &format=xml for bulk export. No API key is required.
Nearby generators
- Random Stirling address generator (50 km)
- Random Perth address generator (51 km)
- Random Dundee address generator (58 km)
- Random Glasgow address generator (67 km)
- Random Carlisle address generator (119 km)
- Random Newcastle upon Tyne address generator (147 km)
Related tools
Address generators by location
Countries
- Random England address generator — 407 postcode districts
- Random Scotland address generator — 66 postcode districts
- Random Wales address generator — 22 postcode districts
- Random Northern Ireland address generator — 21 postcode districts
Post towns
- Random Aberdeen address generator (AB)
- Random Bangor address generator (LL)
- Random Bath address generator (BA)
- Random Belfast address generator (BT)
- Random Birmingham address generator (B)
- Random Blackpool address generator (FY)
- Random Bournemouth address generator (BH)
- Random Bradford address generator (BD)
- Random Brighton address generator (BN)
- Random Bristol address generator (BS)
- Random Cambridge address generator (CB)
- Random Cardiff address generator (CF)
- Random Carlisle address generator (CA)
- Random Chester address generator (CH)
- Random Coventry address generator (CV)
- Random Derby address generator (DE)
- Random Dundee address generator (DD)
- Random Edinburgh address generator (EH)
- Random Exeter address generator (EX)
- Random Glasgow address generator (G)
- Random Gloucester address generator (GL)
- Random Inverness address generator (IV)
- Random Ipswich address generator (IP)
- Random Kingston upon Hull address generator (HU)
- Random Leeds address generator (LS)
- Random Leicester address generator (LE)
- Random Lisburn address generator (BT)
- Random Liverpool address generator (L)
- Random London address generator (E, EC, N, NW, SE, SW, W, WC)
- Random Londonderry address generator (BT)
- Random Luton address generator (LU)
- Random Manchester address generator (M)
- Random Middlesbrough address generator (TS)
- Random Milton Keynes address generator (MK)
- Random Newcastle upon Tyne address generator (NE)
- Random Newport address generator (NP)
- Random Newry address generator (BT)
- Random Northampton address generator (NN)
- Random Norwich address generator (NR)
- Random Nottingham address generator (NG)
- Random Oxford address generator (OX)
- Random Perth address generator (PH)
- Random Peterborough address generator (PE)
- Random Plymouth address generator (PL)
- Random Portsmouth address generator (PO)
- Random Preston address generator (PR)
- Random Reading address generator (RG)
- Random Sheffield address generator (S)
- Random Southampton address generator (SO)
- Random Stirling address generator (FK)
- Random Stoke-on-Trent address generator (ST)
- Random Sunderland address generator (SR)
- Random Swansea address generator (SA)
- Random Swindon address generator (SN)
- Random Wolverhampton address generator (WV)
- Random Wrexham address generator (LL)
- Random York address generator (YO)