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

ParameterValue
Royal Mail post townEDINBURGH
Postcode areasEH
Postcode districts17
Council areaCity of Edinburgh
CountryScotland
RegionScotland
Dialling code0131
Telephone range used0131 496 0xxx (Ofcom drama range)
Time zoneEurope/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

Related tools

Address generators by location

Countries

Post towns