🔍 Telefonnummer-Regex-Generator (30+ Länder)
Instantly generate validation regex for phone numbers across 30+ countries. Four variants (E.164 / International / Flexible / Mobile-only), multi-country OR combination, live tester and ready-to-paste snippets for JavaScript, PHP, Python, Ruby and Go. Perfect for form validation, log extraction and data cleansing.
100% Free
No signup
Browser-only
5 languages
Dark mode
🔒 Über Datenschutz
- ・Die gesamte Verarbeitung erfolgt im Browser (JavaScript)
- ・Die eingegebene Telefonnummer wird nicht an den Server gesendet
📝 Erzeugter Regex
/^.+$/g
🧪 Live-Tester
✅ 0 Treffer
❌ 0 kein Treffer
💻 Code-Snippets pro Sprache
📖 Wie man es benutzt
-
1
Pick target countriesPick a single country or several to combine into one OR pattern (perfect for international forms). 30+ countries supported.
-
2
Choose a variantPick from E.164 (strict + country-code), International (with separators), Flexible (intl + national) or Mobile-only.
-
3
Copy or testCopy the regex with one click. Paste a list of numbers into the live tester to see matches and failures in real time.
-
4
Paste into your languageReady-to-run snippets for JavaScript, PHP, Python, Ruby, Go and Java are generated automatically with proper escaping.
❓ Häufig gestellte Fragen
Why not use libphonenumber?
libphonenumber-js is around 70 KB which is overkill if you just want a small regex for form validation. We hand-write rules for 30+ common countries so you can copy-paste with zero dependencies. For full accuracy use libphonenumber.
What is the difference between International and E.164?
E.164 is the ITU-T standard (e.g. +819012345678) — pure digits, max 15, no spaces or punctuation. International format is the human-readable variant with spaces and hyphens (+81 90-1234-5678). Convention: store as E.164, display as International.
Can I combine multiple countries into one regex?
Yes. Tick multiple countries and the tool emits a single OR (|) pattern combining all of them — perfect for global form validation or extracting numbers from mixed logs.
Is the generated regex perfect?
It is a practical approximation aimed at ~80% validity. Numbering plans drift across carriers and years, so for bank-grade or telco-grade validation use libphonenumber or each national telecom regulator. For form inputs and log extraction these patterns are plenty.
🔗 Verwandte Tools
- ・Telefonnummernformattierer — Konvertieren zu International / E.164
- ・Regex-Tester — Echtzeit-Test von JavaScript-Regex
- ・E-Mail-Validator — RFC 5322, Wegwerf- und Rollen-Erkennung
🐛 Sind Sie auf ein Problem mit diesem Tool gestoßen?
Vollständig kostenlos und ohne Registrierung. Auch Reproduktionsschritte sind ausreichend. Eingegangene Berichte werden direkt an die Betreiber weitergeleitet und dienen als Referenz für Korrektionen.
✅
Vielen Dank für Ihren Bericht!
An den Administrator übermittelt. Wir werden es als Referenz für Verbesserungen nutzen.