Does capitalization and spaces matter in Internet addresses?

Updated: 12/31/2017 by Computer Hope


Spaces are not allowed in any Internet address. Therefore, never use spaces when typing in an address.

If you need to create a URL or address with spaces, substitute the spaces with a + (plus). Otherwise, the browser automatically encodes the space to a value of %20 when entered through the address bar.


Uppercase text exampleWhen typing an Internet address, capitalization may be important. An Internet address is only case sensitive for everything after the domain name. For example, it does not matter if you use uppercase or lowercase with "," it still reaches the same page.

However, when typing the name of the page, file, or directory in the URL, it is case sensitive.


is different than

Although the domain is valid, jargon.htm is uppercase and that file does not exist on the server and would generate a 404 error message.

The same rule applies if the page was all uppercase and not lowercase, which would result in the uppercase version working, but not the lowercase version.

Tip: If you are uncertain if the page or directory is uppercase or lowercase, always use lowercase. The majority of pages on the Internet are going to be in all lowercase. If you are creating web pages, we recommend that the file names be all lowercase.

Additional information