Skip to content

Phone validator, +34

This free phone number checker for Spain shows whether a number is valid.

Type a number with or without +34. The check reads it against the numbering plan for Spain in Google's libphonenumber metadata and returns its status, line type and E.164 form.

Try an example
ValidExample
E.164
+12015550123
National
(201) 555-0123
Country
United States (US)
Calling code
+1
Line type
Landline or mobile
Carrier (range holder)
Not available
Region
New Jersey
Time zones
America/New_York
Current carrier (live network)
Unlock with a free account
Ported number
Unlock with a free account
MCC / MNC
Unlock with a free account
Bulk CSV upload
Unlock with a free account
API access
Unlock with a free account

Unlock with a free account

These fields need an API key. The free plan includes 100 credits every month, no card required.

Unlock these fields

A mobile number from Spain is +34 followed by 9 digits, and the first one is 6, 7, or 9.

Digits after +34
9
Starts with
6, 71–74, 78, 96, 97
From abroad
+34 612 34 56 78
Written at home
612 34 56 78
E.164
+34612345678

After +34, a mobile number starts with 6, 71–74, 78, 96, or 97. Inside Spain it is written 612 34 56 78.

Some mobile and landline numbers share their first two digits, so those digits are not enough to tell the two apart: the check reads the full number.

A landline number from Spain is +34 followed by 9 digits, and the first one is 4, 8, or 9.

Digits after +34
9
Starts with
40, 81–88, 91–98
From abroad
+34 810 12 34 56
Written at home
810 12 34 56
E.164
+34810123456

After +34, a landline number starts with 40, 81–88, or 91–98. Inside Spain it is written 810 12 34 56.

Numbers from Spain come in 7 types, each with its own first digits.

Each row is a line type of the numbering plan, with the number of digits after +34 and the digits it starts with.

TypeDigits after +34Starts withExample
Landline940, 81–88, 91–98+34 810 12 34 56
Mobile96, 71–74, 78, 96, 97+34 612 34 56 78
Premium rate980+34 803 12 34 56
Toll-free980, 90+34 800 123 456
Shared cost990+34 901 12 34 56
Personal number970+34 701 23 45 67
Universal access number951+34 511 23 45 67

Examples come from Google's libphonenumber metadata. They are valid in format and are not assigned to real people.

Numbers from Spain are dialed the same way at home and after +34.

Spain has no trunk prefix, so nothing is dropped when +34 is added.

Written at home
612 34 56 78
From abroad
+34 612 34 56 78
E.164
+34612345678

3 common mistakes with numbers from Spain: 2 of them fail the check

Each example below was run through the same check as the tool on this page, starting from the valid number +34 612 34 56 78.

  1. One digit missing

    Invalid

    +34 612 34 56 7

    One digit shorter than +34 612 34 56 78. The check returns Invalid.

  2. One digit too many

    Invalid

    +34 612 34 56 780

    One digit longer than +34 612 34 56 78. The check returns Invalid.

  3. The wrong country selected

    Valid

    612 34 56 78

    Typed as a national number with France selected in the country menu, it is read as a number on +33. The check accepts it as +33612345678, a valid number from France, but not the number you meant.

Frequently asked questions

How many digits does a phone number from Spain have?
Counting only the digits after +34, landline numbers have 9 and mobile numbers have 9.
What do mobile numbers from Spain start with?
After +34, a mobile number from Spain starts with 6, 71–74, 78, 96, or 97. Some mobile and landline numbers share their first two digits, so those digits are not enough to tell the two apart: the check reads the full number.
Does a valid result mean a number from Spain is in use?
No. Valid means the number fits the numbering plan of Spain: a possible length and a range that exists for its line type. It does not tell whether anyone holds the number today.
How should I store a number from Spain?
In E.164 form: a plus sign, the country code 34, then the national number without spaces or trunk prefix, such as +34612345678. That is the form the check returns.
Where do these rules come from?
From the numbering plan metadata for Spain in Google's libphonenumber v9.0.44, read through libphonenumber-js 1.13.17. The same metadata drives the free check on this page.

Numbering plan from Google's libphonenumber v9.0.44 metadata, read through libphonenumber-js 1.13.17.

All data sources and licenses

Put this check in your product

Get an API key in under a minute. 100 free credits every month, no card required.

  • 100 free credits a month
  • No card
  • Test keys spend nothing
  • Cancel any time