Phone Number Formatter

Clean up and format a phone number into national, international, and E.164 (API-ready) formats.

Phone number
Country / format
National format
International format
E.164 (for APIs / SMS)

About this tool

Phone Number Formatter cleans up a phone number and displays it in the styles you'll actually need: a readable national format for display (like you'd see on a business card), a +country-code international format for dialing from abroad, and the compact E.164 format (+233201234567, no spaces or punctuation) that APIs, SMS gateways, and databases expect. Pick the country/region that matches the number to get the right grouping and country code.

This uses straightforward pattern-based formatting for a handful of common regions rather than a full international numbering-plan database, so it covers typical mobile and landline formats well but won't catch every edge case (extensions, unusual regional prefixes, etc.). For anything you need to be 100% certain is dialable, double-check against the number's actual source.

Version 1.0.0