Spain phone number validator

How the phone number format works

Format
Spain phone number in national or international (+34) format
Example
+34612345678

Things to watch for

  • Accepts national or international (E.164, e.g. +34...) format
  • Validated with Google's libphonenumber; confirms the number is possible/valid for this country, not that it is currently assigned or reachable
Regex for phone number
^[+]?[0-9 ()\-]{6,}$

A Spanish phone number is always 9 digits, with no trunk prefix and no digit dropped for international dialing — unusual among its neighbors. A mobile number starts with 6 or 7 (612 345 678), a landline starts with 8 or 9 (912 345 678 for Madrid), and both convert to +34 form by simply prepending the country code — the 9 digits themselves never change.

How this validator works

Enter the number as 9 digits (612345678) or with the country code (+34612345678); this tool checks the digit count and leading-digit range against Spain’s real numbering plan using Google’s libphonenumber, entirely in your browser. Because Spain has no trunk 0 to strip — unlike France or the UK — the most common mistake here isn’t a leftover zero, it’s an area code or mobile prefix digit missing from the front, which throws off the count immediately.

What a pass doesn’t tell you

A pass confirms the 9 digits form a plausible Spanish mobile or landline number — it doesn’t confirm the SIM is active or that the landline is currently connected at that address. Spain reassigns and recycles both mobile and fixed numbers regularly, and format alone can’t detect that.

Scope: use this to catch a missing digit or wrong leading digit before a Spanish number goes into a booking form or SMS platform — not as proof the number is currently in service.

Content last reviewed 2026-07-07.

phone number FAQ

Does a Spanish phone number use a trunk prefix that gets dropped for +34?

No. Spain's 9-digit numbers have no trunk prefix at all, so the +34 international form is just the country code plus the same 9 digits — nothing is added or removed, unlike countries where a leading 0 has to be stripped.

How do I tell a Spanish mobile number from a landline?

By the first digit: mobile numbers start with 6 or 7, landlines start with 8 or 9 — both are 9 digits total, so the leading digit is the only reliable signal, not the length.

Does a valid Spanish number check mean it's currently active?

No. It only confirms the 9 digits match a real Spanish mobile or landline pattern — it can't confirm the SIM is active or the landline connected, since format validity and live-service status are separate things this tool doesn't check.

← More phone number validators