Home › Developer Tools › TXT Record Lookup

TXT Record Lookup

Enter a domain to see all of its DNS TXT records, queried live over DNS-over-HTTPS. Each record is labeled, so you can spot SPF, DMARC, DKIM, MTA-STS and BIMI policies and the verification tokens left by Google, Microsoft, Apple and other services at a glance.

Last updated:

Try:

Enter a domain and click Look up TXT to list its TXT records.

Advertisement
Advertisement

How to use the TXT Record Lookup

  1. Type a domain, URL or email address, for example example.com.
  2. Choose extra checks: email policy names like _dmarc, and a DKIM selector if you know it.
  3. Click Look up TXT to query the records live.
  4. Read the labels to see what each record does and any warnings.
  5. Copy a record or the full list to compare with what your provider asked you to add.

Common TXT records and what they mean

Record starts withName it lives atPurpose
v=spf1example.comSPF: servers allowed to send email for the domain. Only one per name.
v=DMARC1_dmarc.example.comDMARC: what receivers do with mail that fails SPF/DKIM alignment, and where to send reports.
v=DKIM1; k=rsa; p=…selector._domainkey.example.comDKIM: public key used to verify signed email.
v=STSv1; id=…_mta-sts.example.comMTA-STS: tells senders a TLS policy for your mail servers exists.
v=TLSRPTv1; rua=…_smtp._tls.example.comTLS-RPT: where to send reports about failed TLS connections.
v=BIMI1; l=…default._bimi.example.comBIMI: brand logo shown by supporting inboxes when DMARC is enforced.
google-site-verification=example.comProves ownership to Google Search Console or Google Workspace.
MS=ms12345678example.comProves ownership to Microsoft 365.
apple-domain-verification=, facebook-domain-verification=example.comOwnership proofs for Apple and Meta services.

How TXT lookups work here

The tool sends a standard DNS query for type TXT (record type 16) over DNS-over-HTTPS to Cloudflare’s 1.1.1.1 resolver, falling back to Google Public DNS if Cloudflare cannot be reached. With the email option on, it also queries the fixed names used by DMARC, MTA-STS, TLS-RPT and BIMI. DKIM keys can only be found when you know the selector, because there is no way to list all names under _domainkey.

Each TXT value can be made of several strings of up to 255 characters. The tool joins them into one value, the way mail servers and verification services read them, and shows how many strings there were.

Troubleshooting tips

  • Record not showing yet? Check the TTL. A resolver that cached the old answer keeps it until the TTL runs out; try the other resolver.
  • Added the record at the wrong name? Many DNS panels add the domain automatically, so entering _dmarc.example.com as the host creates _dmarc.example.com.example.com. Enter just _dmarc.
  • Two SPF records? Merge them into one v=spf1 record with all the include terms, ending in a single ~all or -all. Use the SPF Record Checker to count nested lookups.
  • Quotes in the value? Most DNS panels add the surrounding quotes for you. Do not paste extra quotes inside the value.
  • Clean up old tokens for services you no longer use to keep the zone tidy.

Frequently asked questions

What is a TXT record?

A TXT record is a DNS record that stores text for a domain name. It was designed for free-form notes, but today it mostly holds machine-readable policies and proofs: SPF and DMARC email policies, DKIM public keys, and verification tokens that prove to a service that you control the domain.

Why do I not see my DMARC or DKIM record in the main list?

DMARC lives at the _dmarc subdomain (for example _dmarc.example.com) and DKIM keys live at selector._domainkey.example.com. They are not TXT records of the domain itself. Keep "Also check email policy names" on for DMARC, and enter your DKIM selector (such as google, selector1 or s1) to look it up.

Can a domain have more than one TXT record?

Yes. A domain can have many TXT records, for example several verification tokens and an SPF record. But it must have only one SPF record (starting with v=spf1) and only one DMARC record; two of either make the policy invalid.

What are the quoted chunks in a long TXT record?

A single TXT string can be at most 255 characters, so longer values such as 2048-bit DKIM keys are split into several quoted strings. Receivers join them without spaces. The tool shows the joined value and how many strings it was split into.

How long does a new TXT record take to show up?

Usually minutes, but it depends on the TTL (time to live) of any cached answer and on your DNS provider. If an old value was cached, resolvers can keep returning it until the TTL expires. The tool shows the TTL of each answer.

Is it safe to leave old verification tokens in DNS?

Tokens are public and generally harmless, but old ones add clutter and reveal which services you use or used. Remove tokens for services you no longer use, unless the service needs them to stay verified.

Is my lookup private?

The tool runs in your browser and sends only the domain name as a DNS query to the public DNS-over-HTTPS resolver you choose (Cloudflare or Google). Nothing else is sent or stored.

Are all the tools on FreeToolCabin tested for quality and accuracy?

Yes! Every tool on our site undergoes automated Q/A testing in real browser environments to ensure high precision, correct output, and zero errors. If you happen to spot a bug or have a suggestion, please contact us at [email protected] and our team will review it right away.

Related tools

DNS LookupLook up A, AAAA, MX, TXT, NS, CNAME, SOA and CAA records with TTLs over secure DNS.SPF Record CheckerLook up a domain's SPF record, count nested DNS lookups, find errors and test a sender IP.MX LookupFind a domain's mail servers: MX priority, host, IP addresses and the email provider.DMARC CheckerLook up a domain's DMARC record, explain every tag, grade the policy and get fix suggestions.Email ValidatorCheck email lists and spot disposable addresses.Website Down CheckerCheck if a website is down for everyone.Deep Link GeneratorCreate links that open directly in apps.URL ParserBreak a URL into its parts and edit query string parameters with a live rebuild.User Agent ParserSee your user agent and parse any UA string into browser, OS, engine and device.HTTP Status CodesSearch every HTTP status code with plain-English meanings, causes, fixes and RFC references.Subnet CalculatorCalculate IPv4 network, broadcast, host range, masks and host count, and split subnets.Bulk URL OpenerOpen a list of URLs in new tabs at once or in batches, with cleanup, dedupe and delay.API Request TesterSend GET, POST, PUT and DELETE requests with headers and a body, then inspect the response.WebSocket TesterConnect to a ws:// or wss:// server, send messages and watch a timestamped live log.WHOIS LookupLook up who registered a domain or IP: registrar, creation and expiry dates, name servers, status.Mailto Link GeneratorBuild encoded mailto: links with cc, bcc, subject and body, plus HTML code and a QR code.WhatsApp Link GeneratorCreate wa.me click-to-chat links with a pre-filled message, button HTML and a QR code.Basic Auth Header GeneratorCreate an Authorization: Basic header from a username and password, or decode one.Common Ports ListSearchable TCP/UDP port number list with service, protocol and description, filterable by range.DMARC Record GeneratorCreate a DMARC TXT record with policy, reporting and alignment options, every tag explained.Email Header AnalyzerPaste raw email headers to trace every server hop, see delays and check SPF, DKIM and DMARC.IP Geolocation LookupFind the country, city, ISP, ASN and time zone of any IP address or domain, with a map.Reverse DNS LookupFind the PTR hostname of any IPv4 or IPv6 address, one at a time or hundreds in bulk.SPF Record GeneratorBuild a valid SPF TXT record from mail providers, IPs and includes, with a lookup-count check.CIDR to IP RangeConvert IPv4 or IPv6 CIDR blocks to first/last IP, mask and host count, and export IP lists.DNS Propagation CheckerCompare DNS answers and TTLs from Cloudflare, Google, Quad9, AdGuard and NextDNS side by side.Domain Availability CheckerCheck if domain names are available across .com, .io, .ai and more, with registrar and expiry.MAC Address LookupFind the vendor of a MAC address or OUI, check multicast and random bits, look up many at once.Uptime SLA CalculatorTurn 99.9% uptime into allowed downtime per day, month and year, or downtime into uptime %.Website Speed TestTest page speed with Lighthouse: performance score, Core Web Vitals and fixes, mobile or desktop.ASN LookupLook up an AS number or IP: network owner, country, registry, abuse contact and announced prefixes.Bandwidth CalculatorEstimate monthly website bandwidth (GB) and the Mbps you need from page views and page size.CNAME LookupFollow a hostname's full CNAME chain to its final IP addresses, with TTLs and CDN detection.CORS TesterSend GET, POST or OPTIONS from your browser to any API and see whether CORS allows it and why not.DKIM Record CheckerLook up a domain's DKIM key by selector (or auto-detect), check key type, bit length and tags.DKIM Record GeneratorCreate a DKIM RSA key pair in your browser with the TXT record, selector host and private key PEM.DMARC Report AnalyzerRead DMARC aggregate XML reports (.xml, .gz, .zip): sources, SPF/DKIM alignment and pass rates.Domain Age CheckerSee how old a domain is, when it was registered and when it expires. Bulk check up to 50.Email Deliverability CheckerGrade a domain's MX, SPF, DMARC, DKIM, BIMI and MTA-STS records in one report with fixes.Email ObfuscatorHide an email address from spam bots with HTML entities, a JavaScript mailto link or reversed CSS text.Email PermutatorGenerate every common business email format from a first name, last name and company domain.HTTP Header ParserPaste raw HTTP headers to get a table explaining each one plus a security headers grade.IP Blacklist CheckerCheck an IPv4 address against 21 public spam blocklists (DNSBLs) and see listed or clean.IP Range to CIDRTurn a start and end IP into the shortest list of CIDR blocks, for IPv4 and IPv6.IPv6 Subnet CalculatorIPv6 prefix to network, range, address count and /64s, and split it into child subnets.Link in Bio Page GeneratorCreate a link-in-bio page with avatar, bio, links and theme, then download it as one HTML file.NS LookupFind a domain's authoritative nameservers with their IPs, SOA record and DNS hosting provider.Social Share Link GeneratorMake share links and buttons for Facebook, X, LinkedIn, Reddit, Pinterest, WhatsApp and email.Subnet Mask Cheat SheetInteractive /0 to /32 table of subnet masks, wildcards and host counts with details per prefix.VLSM CalculatorSplit a network into variable-length subnets sized to the hosts each one needs.YouTube Timestamp Link GeneratorMake YouTube links that start at a set time, embed start/end codes and lists of timestamps.
See all 52 Network, DNS & Email Tools →