Menu

Sri Lanka Address & Identity Data Generator

Generate Sri Lanka addresses and identities in your browser: correctly formatted postal codes, phone numbers and NIC, with the administrative division and city always taken from the same data record so they can never disagree. Every value is synthesised by algorithm and corresponds to no real person, address or account.

Sri Lanka at a glance

Nationality
Sri Lankan
Official language
English
Currency
LKR Rs
Calling code
+94
Postal code
5 digits · Public postal data
National ID
NIC
Format
12 digits
Check digit
Format only
Top-level division
Province
Divisions
9
Cities covered
64

Sri Lanka NIC format and check digit

Sri Lanka's NIC uses the format 12 digits. No check-digit algorithm has been published for it, so only the length and character structure are guaranteed; the interface marks it “format only” rather than implying the number is valid.

Sri Lanka postal code rules

Sri Lanka postal codes use the format 5 digits. The divisions and cities come from public postal data, so a code's prefix matches the country's actual districts.

Time zone of Sri Lanka

Sri Lanka keeps time in Asia/Colombo, UTC+05:30 relative to UTC.

How this is counted: the city zones come from GeoNames' `timezone` field, the main zone is the one holding most of the recorded population, and the largest city behind that choice is Colombo.

What Sri Lanka data is good for

Four jobs come up again and again with Sri Lanka records: testing signup and checkout forms, where an address, NIC and phone number in the local format exercise required-field, length and conditional validation; seeding a staging database so screens and API responses have something to render; filling a third-party form that asks for personal details without handing over your own; and demos, screenshots and design mockups, which need records that look real but belong to nobody.

Example address

Full name
Oswaldo Yost
Gender
Female
Date of birth
1978-12-20
Full address
148 Matara Road, Tangalle, 82200, Sri Lanka
Postal code
82200
Phone
+94 72 642 0290
National ID
197885457586
Username
oswaldoyost38

The record below is synthesised to show field formats. It is not real information.

Generate Sri Lanka data now

Generate Sri Lanka data now

Lawful use of Sri Lanka data

Every Sri Lanka address and NIC here is synthesised by algorithm and belongs to no real person, address or account: the 9 divisions and 64 cities on this page are real place names, while the house numbers, names and numbers are not. The postcode follows the country's real format. The generator guarantees only that the number follows the country's format (the number carries no real check digit and may not pass a check that verifies one), which does not mean it will not collide with a real person's, so use these records for testing, development, demos and privacy-preserving form filling, never to defraud anyone, pass as another person or circumvent the law. Values are generated locally and never uploaded; the privacy policy and disclaimer linked in the footer carry the full statement.

Frequently asked questions

Are Sri Lanka test addresses real?

No. Every field is synthesised by an algorithm and corresponds to no real person, address or account. The divisions and cities are real names; the house numbers, names and ID numbers are not.

Does the generated NIC pass validation?

Sri Lanka's NIC uses the format 12 digits. No check-digit algorithm has been published for it, so only the length and character structure are guaranteed; the interface marks it “format only” rather than implying the number is valid.

Can the postal code and city disagree?

No. The division, city and postal code come from one data record: a division is chosen, then a city within it, then a code built from that division's real postal rules.

Can I reproduce the same record?

Yes. The identity key determines every random draw, so the same key, country and gender always produce an identical record — which is what makes it usable as a fixed sample in automated tests.

These answers describe what this site's data and algorithms actually do. Nothing here is a guess.

Other countries

See all supported countries and regions