libphonenumber API

Peru Phone Number Format

Country code +51 · ISO PE

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

Country Code

+51

National Prefix

0

International Prefix

Mobile Portability

Yes

Try it now

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

Number Types & Example Formats

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

Type Length National International E.164
Fixed Line 8 digits (01) 1234567 +51 1 1234567 +5111234567
Mobile 9 digits 912 345 678 +51 912 345 678 +51912345678
Personal Number 8 digits (0802) 12345 +51 802 12345 +5180212345
Premium Rate 8 digits (0805) 12345 +51 805 12345 +5180512345
Shared Cost 8 digits (0801) 12345 +51 801 12345 +5180112345
Toll Free 8 digits (0800) 12345 +51 800 12345 +5180012345

How to Dial Peru Numbers

From abroad

Dial +51 followed by the national number, dropping any leading 0.

Within Peru

Dial 0 before the local number to make a domestic call.

Area Codes

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

View Peru area codes →

Validate a Peru 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/+5111234567

Frequently Asked Questions

What is the country code for Peru?

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

How long is a Peru phone number?

Peru phone numbers are typically 8 digits, not including the +51 country code.

How do I dial a Peru phone number from abroad?

From abroad, dial +51 followed by the national number, dropping any leading 0. Within Peru, dial 0 before the local number.

How do I validate a Peru 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.