Programming

What Does %20 Mean in a URL?

August 21, 2026 12 views Updated: September 10, 2026

If you have ever looked at a web address and noticed %20, you may have wondered what it means. The answer is related to URL encoding.

What Does %20 Mean?

%20 represents a space character in URL encoding. Web addresses cannot always contain spaces directly, so special characters are represented using percent encoding.

Example

A phrase such as:

hello world

can be represented in an encoded URL as:

hello%20world

Why Are Spaces Encoded?

URLs follow specific syntax rules. Certain characters have special meanings inside URLs, so encoding allows text and special characters to be safely represented.

URL Encoding Examples

CharacterEncoded Form
Space%20
!%21
#%23
$%24
&%26

When Is URL Encoding Used?

  • Query parameters
  • Web forms
  • API requests
  • Search URLs
  • Sharing text through URLs

Conclusion

%20 is simply the URL-encoded representation of a space. Understanding URL encoding is useful for developers working with websites, APIs, forms, and query parameters.

Share this post:

Back to Blog