libphonenumber API

Uganda Phone Number Format

Country code +256 · ISO UG

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

Country Code

+256

National Prefix

0

International Prefix

Mobile Portability

No

Try it now

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

Number Types & Example Formats

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

Type Length National International E.164
Fixed Line 9 digits 031 2345678 +256 31 2345678 +256312345678
Mobile 9 digits 0712 345678 +256 712 345678 +256712345678
Premium Rate 9 digits 0901 123456 +256 901 123456 +256901123456
Toll Free 9 digits 0800 123456 +256 800 123456 +256800123456

How to Dial Uganda Numbers

From abroad

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

Within Uganda

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

Area Codes

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

View Uganda area codes →

Validate a Uganda 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/+256312345678

Frequently Asked Questions

What is the country code for Uganda?

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

How long is a Uganda phone number?

Uganda phone numbers are typically 9 digits, not including the +256 country code.

How do I dial a Uganda phone number from abroad?

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

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