Start a project

Tool 174 of 194 · Email

SPF, DKIM & DMARC Checker

Paste your domain's SPF, DKIM and DMARC records and see whether they're valid, whether SPF is near its 10-lookup limit, and how strict your policy really is.

SPF, DKIM & DMARC Checker at a glanceIllustration: 1, SPF, DKIM, DMARC; 2, processed in your browser; 3, Checks + a DMARC builder.SPF, DKIM & DMARC Checker@1SPF, DKIM, DMARC3Checks + a DMARC builder2In yourbrowser
1 SPF, DKIM, DMARC 2 processed on your device 3 Checks + a DMARC builder

SPF, DKIM & DMARC Checker

Records

Paste the TXT values from your DNS panel, or from dig +short TXT example.com. This page makes no DNS lookups.

SPF

    Result if matchedMechanismValueDNS lookup

    DMARC

      DKIM

        Build a DMARC record

        DNS record

        01

        What it does

        Parses pasted SPF, DKIM and DMARC records, counts SPF lookups, tests an IP, reads DKIM key sizes and builds a DMARC record.

        • SPF syntax, qualifiers and the 10 DNS-lookup budget
        • Test a sending IP against ip4 and ip6 terms
        • DKIM key type and size from the public key
        • DMARC policy, alignment, percentage and reports

        02

        Private by design

        Everything happens in your browser. Nothing you type, paste or upload is sent anywhere, and it keeps working offline once the page has loaded.

        03

        What you get

        Checks and a DMARC record, with a Copy and a Download button on every result.

        • SPF
        • DKIM
        • DMARC
        • Email

        Why it matters

        Since 2024, Google and Yahoo require bulk senders to have SPF, DKIM and DMARC set up, and mail without them is more likely to land in spam. The records are short but strict: one extra include can push SPF over its 10-lookup limit and break it silently.

        This checker reads the records you paste (it makes no DNS lookups itself), explains every part, counts the lookup budget, tests a sending IP against the address ranges, and helps you move DMARC from monitoring to enforcement.

        How it works

        1. InputYour domain's TXT records
        2. In your browserParsed and checked against the RFCs
        3. OutputIssues, lookup count and a DMARC record

        Where it fits in a designer's workflow

        1. Plan
        2. Design
        3. Build
        4. Test
        5. Launch
        Before sending email from a new domain.

        By the numbers

        DNS lookups in the sample SPF recordThis record: 3 of 10; The limit: 10This record3 of 10The limit10
        Counted by this tool. include, a, mx, ptr, exists and redirect each cost a lookup; ip4 and ip6 are free. Over 10 and receivers return a permanent error, so mail can fail SPF entirely. The tool can't follow includes without a network request, so nested lookups inside each include still count on top. Source: RFC 7208 section 4.6.4.
        Show the numbers as a table
        MechanismCosts a lookup
        +ip4:203.0.113.0/24no
        +ip6:2001:db8::/32no
        +include:_spf.google.comyes
        +include:spf.protection.outlook.comyes
        +mxyes
        ~allno

        How to use it

        1. Get your TXT records (dig TXT yourdomain, dig TXT _dmarc.yourdomain, dig TXT selector._domainkey.yourdomain).
        2. Paste each one into its box.
        3. Read the checks for each record.
        4. Build a stricter DMARC record when you're ready.

        FAQ

        Why doesn't it look the records up?

        So nothing about your domain is sent anywhere. Copy the TXT records from your DNS provider or a dig command.

        What's the SPF 10-lookup limit?

        Receivers stop after 10 DNS lookups (include, a, mx, ptr, exists and redirect). Beyond that SPF fails, so flatten or remove includes.

        Can it follow includes?

        It counts them, but can't see inside them without DNS. Each provider's include usually costs 1 to 4 lookups.

        When should I use p=reject?

        After a few weeks at p=none with reports showing your real mail passes. Then step through quarantine to reject.

        Work with me

        Want a site that gets these right?

        I build fast, accessible websites and web apps that pass these checks from day one. Tell me about your project and I'll reply personally with honest next steps.

        All developer tools · Back to leej.uk