Zum Inhalt springen

🔍 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

📝 Erzeugter Regex

/^.+$/g

🧪 Live-Tester

0 Treffer
    0 kein Treffer

      💻 Code-Snippets pro Sprache

      
          

      📖 Wie man es benutzt

      1. 1
        Pick target countries
        Pick a single country or several to combine into one OR pattern (perfect for international forms). 30+ countries supported.
      2. 2
        Choose a variant
        Pick from E.164 (strict + country-code), International (with separators), Flexible (intl + national) or Mobile-only.
      3. 3
        Copy or test
        Copy the regex with one click. Paste a list of numbers into the live tester to see matches and failures in real time.
      4. 4
        Paste into your language
        Ready-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

      🐛 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.

      ※ Um Probleme zu reproduzieren, werden Browser-Informationen (UA / Bildschirmgröße / Sprache / URL) automatisch gesendet