Random address in Midlothian, United Kingdom

19 cities and towns and 206 postcode areas in Midlothian, United Kingdom. Every address keeps a real city, region and postcode together; the street and house number are invented.

TempGeneratorGetting things ready…

Test data: real cities, regions and postcodes with invented streets and house numbers. Not verified for delivery. Do not use them to pass identity or address checks, to order deliveries, or to mislead anyone.

Type 2+ letters and pick a city.

1–100 per batch.

Random addresses in Midlothian, United Kingdom

10 addresses generated.

  1. Street address
    89 Mill Crescent
    City
    Pathhead
    Postcode / ZIP
    EH37 5QJ
    State / region
    Midlothian
    Country
    United Kingdom
  2. Street address
    12 Cromwell Avenue
    City
    Rosewell
    Postcode / ZIP
    EH24 9AN
    State / region
    Midlothian
    Country
    United Kingdom
  3. Street address
    9 Meadow View
    City
    Midlothian
    Postcode / ZIP
    EH22 2GL
    State / region
    Midlothian
    Country
    United Kingdom
  4. Street address
    36 Highfield Gardens
    City
    Gorebridge and Mayfield
    Postcode / ZIP
    EH23 4LF
    State / region
    Midlothian
    Country
    United Kingdom
  5. Street address
    156 High View
    City
    Bonnyrigg
    Postcode / ZIP
    EH19 3FQ
    State / region
    Midlothian
    Country
    United Kingdom
  6. Street address
    66 Regent Street
    City
    Penicuik
    Postcode / ZIP
    EH26 8DP
    State / region
    Midlothian
    Country
    United Kingdom
  7. Street address
    71 Market Grove
    City
    Dalkeith
    Postcode / ZIP
    EH22 1RZ
    State / region
    Midlothian
    Country
    United Kingdom
  8. Street address
    3 Princes Court
    City
    Gorebridge
    Postcode / ZIP
    EH23 4FF
    State / region
    Midlothian
    Country
    United Kingdom
  9. Street address
    22 Lime Row
    City
    Penicuik
    Postcode / ZIP
    EH26 8AP
    State / region
    Midlothian
    Country
    United Kingdom
  10. Street address
    28 Rose Mews
    City
    Bilston
    Postcode / ZIP
    EH25 9TD
    State / region
    Midlothian
    Country
    United Kingdom

Cities and towns in Midlothian

19
Population
  1. Edinburgh 514,990
  2. Bonnyrigg 18,320
  3. Penicuik 16,150
  4. Mayfield 13,690
  5. Dalkeith 12,720
  6. Loanhead 6,350
  7. Gorebridge 6,330
  8. Danderhall 2,770
  9. Rosewell 2,020
  10. Roslin 1,630
  11. Bilston 1,210
  12. Bush

Anatomy of an address in Midlothian, United Kingdom

Postcodes come from GeoNames postal data and belong to the city shown.

Postcode pattern
@# #@@
Cities and towns
19
Postcode areas
206
  1. 66 York Courtstreet and number
  2. PATHHEADCITY
  3. EH37 5SHpostcode
  4. UNITED KINGDOMCOUNTRY
A fixed sample for this page. Generate above for new ones.

How to generate random addresses

  1. Choose a country, then a state or region, or search for a city.

  2. Set how many addresses you need (1–100) and generate.

  3. Copy one field, one address or the whole batch, or download it as JSON or CSV.

Where the places come from

Cities, regions and postcodes come from GeoNames under a CC BY 4.0 licence. Streets and house numbers are built from common local street names, so a match with a real address is a coincidence.

UK postcodes contain Royal Mail data © Royal Mail copyright and database right.

Useful for forms and software tests

Test checkout and shipping forms, postcode validation, address layouts in other languages, database seeds and demos. Store postcodes as text: many start with zero or contain letters.

Questions about random addresses

How do you write an address in Midlothian?

Line by line: street and number / CITY / postcode / COUNTRY. For example: 66 York Court, PATHHEAD, EH37 5SH, UNITED KINGDOM.

What is the postcode format in Midlothian?

United Kingdom uses the postcode pattern @# #@@, where # is a digit and @ is a letter.

Which places can I get a random address for in Midlothian?

19 cities and towns, for example Edinburgh, Bonnyrigg, Penicuik, Mayfield, Dalkeith. Pick a region or search for any city.

Are these real addresses?

The city, region and postcode are real and appear together in postal data. The street and house number are invented, so the full address is test data and is not checked for delivery.

Can I generate many addresses at once?

Yes, up to 100 per batch. Copy them all or download JSON or CSV. Places can repeat when a city has few postcodes, but every address in a batch is different.

Can I link to a batch or use it in a script?

Every country, region and city has its own page. Add ?count=25 to the page address to set the batch size, or add &format=json to get JSON.

All countries

247 countries and territories, 493,219 cities and towns, 1,632,591 postcode areas.

Europe 53

Asia 51

North America 41

South America 14

Africa 58

Oceania 27

Antarctica 3