DNS Name Length Checker
Count a hostname's ASCII labels after IDNA encoding. Check the 63-octet label limit, the 253-character presentation length and the 255-octet uncompressed DNS wire limit.
Inspect the 255-Octet DNS Name Budget
DNS Name Length Checker: how to use it
- Enter a hostname or choose an example. The report updates locally while you type.
- Check the ASCII result, terminal dot and per-label warnings. Look at the uncompressed wire length for the complete name.
- Copy or download the JSON report to keep the exact counts with your notes.
Limits and notes
Accepts a single hostname up to 2,048 input characters. Tests browser IDNA conversion and ordinary hostname syntax. Lengths describe an uncompressed DNS name. Escaped zone-file names, DNS service labels, compression pointers and live DNS records are outside this check.
How your privacy works →DNS Name Length Checker: common questions
Does a terminal dot add an extra wire octet?
The terminal dot makes the root explicit in text. The root takes one zero byte on the wire with either presentation.
Which length counts for an internationalized hostname?
Each encoded ASCII label is tested against the 63-octet limit. The complete wire length also includes each label's length field and the root.
Why is a service label with an underscore flagged?
This tool checks ordinary hostnames. Protocol-defined DNS owner names such as SRV service labels can legitimately use underscores.