What is the maximum length of a URL in different browsers?

Asked 05-Apr-2018
Viewed 1223 times

1 Answer



 URL: A uniform resource locator (abbreviated URL) is a specific character string that constitutes a reference to a resource. It is normally at the top of the page.
However, there is a certain limit of the length of URL, which can vary from browser to browser. Mainly the programmers, coders these type of people need to know the length or limit of the URL’s length. If the limit is crossed then the browser will either display a certain message like ”error”, “URL too long”, or the browser will start to act abnormally.
The following are some browsers with their URL limit:
1) Microsoft Internet Explorer (Browser) 
     In IE the maximum length of a URL in Internet Explorer is 2,083 characters, with no more than 2,048 characters in the path portion of the URL. If you attempt to write more than this limit then the page will display a message stating an error.
2) Firefox (Browser)
     In Firefox after 65,536 characters, an error will be displayed. However, longer URLs might work.
3) Safari (Browser)
     In Safari the limit is approx. 80,000 characters.
4) Opera (Browser)
     In Opera, the limit is approx. 190,000.
5) Apache (Browser) 
   In Apache, URL length limit is of approximately 4,000 characters, after which it produces an error.
6) Chrome (Browser) 
  In chrome, the limit is approximately 32779 characters.