Free Email Domains List

1.0.2 · active · verified Sun Apr 12

The `free-email-domains` package provides a comprehensive, curated list of free email domains from around the world, designed to simplify checking if an email address belongs to a free email provider. The current version, 1.0.2, was released on February 23, 2026, and is actively maintained with updates based on data from sources like HubSpot.

Warnings

Install

Imports

Quickstart

Import the `whitelist` set and check if a given email's domain exists within it.

from free_email_domains import whitelist

def check_email_domain(email_address):
    try:
        domain = email_address.split('@')[1]
        if domain in whitelist:
            print(f"'{domain}' is a free email domain.")
        else:
            print(f"'{domain}' is NOT a free email domain.")
    except IndexError:
        print(f"Invalid email address format: {email_address}")

check_email_domain("user@gmail.com")
check_email_domain("info@example.com")
check_email_domain("invalid-email")

view raw JSON →