SPF Builder
Build and lint production-ready SPF rules and DNS TXT records locally in your browser.
Worked Example
RFC 7208 (SPF)domain: example.net
include: _spf.google.com, spf.protection.outlook.com
ip4: 192.0.2.0/24
mx: true
all: -all; DNS TXT Record (example.net)
example.net. 3600 IN TXT "v=spf1 include:_spf.google.com include:spf.protection.outlook.com ip4:192.0.2.0/24 mx -all"
; Raw Value
v=spf1 include:_spf.google.com include:spf.protection.outlook.com ip4:192.0.2.0/24 mx -all
; RFC 7208 Validation
DNS Lookups: 3 / 10 max
Byte Length: 90 bytes
PASS: Valid SPF record within RFC 7208 lookup limits.Technical Architecture
Zero-Upload Local Engine
Processes SPF strictly inside browser memory so certificates, keys, and configs never leave your device.
RFC & Standard Compliant
Implements exact BigInt subnet math, ASN.1 DER parsing, and RFC-compliant DNS TXT generation.
Deterministic Ops Output
Produces clean, auditable DNS TXT ready for DNS zones, Nginx, Docker, systemd, and CI pipelines.
Instant Browser Execution
Lightweight pure-script engine with native Web Crypto hashing and instant keyboard workflows.
How to use SPF Builder
- 1Paste your SPF input or open a local config file in the left editor.
- 2Adjust output format, hash algorithm, or indentation options in the toolbar above.
- 3Inspect the instant DNS TXT result on the right, then copy or download it directly.
Frequently Asked Questions
Are my SPF configs or certificates uploaded to a server?
No. Every calculation, ASN.1 decode, and validation step runs strictly inside your browser memory so private configs never leave your machine.
What standards does SPF Builder follow?
SPF Builder follows modern RFC and POSIX conventions for SPF processing to generate accurate, production-ready DNS TXT output.
Can I chain the output into another NetFmt tool?
Yes. Use the Next Step button above the editor to send the current DNS TXT result straight into another NetFmt tool without re-pasting.