I have seen this popular question:
What is the maximum length of a URL in different browsers?
But since I couldn't find a reference to Google Chrome directly (and since most answers were given a few years ago) I was wondering what is the current limitation of URL length for the Google Chrome browser?
In theory it should be unlimited, However in practise, most of the Http Clients or Browsers are limited to 2083 characters of Url Length.
I believe it's stayed the same:
you can read more about it in this article.
Generally speaking there is no "limit" to a URL's length, but this answer states that you should keep your URL's under 2048 chars regardless to make sure it works in every client and server.
More information about all browsers here.
The current limit in Chrome is 2MB. This issue is discussed here:
https://code.google.com/p/chromium/issues/detail?id=69227
You'll find resources there such as a workaround when you need to overcome the issue for things such as displaying an image with a "toDataUrl" source.
Besides the fact that handling a URL might be implementation-dependent, the
HTTP/1.1
specifications states in theRFC2616
that :I do not know how many maximum characters would be, at maximum, be accepted by Google Chrome, and don't even know if there currently exists such a limit. Perhaps would it be specified in an obscure define in the Chromium GIT repository or even specified by the maximum value of a text input in the
Win32 API
on windows for example.However there is a limit on most web servers regarding URL lengths. They will probably in most cases throw a
413 Entity Too Large
in response.