Iran Phone Number Format
Country code +98 · ISO IR
How to format, dial, and validate Iran phone numbers, with live examples.
Country Code
+98
National Prefix
0
International Prefix
00
Mobile Portability
Yes
Try it now
Pre-filled with a valid fixed line number for Iran. Edit it and click "Try It" to see the parsed result.
Number Types & Example Formats
Each Iran phone-number type supported by libphonenumber, with a real example formatted three ways.
| Type | Length | National | International | E.164 |
|---|---|---|---|---|
| Fixed Line | 6, 7, or 10 digits | 021 2345 6789 | +98 21 2345 6789 | +982123456789 |
| Mobile | 10 digits | 0912 345 6789 | +98 912 345 6789 | +989123456789 |
| UAN | 4–5 digits | 09601 | +98 9601 | +989601 |
How to Dial Iran Numbers
From abroad
Dial +98 followed by the national number, dropping any leading 0.
Within Iran
Dial 0 before the local number to make a domestic call.
Dialing out of Iran
Dial 00 followed by the destination country code and number.
Area Codes
Browse Iran area codes with cities, timezones, and example numbers for each.
Validate a Iran Number with the API
Send the number to the free libphonenumber API to get the parsed country, type, formatting, and validity.
curl https://libphonenumberapi.com/api/phone-numbers/+982123456789
Frequently Asked Questions
What is the country code for Iran?
└ The international country code for Iran is +98. Use this prefix when dialing Iran numbers from another country.
How long is a Iran phone number?
└ Iran phone numbers are typically 6, 7, or 10 digits, not including the +98 country code.
How do I dial a Iran phone number from abroad?
└ From abroad, dial +98 followed by the national number, dropping any leading 0. Within Iran, dial 0 before the local number.
How do I validate a Iran 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.