HomePhone numbers › San Marino
● San Marino · +378

San Marino phone number validator & formatter

Check whether a San Marino 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
San Marino phone number  ·  country

San Marino phone number format

CountrySan Marino (SM)
Country calling code+378
Example number (international)+378 66 66 12 12
National format66 66 12 12
E.164 format+37866661212
RFC 3966 (tel: URI)tel:+37866661212
Example line typemobile

To dial a San Marino number from abroad, start with the country code +378 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 +37866661212: a leading +, the country code, and the national number with no spaces or separators.

Validate San Marino 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 San Marino number via the API
curl "https://phone-validation-and-formatting.p.rapidapi.com/v1/validate?number=%2B37866661212" \
  -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 San Marino?

The country calling code for San Marino is +378. A full number in international (E.164) form looks like +37866661212.

What does a valid San Marino phone number look like?

A typical San Marino mobile number is written +378 66 66 12 12 internationally, 66 66 12 12 nationally, or +37866661212 in E.164 format.

How do I validate a San Marino phone number in code?

Send one GET request to the Phone Validation API with the number and country code "SM". 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