HomePhone numbers › Iran
● Iran · +98

Iran phone number validator & formatter

Check whether a Iran number is valid, detect its line type, and convert it to E.164, international, or national format — instantly and free. Powered by Google's libphonenumber.

validates in your browser — nothing is sent anywhere
Iran phone number  ·  country

Iran phone number format

CountryIran (IR)
Country calling code+98
Example number (international)+98 912 345 6789
National format0912 345 6789
E.164 format+989123456789
RFC 3966 (tel: URI)tel:+989123456789
Example line typemobile

To dial a Iran number from abroad, start with the country code +98 followed by the national subscriber number. In E.164 — the format every SMS gateway, CRM, and payment provider expects — the same number is stored as +989123456789: a leading +, the country code, and the national number with no spaces or separators.

Validate Iran numbers in your app

The interactive tool above runs entirely in your browser. For server-side validation at scale — sign-up forms, lead cleaning, SMS routing — call the API. One GET request, no SDK, works in any language.

# Validate a Iran number via the API
curl "https://phone-validation-and-formatting.p.rapidapi.com/v1/validate?number=%2B989123456789" \
  -H "X-RapidAPI-Key: YOUR_KEY" \
  -H "X-RapidAPI-Host: phone-validation-and-formatting.p.rapidapi.com"

Get a free API key →  ·  1,000 free requests/month, no credit card.

Frequently asked questions

What is the country code for Iran?

The country calling code for Iran is +98. A full number in international (E.164) form looks like +989123456789.

What does a valid Iran phone number look like?

A typical Iran mobile number is written +98 912 345 6789 internationally, 0912 345 6789 nationally, or +989123456789 in E.164 format.

How do I validate a Iran phone number in code?

Send one GET request to the Phone Validation API with the number and country code "IR". The response tells you whether it is valid, the line type, and every standard format. A free tier is available.

Phone validation for every country

Validity, line-type detection, and every format from a single endpoint — 240+ countries, sub-50ms from the edge.

Start free →

Other countries