SPF Record Generator

Build an SPF record from an IP range, an include entry and an ending policy.

Runs in your browser. Nothing is uploaded — your input is processed on this device and discarded when you close the tab.

SPF Record Generator

How to use this tool

  1. Enter your values in the fields above.
  2. Press Generate to see the result.
  3. Use Load sample to try the worked example, Copy result to copy it, or Clear to start again.

Worked example

Domain example.com with ip4 192.0.2.0/24, include _spf.example.com and -all gives the full record shown in the result.

What this tool does not do / Limits

This only formats the record you describe. It does not publish it, and it does not check the record currently published for a domain.

Frequently asked questions

Does this publish my record?

No. Copy the result and add it as a TXT record where your domain DNS is managed.

What does -all mean?

It tells receivers that senders not listed in the record are not authorised for your domain.

Related tools