Maximum length for url in chrome browser


0

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?


Share
asked 12 Aug 2022 06:15:43 PM
junaidakhtar

No comment found


Answers

0

I believe it's stayed the same:

I could not find any limits on Chrome and Safari. Both are based on WebKit and it seems to have similar limits as Firefox has.

Firefox stops displaying after 64k characters, but can serve more than 100k characters.

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.


Share
answered 12 Aug 2022 06:16:23 PM
junaidakhtar

No comment found

0

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.


Share
answered 12 Aug 2022 06:16:55 PM
junaidakhtar

No comment found


You must log in or sign up to answer this question.