International Telephone Box

WordPress plugin · Free

Every phone field, validated.

International Telephone Box is a free WordPress plugin that adds country flags, dial codes and real phone number validation to every phone field, including WooCommerce checkout, Contact Form 7, Gravity Forms and Elementor forms.

Live demo · intl-tel-input v29

Try the field

This is the same phone field the plugin adds to your site. Pick a country, type a number, then leave the field to see it validated.

Loading the phone field…

Features

Everything a phone field needs

Install it and every phone field on your site gets flags, dial codes and real validation. No setup, no code.

Every phone field

Enhances every input[type="tel"] automatically, including fields added later and fields in Elementor popups.

243 countries

Flags, dial codes and a searchable country list, with country names in your site's language.

Real validation

Numbers are checked while typing, on blur and on submit, then normalised to E.164, like +201012345678.

Checked on the server

libphonenumber checks the number again on the server. It understands numbers that start with 00 and Arabic-Indic digits.

Your countries

Offer all countries, only some, or all except some. Set a default and fallback country and up to 5 preferred countries.

Your look

Show the flag and code, the flag only or the code only, on the left or right, with or without the arrow.

Arabic and RTL

Country names in the site language, and the number always reads left to right on right-to-left sites.

Private and light

All assets are bundled and no jQuery is needed. The only outside request is an optional IP lookup you can turn off.

Works with

Any form plugin's phone (tel) field is enhanced, with no extra setup.

  • WooCommerce
  • Contact Form 7
  • Gravity Forms
  • Elementor
  • WPForms
  • Fluent Forms
  • Formidable

WooCommerce

Phone validation for WooCommerce checkout

Invalid numbers stop the order with a clear message, in the browser and again on the server. Every order stores the number in E.164, ready for delivery companies, SMS and WhatsApp.

  • Classic checkout, the Checkout block and My Account → Addresses
  • Server validation with libphonenumber
  • The phone country follows the billing country while the field is empty

Arabic · RTL

Made for Arabic sites

On Arabic and other right-to-left sites, country names follow the site language, while the number always reads left to right, as phone numbers do.

  • Country names in the site language
  • The box stays on the left, where the number starts, and can move right
  • Understands Arabic-Indic digits (٠١٠…) on the server

Latest release

What's new

Version 1.5.0

New

  • Its own Phone Box dashboard menu, with Countries and Appearance pages.
  • Appearance page: display mode, position, spacing, arrow, list width, search and a full-screen list on mobile, with a live preview.

Fixed

  • The number stays clear of the country box even when a theme forces input padding.

FAQ

Questions, answered

How do I add a country code dropdown to a WordPress phone field?

Install and activate International Telephone Box. Every phone field (input[type="tel"]) on your site gets a country dropdown with flags and dial codes automatically, with no setup. To add a phone field to a page yourself, use the [intelebox_input] shortcode.

How do I validate phone numbers in WooCommerce checkout?

Install International Telephone Box. It validates the phone number on the classic checkout, the Checkout block and My Account, first in the browser and then on the server with libphonenumber, and an invalid number stops the order with a clear message. Server validation needs PHP 8.1+.

Does it work with the WooCommerce Checkout block?

Yes. The number is synced to the Checkout block, an invalid number shows the block's own error under the field, and the order is validated again on the server before payment (WooCommerce 9.9+).

Can I show only the flag?

Yes. On Phone Box → Appearance, set Display to Flag only. You can also show the dial code only, or both, and put the country box on the left or the right.

Does it support Arabic sites?

Yes. On Arabic and other right-to-left sites, country names follow the site language and the number always reads left to right. The country box stays on the left by default, and you can move it right on Phone Box → Appearance.

Is it free?

Yes. International Telephone Box is free and open source, licensed GPLv2 or later, and you can download it from WordPress.org.

Does it send visitor data anywhere?

Only if you keep IP detection on. To preselect the visitor's country, the plugin can ask ipapi.co, which receives the visitor's IP address. Turn it off on Phone Box → Countries and no external request is made. All CSS, JavaScript and flags are bundled with the plugin.

Does it work with Contact Form 7, Gravity Forms, WPForms and Elementor?

Yes. Any form plugin's phone (tel) field is enhanced, including Contact Form 7, Gravity Forms, WPForms, Formidable, Fluent Forms and Elementor forms. If another plugin already adds its own international phone library to a field, that field is left alone.

Can I limit which countries are available?

Yes. On Phone Box → Countries, choose Only selected to offer a chosen set of countries, or All except selected to remove some. You can also set a default and fallback country and up to 5 preferred countries at the top.

How do I get the full international number?

When the visitor leaves the field, its value becomes an E.164 number, like +201012345678. The plugin also adds a hidden full_phone field with the full international number.

How do I make the phone field required in WooCommerce?

WooCommerce controls that. For the Checkout block, edit the Checkout page, select the Checkout block and set Phone to Required. For the classic checkout, go to Appearance → Customize → WooCommerce → Checkout.

Which PHP version do I need?

PHP 7.4 or newer. Server-side validation needs PHP 8.1+; on older PHP the plugin keeps working with browser validation only.

Free · GPLv2 or later

Give every phone field flags

Install it from WordPress.org. It works on every phone field the moment you activate it.