Menu

Portugal Address & Identity Data Generator

Generate Portugal addresses and identities in your browser: correctly formatted postal codes, phone numbers and Tax Number (NIF), 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.

Portugal at a glance

Nationality
Portuguese
Official language
Portuguese
Currency
EUR €
Calling code
+351
Postal code
4 digits - 3 digits · Public postal data
National ID
Tax Number (NIF)
Format
9 digits
Check digit
Official check digit
Top-level division
District
Divisions
20
Cities covered
308

Portugal Tax Number (NIF) format and check digit

Portugal's Tax Number (NIF) uses the format 9 digits, and the official check-digit algorithm is implemented — a number this tool generates passes the same validation the real one would.

Portugal postal code rules

Portugal postal codes use the format 4 digits - 3 digits. The divisions and cities come from public postal data, so a code's prefix matches the country's actual districts.

Time zone of Portugal

Portugal keeps time in Europe/Lisbon, UTC+00:00 – UTC+01:00 relative to UTC (UTC+01:00 during daylight saving). The cities listed on this page span 3 time zones, from UTC-01:00 to UTC+01:00.

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 Lisbon.

What Portugal data is good for

Four jobs come up again and again with Portugal records: testing signup and checkout forms, where an address, Tax Number (NIF) 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
Bárbara Wison Anjos
Gender
Female
Date of birth
1979-09-29
Full address
Rua da Muralha, 15, 6350-114 Almeida, Portugal
Postal code
6350-114
Phone
+351 930 840 783
National ID
371302234
Username
brbaraanjos13

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

Generate Portugal data now

Generate Portugal data now

Lawful use of Portugal data

Every Portugal address and Tax Number (NIF) here is synthesised by algorithm and belongs to no real person, address or account: the 20 divisions and 308 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 a real check digit and passes the country's format and checksum checks), 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 Portugal 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 Tax Number (NIF) pass validation?

Portugal's Tax Number (NIF) uses the format 9 digits, and the official check-digit algorithm is implemented — a number this tool generates passes the same validation the real one would.

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