libphonenumber API

Indonesia Phone Number Format

Country code +62 · ISO ID

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

Country Code

+62

National Prefix

0

International Prefix

Mobile Portability

No

Try it now

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

Number Types & Example Formats

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

Type Length National International E.164
Fixed Line 7–11 digits (021) 8350123 +62 21 8350123 +62218350123
Mobile 9–12 digits 0812-345-678 +62 812-345-678 +62812345678
Premium Rate 10 digits 0809 1 234 567 +62 809 1 234 567 +628091234567
Shared Cost 10 digits 0804 123 4567 +62 804 123 4567 +628041234567
Toll Free 8–17 digits 0800 1234567 +62 800 1234567 +628001234567
UAN 7 or 10 digits 0807 1 123 456 +62 807 1 123 456 +628071123456

How to Dial Indonesia Numbers

From abroad

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

Within Indonesia

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

Area Codes

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

View Indonesia area codes →

Validate a Indonesia 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/+62218350123

Frequently Asked Questions

What is the country code for Indonesia?

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

How long is a Indonesia phone number?

Indonesia phone numbers are typically 7–11 digits, not including the +62 country code.

How do I dial a Indonesia phone number from abroad?

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

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