Free embeddable reference

Country phone format widget

Add country calling codes, national patterns and E.164 examples to your documentation or developer site with one iframe.

Live preview

Embed code

Copy this HTML into the page where the reference should appear. Change country=GB to any supported ISO 2-letter code, such as US, MX, SG or AE.

<iframe
  src="https://getphonenum.com/embed/phone-format?country=GB"
  title="Country phone format reference"
  width="100%"
  height="330"
  loading="lazy"
  style="border:0"
></iframe>

31 countries

The widget reads the same versioned country dataset as the GetPhoneNum tools, so calling codes and examples stay consistent.

No user data

Visitors select a country only. The widget does not ask for or transmit a phone number.

Source-aware

The downloadable JSON/CSV dataset includes an official reference URL and fixture-safety note for every record.

Attribution: keep the “Powered by GetPhoneNum” link visible so users can review sources, limitations and updated data.