libphonenumber API

South Africa Phone Number Format

Country code +27 · ISO ZA

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

Country Code

+27

National Prefix

0

International Prefix

00

Mobile Portability

Yes

Try it now

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

Number Types & Example Formats

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

Type Length National International E.164
Fixed Line 9 digits 010 123 4567 +27 10 123 4567 +27101234567
Mobile 5–9 digits 071 123 4567 +27 71 123 4567 +27711234567
Premium Rate 9 digits 086 234 5678 +27 86 234 5678 +27862345678
Shared Cost 9 digits 0860 123 456 +27 860 123 456 +27860123456
Toll Free 9 digits 080 123 4567 +27 80 123 4567 +27801234567
UAN 9–10 digits 086 112 3456 +27 86 112 3456 +27861123456
VoIP 9 digits 087 123 4567 +27 87 123 4567 +27871234567

How to Dial South Africa Numbers

From abroad

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

Within South Africa

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

Dialing out of South Africa

Dial 00 followed by the destination country code and number.

Area Codes

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

View South Africa area codes →

Validate a South Africa 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/+27101234567

Frequently Asked Questions

What is the country code for South Africa?

The international country code for South Africa is +27. Use this prefix when dialing South Africa numbers from another country.

How long is a South Africa phone number?

South Africa phone numbers are typically 9 digits, not including the +27 country code.

How do I dial a South Africa phone number from abroad?

From abroad, dial +27 followed by the national number, dropping any leading 0. Within South Africa, dial 0 before the local number.

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