Phone Number Validator API — Format and Validate Any International Phone Number
Validate and format international phone numbers. Check country code, number length, and formatting for 200+ countries. Supports E.164 format normalization. Free API.
What is Phone Number Validation?
Phone number validation checks whether a phone number is structurally valid for its country. The API validates the country code, number length, and mobile vs landline classification. It normalizes numbers to E.164 format and provides country-specific formatting.
How to Use It
Call GET /api/v1/phone?phone=%2B4791234567. Returns { valid: boolean, country: string, country_code: string, national_format: string, international_format: string, e164: string, carrier: string | null, line_type: string | null }.
Try it live
Test this endpoint in the interactive console
Open Console →
Frequently Asked Questions
What format should I use?
Phone numbers can be sent in any common format. The API strips non-digit characters and parses the number. For best results, include the country code with a + prefix (e.g., +4791234567 for Norway).