A11y Annotator
Audit HTML for alt text, labels, headings, and ARIA gaps with fix suggestions.
OpenKnow how long a link really is once every character has been encoded.
Long query strings and encoded values are welcome.
Length is counted on the parsed, percent-encoded form.
See the result against the 2,083 and 2,000 character marks.
Path and query lengths show where the characters go.
A reporting dashboard stores its filters in the URL, and users have started complaining that shared links break. Before blaming the email client, measure the link. A few long filter lists can push a URL past what some software will accept.
The checker parses your input with the URL API and measures the resulting href, so the count reflects percent-encoding: a single space becomes three characters (%20) and each non-ASCII character becomes several. You get the total length, an OK or OVER mark against the 2,083 character limit from old Internet Explorer that many systems still copy, an OK or LONG mark against a 2,000 character soft limit often recommended for SEO, and separate counts for the path and the query string.
The path and query split is the useful part. When the query accounts for most of the length, move state into a POST body, a short id the server resolves, or local storage. Web servers, proxies and CDNs also enforce their own request-line limits, commonly around 8 KB, so a URL that passes here can still be refused upstream. Find the heavy parameters by breaking the link down in the URL parser. If the URLs are going into a sitemap, the protocol caps each one below 2,048 characters, and the sitemap validator reads the finished file.
Measuring happens locally as you type; the link is not visited.
Keyboard shortcut
Answers for this tool. For site-wide help, open the FAQ hub.
The length is measured after the URL parser encodes it. Spaces, quotes and non-Latin letters expand to percent sequences, and https:// is added if you left the scheme off.
Current browsers handle far longer URLs. The figure is shown because older software, email clients and some analytics tools still truncate around that point, which makes it a safe target for links people share.
It is included in the total because it is part of the href, but browsers never send the fragment to the server. If the hash is long, the request the server sees is shorter than the number shown.