Loading…
Loading…
Format and validate phone numbers for 245 countries: E.164, international, national, or tel: links, with the line type of each number.
Also covers: Phone number validator · E.164 formatter
The result appears here as you type.
One per line, in any format: with or without a country code, spaces, dots, dashes, brackets, or an extension. Pick a default country for numbers without a + country code.
E.164 (+12015550123) for databases and SMS APIs, international for display, national for local use, or tel: links for web pages.
The table shows each number's country, line type (mobile, landline, toll-free…), and whether it's valid. Invalid numbers can be marked, kept, or removed.
E.164 is the international standard format: a +, the country code, and the number, with no spaces (+442079460958). Store phone numbers this way, because it's unambiguous and it's what SMS and calling APIs like Twilio expect. Format for display only when you show the number.
With libphonenumber-js, based on Google's libphonenumber metadata: the number must have the right length and fall in a range that's assigned in that country's numbering plan. "Unassigned range" means the length is right but no operator uses that range, like the numbers reserved for TV and film.
No. It checks the number against the numbering plan, which is all that's possible without calling it or asking a carrier. A valid number may still be disconnected.
No. Numbers are formatted in your browser and never sent to a server or stored.
Text & code
Compare two texts or code files side by side, with changed words highlighted. Ignore whitespace or case, and export a unified .diff patch that git apply accepts.
Count
Count words, characters, sentences, paragraphs, and lines as you type, with reading and speaking time. Check text against X, SEO title, and meta description limits.
Case
Convert text to UPPERCASE, lowercase, Title Case, Sentence case, camelCase, PascalCase, snake_case, kebab-case, and more, line by line.
Cleanup
Clean up messy text: remove extra spaces, blank lines, invisible characters, and HTML tags, straighten quotes, and rejoin hard-wrapped lines.
Lines
Delete repeated lines from a list and keep the original order. Choose case sensitivity, whether to ignore surrounding spaces, and whether to keep the first or last copy.
Lines
Delete blank lines from text, or collapse runs of blank lines down to one so paragraphs stay separated.