Network protocols
DNS TXT byte chunker
Split UTF-8 TXT data into length-prefixed character strings.
Your inputs
Start with an exampleYour result
Example resultAa — A small example of your colors.
How it works
Encode UTF-8 characters without splitting a character across strings. Prefix each string with its byte count. RDATA cannot exceed 65,535 bytes.
Text abc with a 2-byte string limit becomes 02 61 62 01 63.
Limits
This exports RDATA, not a complete DNS record or zone-file quoting. Empty text becomes one zero-length string.