django-phonenumber-field
An international phone number field for django models.
Decision gist · record as of 2026-08-14
Yes. The package is actively maintained, has no known vulnerabilities, carries a permissive MIT license, and solves a concrete problem for Django applications handling international phone numbers. Its single dependency on Django and low install friction make it a straightforward addition to any Django project that needs reliable phone number handling.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires Django and Python 3.10 or later; the underlying phonenumber validation depends on python-phonenumbers.
- Low friction installation with a single runtime dependency (Django).
- Active maintenance with a recent release 22 days ago and ongoing commits; supports current Python versions from 3.10 through 3.14.
License · maintenance · safety
MIT (permissive) — MIT license permits commercial and private use with minimal restrictions; you may use, modify, and distribute this package freely provided you include the license notice.
last release 2026-07-23 (22 days) · last repo commit 2026-08-12 · 1,551 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 6,563,551 downloads/mo, #1,887 on PyPI
Alternatives
Verify before relying
pip install django-phonenumber-field
from django_phonenumber_field.modelfields import PhoneNumberField
class Contact(models.Model):
phone = PhoneNumberField()- Whether the package handles all international phone number formats or has known limitations with specific regions.
- Whether it provides form field widgets or only model field support.
- Performance characteristics when validating large batches of phone numbers.
What it is and what it does
django-phonenumber-field is a Django model field that wraps Google's libphonenumber library to handle international phone numbers. It validates phone numbers according to international standards, formats them for display, and stores them in a standardized way within Django models. The field integrates seamlessly with Django's ORM and admin interface, allowing developers to treat phone numbers as a first-class data type rather than plain text strings.
The package is built on top of python-phonenumbers, which is a port of the same libphonenumber library that powers Android's phone handling. This means it inherits battle-tested validation logic from Google's implementation. It's useful in any Django application that needs to accept, store, or display phone numbers from users around the world, ensuring data consistency and correctness across different international formats.
Use it for
- Store validated international phone numbers in Django models for user profiles or contact records.
- Validate phone numbers during form submission to catch invalid formats before saving to the database.
- Format phone numbers for display in templates using the field's built-in pretty-printing capabilities.
- Build multi-country applications where phone number formats vary by region and need standardized handling.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes.
The package is actively maintained, has no known vulnerabilities, carries a permissive MIT license, and solves a concrete problem for Django applications handling international phone numbers. Its single dependency on Django and low install friction make it a straightforward addition to any Django project that needs reliable phone number handling.
Install
django-phonenumber-field on PyPI
Before you install
Low friction installation with a single runtime dependency (Django). Active maintenance with a recent release 22 days ago and ongoing commits; supports current Python versions from 3.10 through 3.14.
Requires Django and Python 3.10 or later; the underlying phonenumber validation depends on python-phonenumbers.
License in practice
MIT license permits commercial and private use with minimal restrictions; you may use, modify, and distribute this package freely provided you include the license notice.
Quickstart
pip install django-phonenumber-field
from django_phonenumber_field.modelfields import PhoneNumberField
class Contact(models.Model):
phone = PhoneNumberField()
Verify before relying
- Whether the package handles all international phone number formats or has known limitations with specific regions.
- Whether it provides form field widgets or only model field support.
- Performance characteristics when validating large batches of phone numbers.
Package facts
| License | MIT permissive |
| Python support | Supports the current Python release >=3.10 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 1 packageDjango |
| Maintenance | Actively maintained 22 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 6,563,551 / month, #1,887 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Development Status :: 5 - Production/StableFramework :: DjangoFramework :: Django :: 4.2Framework :: Django :: 5.2Framework :: Django :: 6.0Intended Audience :: DevelopersLicense :: OSI Approved :: MIT LicenseOperating System :: OS IndependentProgramming Language :: PythonProgramming Language :: Python :: 3Programming Language :: Python :: 3 :: OnlyProgramming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.14Programming Language :: Python :: Implementation :: CPythonTopic :: Internet :: WWW/HTTP |
Evidence: django_phonenumber_field-8.5.0-py3-none-any.whl
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “international phone validation”
- django-phonenumber-fieldProvides a Django model field for storing, validating, and formatting…
- phonenumbersParse, validate, format, and analyze international phone numbers…
- phonenumbersliteParses, validates, formats, and analyzes international phone numbers…
Give your agent the search over MCP, or paste the wish link into any chat.
More WWW/HTTP packages
urllib3 is an HTTP client library that provides thread-safe connection pooling, SSL/TLS verification, multipart file uploads, request retries, compression support, and proxy handling for Python applications.
Requests is a Python HTTP library that simplifies sending HTTP/1.1 requests with automatic handling of headers, authentication, cookies, and response parsing.
h11 is a pure-Python HTTP/1.1 protocol implementation that handles parsing and serializing HTTP messages without any built-in I/O, letting you integrate it with any network layer you choose.
HTTPX is a fully featured HTTP client library for Python that provides both sync and async APIs, with support for HTTP/1.1 and HTTP/2, plus an integrated command-line client.
Install it if you are building new projects or modernizing existing ones that rely on HTTP.
A minimal low-level HTTP client library that sends HTTP requests with thread-safe and task-safe connection pooling, supporting HTTP/1.1, HTTP/2, proxies, and both sync and async interfaces.
aiohttp is an async HTTP client and server framework built on asyncio, supporting both WebSockets and middleware-based routing for building concurrent web applications.
Install it if you need async HTTP client or server capabilities in asyncio-based applications.
See also phonenumbers · phonenumberslite · django-phonenumbers · django-localflavor · phone-iso3166 · django-countries · azure-communication-phonenumbers · django-dynamic-fixture · django-dirtyfields · brazilnum