Phone Number Generator & Validator
Generate valid-format test phone numbers for 30+ countries and validate, parse, and format any number across E.164, international, national, and RFC 3966 (tel:) forms. Detects country, type (mobile/fixed/toll-free), and structural validity — pure JS, 100% client-side, no network.
About Phone Number Generator & Validator
Generate valid-format test phone numbers for 30+ countries and validate, parse, and format any number across E.164, international, national, and RFC 3966 (tel:) forms. Detects country, type (mobile/fixed/toll-free), and structural validity — pure JS, 100% client-side, no network. Everything runs locally in your browser — your data never leaves your device.
How to use
- Enter your input in the tool above.
- Adjust any options to your preference.
- Use the Copy or Download buttons to save the result.
- Everything happens locally — your data never leaves your browser.
FAQ
How does the phone number validator work?
We normalize your input (strip spaces, dashes, parentheses, dots), detect the country from the leading +<calling-code> or a default country you pick, then check the national significant number (NSN) length and prefix against a bundled 30+ country registry. We distinguish 'possible' (right length) from 'valid' (matches known prefix rules) just like Google libphonenumber's isPossible / isValid split — but the entire check runs in your browser with zero network calls.
Which countries does the generator support?
The bundled registry covers 30+ countries including the US/Canada (NANP), UK, France, Germany, Italy, Spain, Netherlands, Australia, Japan, China, India, Brazil, Mexico, Russia, South Africa, Saudi Arabia, UAE, Sweden, Norway, Denmark, Finland, Poland, Turkey, South Korea, Singapore, New Zealand, Ireland, Portugal, Greece, Belgium, Austria, Switzerland, and more — each with calling code, NSN length, and mobile/fixed/toll-free prefix patterns.
Can I generate test phone numbers for sandbox use?
Yes. Pick a country and a number type (mobile, fixed, or toll-free) and we generate a structurally-valid number with the correct calling code, NSN length, and prefix. These numbers are sandbox/test only — they match the country's numbering plan but are not assigned to real subscribers. Never use them for real calls, SMS, or 2FA.
Are my phone numbers uploaded to a server?
Never. Every normalization, validation, formatting, and generation step runs 100% client-side in your browser. There is no server endpoint, no analytics on the input field, and no logging of phone data. The history feature stores only operation metadata (counts + timestamps) in localStorage on this device — never the phone numbers themselves.
What extra features does this tool have versus other phone tools?
(1) 30+ country numbering-plan registry with calling codes + NSN lengths. (2) Multi-format normalization (E.164, international, national, RFC 3966 tel: URI). (3) Country auto-detect from +prefix. (4) Number-type detection (mobile / fixed / toll-free / VoIP). (5) Batch validate up to 10k rows. (6) Batch generate up to 1k numbers per click. (7) Typo-tolerant input parser (spaces, dashes, parentheses, dots). (8) Privacy masking. (9) CSV export of batch results. (10) Canonical test vectors. (11) localStorage history (max 20, no numbers stored). (12) Shareable URL with country + count + format encoded.
Related tools
.bashrc / .zshrc Alias & Config Manager
Build shell aliases, functions, exports, and PATH edits in a visual editor, then export a clean, commented .aliases file sourced from both .bashrc and .zshrc — with shadowing detection against shell builtins and common CLI tools, function suggestions when args are needed, starter packs (git, docker, kubectl, navigation, safety, ls, dev, devops, data science), import of existing rc files, dedupe, history (localStorage), and shareable URL. 100% client-side.
Add / Subtract Date Calculator
Add or subtract years, months, weeks, days, hours, minutes and seconds from a starting date/time. Calendar-day or business-day mode with custom weekend + holiday list. Month-end policy toggle (clamp to last day vs overflow). Repeat/series mode (e.g. every 2 weeks x 10) with CSV export. Shareable URL. 100% client-side.
Age Calculator
Calculate exact age from a birth date in calendar years/months/days (no negative-day bugs) plus totals in months/weeks/days/hours/minutes/seconds. Next-birthday countdown with weekday. Feb-29 birthday policy toggle. Milestones (1,000 days, 10,000 days, 1 billion seconds). Zodiac sign + Chinese zodiac. Age gap comparison. Shareable URL. 100% client-side.