There is no single maximum URL length. The HTTP standard, RFC 9110, recommends that software support URLs of at least 8,000 octets, but the limits that matter for marketing are far lower: a 160-character SMS, a QR code that gets denser with every character, and GA4, which accepts a page URL of up to 1,000 characters.
Long links usually grow by accident. A product URL picks up a variant ID, five UTM tags and an ad click ID, and suddenly it’s 283 characters. It still works in a browser, but in a text message or on a printed flyer it causes real trouble.
What does the standard say about URL length?
RFC 9110, the current HTTP semantics standard, says in section 4.1: “It is RECOMMENDED that all senders and recipients support, at a minimum, URIs with lengths of 8000 octets in protocol elements.”
That’s a floor, not a ceiling. Servers and tools can accept longer URLs, and some set their own limits lower. In practice, the limit you hit first comes from the channel where you share the link.
Which limits matter when you share links?

Limits that matter when you share a link, with a 283-character example
| Where | Limit | Source |
|---|---|---|
| One SMS, GSM-7 | 160 characters, 153 per part when split | Twilio docs |
| A post on X | Every link counts as 23 characters | X developer docs |
| GA4 page_location | 1,000 characters | GA4 event collection limits |
| QR code, version 40, level L | 2,953 bytes | Measured with segno |
| HTTP recommended minimum | 8,000 octets | RFC 9110 |
Google’s help page on GA4 event collection limits lists the URL-related ones: page_location must be 1,000 characters or fewer, page_referrer 420 and page_title 300. The SMS limits are covered in short links in SMS marketing, and X’s 23-character rule in every link on X counts as 23 characters.
What happens to a 283-character link?
Capsulink built an example on 2026-12-04: a product page URL with a variant ID, five UTM tags and a gclid, 283 characters in total. Then it compared it with the short link cli.re/boots:

The same destination as a long URL and as a short link (measured 2026-12-04)
- SMS: the long URL alone is longer than 160 characters, so the message is split into parts of 153 characters. The short link leaves room for the actual message in one part.
- QR code: at error correction level M, the long URL needs version 12, with 65 x 65 modules. The short link fits in version 2, with 25 x 25. At the same print size, the short link’s squares are more than twice as large.
- Typing: nobody types 283 characters from a poster. 12 characters is fine.
- GA4: both fit under the 1,000-character page_location limit, so the tags still reach the report.
The QR code size guide turns module counts into millimetres.
How to keep shared links short
- Keep the long URL as the destination. Put the UTM tags and IDs on the long URL, and share a short link that points to it. The UTM parameters guide has the naming rules.
- Drop what the page doesn’t need. Session IDs and tracking leftovers copied from the address bar make the link longer without helping anyone.
- Use short, clear UTM values.
utm_campaign=winter26works as well as a sentence. - Pick a short ending.
/bootsbeats/winter-boot-sale-2026-landingfor anything printed or spoken.
Capsulink forwards tags added to a short link, so the same short link can carry different tags per channel. Just keep each tag in one place, as shown in double UTM tags in email links.
FAQ
What is the maximum length of a URL?
There’s no fixed maximum. RFC 9110 recommends supporting at least 8,000 octets. Tools you share links in have much lower practical limits, like 160 characters for one SMS.
Does GA4 cut off long URLs?
GA4’s collection limits say page_location must be 1,000 characters or fewer. Keep tagged URLs well under that.
How long a URL can a QR code hold?
A version 40 QR code at error correction level L holds 2,953 bytes, measured with segno. It’s 177 x 177 modules, which is hard to scan when printed small.
Why does my text message split into two parts?
A GSM-7 SMS holds 160 characters. A longer message is split into parts of 153 characters, and a long URL alone can push it over. A short link usually keeps it in one part.