TXT Record Lookup
Look up domain TXT records to verify email security. Check SPF, DKIM, and DMARC configurations instantly to fix deliverability and spam issues.
Ready to lookup DNS records
Enter a domain name above and click "Lookup" to check DNS records across 28 global servers.
Why Trust Our Network Tools?
Built according to rigorous E-E-A-T (Experience, Expertise, Authoritativeness, and Trustworthiness) standards.
100% Free & Accurate
Our tools provide unrestricted, lifetime-free access to authoritative DNS servers worldwide, completely bypassing deceptive ISP caches.
Privacy First & Secure
All sensitive computations like password generation and hashing occur 100% locally in your browser. No data is ever transmitted, logged, or stored on our servers.
Used by the Experts
Reliably trusted by thousands of sysadmins, DevOps engineers, and network professionals daily for pinpoint diagnostic accuracy.
Comprehensive TXT Record Lookup
TXT (Text) records are the multipurpose tool of the DNS world. They are used for everything from verifying domain ownership for Google Search Console to defining mission-critical email security policies like SPF, DKIM, and DMARC. Our TXT lookup tool performs a deep scan of your domain's text-based metadata to help you secure your domain and satisfy third-party service requirements.
Email Security Audit
Check your SPF, DKIM, and DMARC strings for syntax errors that cause emails to land in the spam folder.
Domain Verification
Retrieve verification codes from Google, Microsoft, and SaaS platforms to confirm successful setup.
Raw TXT Inspection
View all published text records for a domain to audit legacy configurations and stale security tokens.
A TXT (Text) record is a type of DNS record that contains human or machine-readable text data. Today, they are primarily used for email authentication (SPF, DKIM, DMARC) and domain verification for services like Google and Microsoft. TXT records do not direct traffic but provide essential configuration and security metadata for your domain.
"Multiple SPF records are a 'fatal' configuration error. If you need to authorize multiple services (e.g., Google and Mailchimp), you must *merge* them into a single TXT record using 'include' statements. Having two separate records starting with 'v=spf1' will cause almost all your emails to fail authentication."
What is this tool?
TXT records are plain text notes attached to a domain. This tool reads those notes, which are almost exclusively used today to prove domain ownership and secure email against spammers.
How to use it
- Enter your domain name.
- Click 'Lookup'.
- Read the list of text snippets returned by the server.
- Look for lines starting with 'v=spf1' or 'v=DMARC1' to verify your email security.
Real-World Use Cases
- Verifying your site with Google Search Console by checking for the 'google-site-verification' text.
- Making sure your SPF record is correctly formatted so your business emails don't go to spam.
- Auditing a domain to remove old, obsolete verification codes from unused services.
Example Outputs
You might see an output like: 'v=spf1 include:_spf.google.com ~all', meaning Google is allowed to send your emails.
What is a TXT Record?
A Text (TXT) Record allows domain administrators to insert arbitrary text into their DNS records. Originally intended for human-readable notes, TXT records are now a foundational element of internet security, domain verification, and email authentication. They are heavily utilized by services like Google Search Console to verify website ownership. More importantly, TXT records are used to publish SPF (Sender Policy Framework), DKIM (DomainKeys Identified Mail), and DMARC policies, which collectively prevent email spoofing, phishing attacks, and ensure your outgoing emails don't end up in spam folders.
How to use the GetDNSInfo TXT Record Tool
Enter your domain name to securely extract all public TXT records associated with your zone. Because TXT records handle sensitive authentication strings, our DoH protocol ensures your lookup is private and untampered. The tool will list all text entries and their TTLs. Developers and IT administrators rely on this tool daily to validate that complex SPF strings are formatted correctly, to confirm that DKIM cryptographic keys are actively published, and to verify domain ownership when onboarding new SaaS platforms.
Common TXT Record Errors and Fixes
Because TXT records rely on exact syntax, errors are incredibly common:
- SPF Syntax Errors: Missing spaces, incorrect formatting (like using
?allinstead of-allor~all), or exceeding the 10-DNS-lookup limit can break SPF. Fix: Use a dedicated SPF generator to craft your record, and consolidate services to stay under the lookup limit. - Multiple SPF Records: A domain can only have one SPF TXT record. Having multiple records will cause email authentication to fail completely. Fix: Merge all authorized sending sources (e.g., Google Workspace, Mailchimp) into a single, unified SPF TXT string.
- Character Limits: Standard TXT records are often limited to 255 characters per string. Long DKIM keys frequently exceed this. Fix: Ensure your DNS provider supports splitting long TXT strings into multiple linked parts, which is the standard method for handling 2048-bit DKIM keys.
Frequently Asked Questions
Explore Security Resources
Deepen your technical knowledge with our expert guides and tools focused on Security. Establish a stronger foundation in modern internet architecture.

What is DNS? A Complete Guide to the Domain Name System
Learn how DNS works, why it matters for every website and email, and how domain names are translated into IP addresses. A comprehensive guide for beginners and professionals.

DNS Propagation Explained: How Long Does It Take and How to Speed It Up
Understand why DNS changes take time to propagate worldwide, what affects propagation speed, and proven techniques to minimize propagation time when changing DNS records.

Email Authentication: SPF, DKIM, and DMARC Explained
A comprehensive guide to SPF, DKIM, and DMARC email authentication records. Learn how each protocol works, how to configure them correctly, and how they protect your domain from email spoofing.
Verified by Get DNS INFO Team
Expert ReviewThis tool and its educational content are maintained by network infrastructure specialists. We provide real-time, authoritative DNS data and expert guidance on email security, propagation, and network optimization.
Meet the Experts