HomeFree ToolsUse CasesPricingBlog
Free tool

Spain Phone Number Format

Spain phone numbers use the country code +34. A Spain mobile number is 9 digits and is written 612 34 56 78 nationally, or +34 612 34 56 78 in international format. In E.164 (the format APIs expect) it is +34612345678, with no spaces or leading zero.

CountrySpain
Country calling code+34
Example mobile (national)612 34 56 78
Example mobile (international)+34 612 34 56 78
Example mobile (E.164)+34612345678
National number length9 digits

Validate a Spain phone number

Works for US & Canada numbers. Enter a 10-digit number, e.g. (415) 555-0132.

Free & rate-limited. No signup required to try.

How to format a Spain phone number

  1. Start from the national number as written locally: 612 34 56 78.
  2. Drop the leading trunk digit (the national prefix, usually a leading 0) if present.
  3. Add the country code +34 in front to dial from abroad: +34 612 34 56 78.
  4. For APIs, SMS, and storage, use E.164, no spaces or dashes: +34612345678.

Frequently asked questions

What is the country code for Spain?

The international calling code for Spain is +34. You add it before the national number (dropping any leading 0) when dialing from abroad, for example +34 612 34 56 78.

How many digits is a Spain phone number?

A Spain mobile number has 9 digits in its national significant number (the part after the +34 country code). Example: 612 34 56 78.

How do I write a Spain number in E.164 format?

E.164 is the international standard most APIs and SMS gateways require: a plus sign, the country code, then the national number with no spaces, dashes, or leading zero. For Spain that looks like +34612345678.

How can I check if a Spain phone number is valid?

Paste the number into the validator above. 1Lookup parses it, checks it against Spain's numbering rules, and returns its line type and carrier so you know whether it is real and reachable.

Validate Spain numbers in bulk

Create a free 1Lookup account to validate whole lists of Spain numbers with line type, carrier, and reachability, 1,000 free lookups to start.