How long can a domain name be?

THE DIRECT ANSWER

A DNS label is limited to 63 octets. A complete wire-format domain name is limited to 255 octets. Unicode display characters and encoded IDN labels need separate treatment. RFC 1035 §2.3.4 sets the DNS limits, and RFC 5891 §4.4 requires the encoded A-label to conform to DNS length limits.

Count the encoded label separately

Check the precise encoded name at the registrar rather than counting only the letters you see on screen. For the brand decision, also test whether the name is easy to enter and communicate before putting it into printed material.

Your Next Steps

  1. 01

    Check the label’s encoded octet length.

  2. 02

    Check the complete wire-format name separately.

  3. 03

    Validate the exact spelling for the extension.

  4. 04

    Test the address on the devices customers will use.

Count the encoded label separately

Check the precise encoded name at the registrar rather than counting only the letters you see on screen. For the brand decision, also test whether the name is easy to enter and communicate before putting it into printed material.

What to check before you act
CheckWhy it matters
Verified detailDNS labels are limited to 63 octets and complete wire-format names to 255 octets.
Your next stepTest the address on the devices customers will use.

Go a little deeper

Continue with these NameSilo articles selected for this question.

Sources & Useful Links

Published 2026-11-17. Last updated 2026-11-19.

Ready for your next idea?

See if the domain you have in mind is available.

Find Your Domain