Random Dunfermline Address Generator

Every address on this page is invented. This is a test-data generator, not a people-finder or an address lookup: it cannot tell you who lives at an address in Dunfermline, it cannot find a person's address, and it holds no records of any resident.

A random Dunfermline address generator produces fictional postal addresses that use real DUNFERMLINE postcode districts (KY), a real council area (Fife) and Royal Mail address formatting, for use as software test data.

Generate realistic random Dunfermline addresses for software testing. Each address combines a real DUNFERMLINE postcode district (KY11, KY12) with a British street name, the DUNFERMLINE post town and the council area of Fife, laid out to Royal Mail conventions. Telephone numbers use the 01632 960xxx range that Ofcom reserves for drama, so no generated number can reach a real subscriber.

Dunfermline postal reference

ParameterValue
Royal Mail post townDUNFERMLINE
Postcode areasKY
Postcode districts2
Council areaFife
CountryScotland
RegionScotland
Dialling code01383
Telephone range used01632 960xxx (Ofcom drama range)
Time zoneEurope/London

Postcode districts

KY11, KY12

Need only the postcodes, without the rest of the address? Use the random Dunfermline postcode generator, which covers the same 2 districts and explains what each one is.

Postal notes

  • Dunfermline was granted city status in 2022 and uses the KY postcode area named for Kirkcaldy, in the KY11 and KY12 districts.

Example Dunfermline addresses

Residential:
54 Albert Street
DUNFERMLINE
Fife
KY12 0BB

Commercial:
Fenland Consulting Trading Ltd
107 York Brae
DUNFERMLINE
Fife
KY12 8RT

Frequently asked questions

Are these real Dunfermline addresses?

No. The DUNFERMLINE post town, its 2 postcode districts and the Fife 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 Dunfermline use?

Dunfermline is served by 2 districts in the KY postcode area: KY11, KY12.

What is the dialling code for Dunfermline?

Dunfermline uses the 01383 dialling code. Generated numbers are not built on live 01383 subscriber ranges: every number comes from the 01632 960xxx block that Ofcom reserves for drama and fiction, so it can never dial a real person.

Is a county line required on a Dunfermline address?

No. Royal Mail has not required a county line since 1996 - the post town (DUNFERMLINE) and a correct postcode are sufficient. The generator includes Fife as an optional line because many address forms and legacy databases still expect one.

Can I generate Dunfermline addresses through the API?

Yes. Call GET /api/v1/addresses/random?location=dunfermline&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