libphonenumber API

Portugal Phone Number Format

Country code +351 · ISO PT

How to format, dial, and validate Portugal phone numbers, with live examples.

Country Code

+351

National Prefix

International Prefix

00

Mobile Portability

Yes

Try it now

Pre-filled with a valid fixed line number for Portugal. Edit it and click "Try It" to see the parsed result.

Number Types & Example Formats

Each Portugal phone-number type supported by libphonenumber, with a real example formatted three ways.

Type Length National International E.164
Fixed Line 9 digits 21 234 5678 +351 21 234 5678 +351212345678
Mobile 9 digits 912 345 678 +351 912 345 678 +351912345678
Pager 9 digits 622 212 345 +351 622 212 345 +351622212345
Personal Number 9 digits 884 123 456 +351 884 123 456 +351884123456
Premium Rate 9 digits 760 123 456 +351 760 123 456 +351760123456
Shared Cost 9 digits 808 123 456 +351 808 123 456 +351808123456
Toll Free 9 digits 800 123 456 +351 800 123 456 +351800123456
UAN 9 digits 707 123 456 +351 707 123 456 +351707123456
VoiceMail 9 digits 600 110 000 +351 600 110 000 +351600110000
VoIP 9 digits 301 234 567 +351 301 234 567 +351301234567

How to Dial Portugal Numbers

From abroad

Dial +351 followed by the national number.

Dialing out of Portugal

Dial 00 followed by the destination country code and number.

Area Codes

Browse Portugal area codes with cities, timezones, and example numbers for each.

View Portugal area codes →

Validate a Portugal Number with the API

Send the number to the free libphonenumber API to get the parsed country, type, formatting, and validity.

Request
curl https://libphonenumberapi.com/api/phone-numbers/+351212345678

Frequently Asked Questions

What is the country code for Portugal?

The international country code for Portugal is +351. Use this prefix when dialing Portugal numbers from another country.

How long is a Portugal phone number?

Portugal phone numbers are typically 9 digits, not including the +351 country code.

How do I dial a Portugal phone number from abroad?

From abroad, dial +351 followed by the national number.

How do I validate a Portugal phone number programmatically?

Send a GET request to https://libphonenumberapi.com/api/phone-numbers/<number>. The free libphonenumber API returns the parsed country, format, type, and validity for any number — no API key required.