HomeBlogURL Encoding Guide
Developer Tools · 4 min read

URL Encoding Explained — What Is %20 and Why URLs Need It

You've seen %20, %3A, or %2F in URLs. This is URL encoding — a way to transmit special characters safely in a web address.

Common URL Encoded Characters

CharacterEncodedReason
Space%20Spaces break URL parsing
!%21Special character
#%23Fragment identifier in URLs
&%26Parameter separator
/%2FPath separator
:%3AProtocol separator
=%3DKey-value separator
?%3FQuery string start
@%40Used in email/auth

Safe vs Unsafe URL Characters

Safe (no encoding needed): Letters A–Z, a–z, digits 0–9, and - _ . ~

Reserved (special URL meaning): : / ? # [ ] @ ! $ & ' ( ) * + , ; = — encode these when they appear in values (not as URL structure).

Everything else must be percent-encoded.

Frequently Asked Questions

Percent-encoding that converts special characters to % + two hex digits so they can be safely included in a URL. A space (ASCII 32 = hex 20) becomes %20.
Spaces aren't allowed in URLs per RFC 3986. %20 is the percent-encoded representation (hex 20 = decimal 32 = ASCII space character).
Spaces, <, >, #, %, {, }, |, \, ^, ~, and any character outside ASCII. Reserved characters like & = / must be encoded when used in query values.
Use PickConverter's free URL Encoder/Decoder. Paste text or a URL to encode/decode it instantly — no sign-up.
🔗

Encode or decode URLs — free

Instant percent-encoding. No sign-up required.

Open URL Encoder →