Phone validator
Check a phone number or paste a list to catch invalid formats. Get E.164, national, and international versions, ready to copy into your contacts, app, or spreadsheet.
Is it a valid phone number?
A phone number can have the right number of digits and still use an unrecognized prefix. The phone number checker looks at the country calling code, length, and numbering pattern, then formats numbers that pass.
A valid format is useful when cleaning a contact list or catching a mistyped number in a form. It does not tell you whether the number is connected, who owns it, or whether it can receive a text. Phone number verification with a one-time code is a separate step when you need someone to prove access to their number.
Phone number formats, compared
The same phone number can be written several ways. Use the phone number formatter above to get a consistent version for storage and a readable version for display.
| Format | Example | Use it for |
|---|---|---|
| E.164 | +13055550134 | Storing and matching numbers across systems. |
| National | (305) 555-0134 | Displaying a number within its own country. |
| International | +1 305 555 0134 | Showing the country calling code in a readable number. |
E.164 format starts with + and the country calling code, followed by the rest of the number without spaces or punctuation. The international phone number format includes that calling code: +44 20 7946 0958 is the UK example, while 020 7946 0958 is its national version. The UK national leading 0 is left out after +44. Prefix rules vary by country, so let the formatter handle them.
Clean up a phone list for Excel
Paste one number per line, with + and the country calling code when mixing countries. Phone number validation keeps your original rows beside the E.164, national, and international versions, so you can trace each correction back to your list.
Copy for Excel puts each format in its own column. Download Excel preserves the + sign and leading zeros as text. Rows marked invalid need a correction. A failed lookup stays separate and can be retried without rerunning the completed rows.
For bulk phone number validation beyond 100 pasted rows, upload your file to Bulk.
Build a phone validator
Call the Phone API for each distinct input, then put the results back in the original order. Keep invalid numbers separate from requests that failed.
- Trim empty lines and cap the paste before dispatching work.
- Reuse duplicate lookups with at most six requests running at once.
- Keep the original input next to the E.164, national, and international formats.
Installation steps are included in each example. Set PARSEAPI_KEY on your server. Swift and Kotlin use an app key restricted to your app ID.
// npm install @parseapi/sdk@1.14.0
import { parseAPI } from '@parseapi/sdk';
// Set PARSEAPI_KEY on your server.
const parse = parseAPI();
async function mapLimit(inputs, work, concurrency = 6) {
const output = new Array(inputs.length);
let cursor = 0;
await Promise.all(Array.from({ length: Math.min(concurrency, inputs.length) }, async () => {
while (cursor < inputs.length) {
const index = cursor++;
output[index] = await work(inputs[index]);
}
}));
return output;
}
const pasted = '305-555-0134\n+44 20 7946 0958\n123';
const inputs = pasted.split(/\r?\n/).map(value => value.trim()).filter(Boolean);
if (!inputs.length || inputs.length > 100) throw new Error('Use 1 to 100 rows.');
const unique = [...new Set(inputs)];
const checked = await mapLimit(unique, async input => {
try {
const row = await parse.phone(input);
return typeof row.valid === 'boolean' ? row : null;
}
catch { return null; }
});
const byInput = new Map(unique.map((input, index) => [input, checked[index]]));
console.table(inputs.map(input => {
const row = byInput.get(input);
return { input, e164: row?.valid ? row.phone : null,
national: row?.valid ? row.national : null,
international: row?.valid ? row.international : null,
status: row === null ? 'Lookup failed' : row.valid ? 'Valid format' : 'Invalid' };
}));
// Formatting does not establish active service or ownership.
How do I check if a phone number is valid?
Enter the full number above and select Validate numbers. Include + and the country calling code for an international number. A valid result means its length and numbering pattern pass the checks, and gives you standard formats to copy.
Can I check if a phone number is active?
This tool checks format. An active-number check needs current network information, and even that does not prove who has access to the number. To confirm access, ask the person to complete an SMS or voice verification code.
What is E.164 phone number format?
E.164 is the international numbering standard. Its common text representation is a + followed by the country calling code and number, with no spaces, brackets, or dashes. For example, (305) 555-0134 becomes +13055550134. Use this version when an app asks for E.164 format.
How do I write a phone number in international format?
Start with + and the country calling code, then the national number using that country's prefix rules. For example, UK 020 7946 0958 becomes +44 20 7946 0958. Include the calling code on every international row when checking a mixed-country list. Find country calling codes in the country codes list.
Why is my phone number showing as invalid?
Check for a missing area code, extra digits, the wrong country calling code, or a national prefix left in the wrong place. Retry with the complete +country-code version. Short codes such as emergency or service numbers are different from full phone numbers. If a real number still fails, verify its digits with the person who supplied it.
How many digits should a phone number have?
The length depends on the country and kind of number. US and Canadian numbers have 10 digits, or 11 including the country calling code 1. International E.164 numbers allow up to 15 digits including the calling code. Counting digits alone is not enough to validate a number because the prefix also matters.
Can this tell me who a phone number belongs to?
The validator returns number formats and a validation result. It does not return a person's name, address, location, or ownership. A country calling code describes the numbering plan, not the phone's current location.
Can I validate phone numbers in bulk?
Paste up to 100 numbers, one per line, and copy the results into Excel or download a spreadsheet. Original rows and duplicates stay in order. Matching E.164 values can help you spot the same number written different ways. Use Bulk phone processing for a larger file.