TXT Record Splitter
Split a long TXT value (like a 2048-bit DKIM key) into valid 255-character DNS strings, formatted as one quoted record. Free, runs in your browser.
Split a long TXT record
Paste a TXT value over 255 characters (like a DKIM key). It is split into valid DNS strings.
What this TXT record splitter does
Common use cases
- 1Publishing a 2048-bit DKIM public key
- 2Adding a long verification TXT record
- 3Fixing a "string too long" DNS error
- 4Formatting a value your provider rejected
- 5Preparing TXT records for BIND zone files
- 6Splitting concatenated policy records
Related tools
About the 255-character TXT limit
A single DNS character-string is limited to 255 bytes. Longer values — such as 2048-bit DKIM public keys — must be published as multiple quoted strings within one TXT record, which resolvers concatenate back together. Getting this wrong causes "string too long" errors or broken DKIM.
This tool splits your value at 255 characters and wraps each piece in quotes, giving you a record you can paste directly. It runs locally in your browser.
More Free Tools Where This Came From
This utility is one of dozens of free, no-login tools for DNS, email, SEO and developers — all instant and private.
HostCloud.in · Pune, India · Serving 34,987+ Websites Since 2020
Got Questions? We Have Answers.
Why do TXT records need splitting?
A single DNS character-string is limited to 255 bytes. Longer values must be published as multiple quoted strings within one TXT record, which resolvers join back together.
What is this most used for?
Publishing 2048-bit DKIM public keys, long SPF records, and lengthy domain-verification tokens that exceed 255 characters.
How do I publish the split record?
Paste the whole quoted, space-separated output as a single TXT record. Most providers accept it as-is; some ask for the value without quotes.
Does splitting change the value?
No. Resolvers concatenate the strings back into the original value, so the meaning is unchanged — it is only a DNS formatting requirement.
What if my value is under 255 characters?
It does not need splitting. The tool still shows the valid single quoted form for convenience.
Is my value uploaded?
No. Splitting happens entirely in your browser.
