- Canada's Leading Web Hosting and Domain Name Provider

What Does %20 Mean in a Web Address?

  • %20 is the code for a space in a URL, used because web addresses cannot include blank spaces.
  • It appears in file names and page links when those names have spaces, ensuring the URL remains functional.
  • Removing or changing %20 can break a link, so it’s best to avoid spaces in file names and use dashes or underscores instead.

You may have noticed some strange symbols in web addresses, like %20, especially when copying links or uploading files. At first glance, it may look like an error. But it actually has a specific purpose in how the internet works. %20 in a URL represents a space character, used through URL encoding because spaces are not allowed in web addresses. It appears in file names, page titles, and shared links when those names contain spaces, helping browsers read and process the URL correctly. To avoid issues with links, use dashes or underscores instead of spaces when naming files or creating a URL.
Here’s what %20 means, why it’s used in web addresses, and how it affects website links and file names.

Understanding %20 in a URL

%20 is a type of URL encoding, also known as percent encoding. It represents a space character. Web browsers and servers cannot process blank spaces in URLs the way humans do. So instead, a space is replaced with %20.


This is part of a larger system that helps make sure web addresses are readable by both computers and browsers. When you type or paste a URL that contains spaces, the browser converts those spaces into %20 automatically.

Why Spaces Are Not Allowed in URLs

Web addresses follow a specific format known as the Uniform Resource Locator (URL). This format has rules, and one of those rules is that spaces are not valid characters.


Using spaces in a URL could break the link or cause it to point to the wrong location. For example, a file named “project file.pdf” would be changed to “project%20file.pdf” in the link. If the space wasn’t encoded, the browser wouldn’t know how to read the address.

How URL Encoding Works

URL encoding uses a percent symbol (%) followed by two numbers to replace characters that are not allowed in the URL. The code %20 is just one example. Each code corresponds to a specific character based on a standard called ASCII (American Standard Code for Information Interchange).

The space character is number 32 in ASCII, and its hexadecimal version is 20. That’s where %20 comes from—it’s the code for a space in hexadecimal form.

This system keeps the URL clean and readable by computers, even when they include spaces, punctuation, or other special characters.

When You Might See %20

You’ll usually notice %20 in a few common situations:

File Names with Spaces

When you upload a file that has spaces in the name, the link to the file often includes %20. For example, a file called “Marketing Plan.docx” may show up as “Marketing%20Plan.docx” in a shared URL.

Web Page Titles or Links

If a page title includes spaces and is used in a link, you might see %20 in the URL. This is common in blog links, product pages, or downloadable resources.

Copying and Pasting URLs

When copying a URL from browsers, especially from address bars or email templates, you may see the encoded form. It helps keep the link functional when shared across systems that may not support spaces.

What Happens If You Remove %20

Removing %20 from a link usually breaks the URL. If you replace it with an actual space, the browser may not understand where to go. It might show an error or redirect you to the wrong page.

That’s why it’s best to keep the %20 exactly where it appears when sharing or using the URL. Editing or changing it could make the link unusable.

Should You Avoid Spaces in File Names?

Yes, it’s a good idea to avoid spaces when naming files or creating a URL. Instead of using spaces, many people use dashes (-) or underscores (_) to keep file names web-friendly.

This reduces the chance of errors and keeps the URL clean. It also avoids confusion when sending links by email or uploading files to websites.

In the ever-evolving digital landscape, understanding the nuances of web functionality—like URL encoding with %20—ensures smoother online experiences. Just as proper URL formatting keeps links reliable, choosing a dependable web hosting provider like CanSpace Solutions guarantees your website remains stable, secure, and accessible.

As Canada’s most trusted web hosting company, CanSpace offers the robust infrastructure and expert support needed to handle every technical task. Start your hosting journey today with a provider that puts performance and support first.

CanSpace Team

CanSpace Solutions is Canada's leading domain name registrar and web hosting provider. Keep an eye on our blog for expert information on domain names, websites, and running a business online.