SPF record generator
Pick who sends your mail, add your own servers or paste the records you have. You get one record and its DNS lookups out of 10.
The number is each sender's cost in DNS lookups, nested includes counted, measured on 2026-11-19.
Your own servers and other services
v=spf1 ~allv=spf1 ~allPublish as a TXT record at @ (the root of the domain), replacing any SPF record already there: a domain may have only one.
DNS lookups
0 / 10
Nothing picked yet: as it stands, this record lets no server send for the domain.
Check your domain with the SPF checker once published: it expands every include live.
Next, a DKIM key and a DMARC record.
Google Workspace is a trademark of Google LLC. Microsoft 365 is a trademark of the Microsoft group of companies. Zoho is a trademark of Zoho Corporation Pvt. Ltd. Fastmail is a trademark of Fastmail Pty Ltd. Proton Mail is a trademark of Proton AG. iCloud is a trademark of Apple Inc. Resend is a trademark of Plus Five Five, Inc. Amazon SES is a trademark of Amazon.com, Inc. or its affiliates. SendGrid is a trademark of Twilio Inc. Mailgun is a trademark of Mailgun Technologies, Inc. Postmark is a trademark of ActiveCampaign, LLC. SparkPost is a trademark of MessageBird B.V. Mailjet is a trademark of Mailjet SAS. Brevo is a trademark of Sendinblue SAS. Mailchimp is a trademark of The Rocket Science Group LLC. Salesforce is a trademark of Salesforce, Inc. Shopify is a trademark of Shopify Inc. Zendesk is a trademark of Zendesk, Inc. Help Scout is a trademark of Help Scout PBC. Shown only to say which provider or client a result refers to; Runearc is not affiliated with, sponsored or endorsed by any of them.
Sending from your own domain? Runearc sets it up free, with SPF, DKIM and DMARC checked for you.
What the generator does.
Pick the services that send mail for your domain, add your own servers, or paste the records you have. You get one SPF record and how many of its 10 DNS lookups it uses.
One record
MergedEvery sender goes into a single record. Paste the two records your domain has today and they become one.
Lookup count
LiveEach sender's cost in DNS lookups, nested includes counted, measured against its live record on 2026-11-19. Over 10 and you get a warning with the costliest senders.
Your own servers
ip4 / ip6IP addresses and ranges cost no lookups, so they are the way to add a server without using your budget.
Senders that need nothing
0 lookupsServices that use their own return path subdomain, such as Runearc and Resend, are marked: they cost the root record nothing.
Soft or hard fail
~all / -all~alllets DMARC decide;-allrejects anything not listed. The record never ends in+allor?all.In your browser
PrivateThe record is built on this page. Nothing you pick or paste is sent to us.
How to publish your SPF record.
Publish the record as a TXT record at the root of your domain (shown as @ at most DNS hosts), and delete any other TXT record that starts with v=spf1. Changes reach most receivers within the record's TTL, usually an hour. Then run the SPF checker on your domain to confirm one record and the real lookup count.
SPF is one of three. Publish a DKIM key for each sender and a DMARC record so receivers know what to do with mail that fails, then check the whole domain with the domain check or send a real message to the email deliverability test.
Questions.
How do I create an SPF record?
How do I merge two SPF records?
What if my SPF record is over 10 lookups?
Do I need an SPF record for Google Workspace or Microsoft 365?
Where do I put the SPF record?
Is anything I enter sent to Runearc?
More free tools
All free toolsCheck
- Domain checkMX, SPF, DKIM, DMARC, BIMI, MTA-STS and TLS-RPT in one report, with a score and a fix for each row.Open tool
- SPF checkerExpands every include, counts DNS lookups against the limit of 10, finds void lookups and reads the all mechanism.Open tool
- DMARC checkerPolicy, subdomain policy, percentage, report addresses and alignment, and the record to publish next.Open tool
- DKIM checkerFinds the key at your selector, or at 40 common ones, and reads its type and length.Open tool
- MX lookupMail hosts in priority order, their IPv4 and IPv6 addresses, and the mail provider behind them.Open tool
- BIMI checkerThe BIMI record, the logo fetched and checked against SVG Tiny PS, the certificate, and DMARC readiness.Open tool
- Blacklist checkerAn IP or domain against 9 public DNS blocklists, with the return code, the reason and the removal page.Open tool
- Reverse DNS lookupThe PTR record of an IPv4 or IPv6 address, and whether that name resolves back to the same IP, as mail servers check it.Open tool
- Email checkerAn address's syntax, whether its domain accepts mail, and flags for disposable and role addresses. Only the domain is looked up.Open tool
Fix
Test
- Email header analyzerPaste the headers of a message: every hop and its delay, SPF, DKIM and DMARC results, and Microsoft, Gmail and Yahoo signals. Parsed in your browser.Open tool
- Email deliverability testSend one real email and see SPF, DKIM and DMARC results, blocklists, a spam score and the fix for each problem.Open tool
- Email subject line testerLength, how Gmail, Outlook and iPhone cut it off, caps, punctuation, emoji, spam phrases and unfilled merge tags, scored with each deduction.Open tool
- Spam word checkerPaste a subject and body to highlight phrases that read as spam, grouped by why. Checked in your browser.Open tool
- HTML email testerPaste the HTML of an email: preview it on desktop, phone and dark mode, see what Gmail, Outlook, Apple Mail and Yahoo don't support, then send it for real.Open tool