Complete URL Encoding Character Reference

When dealing with APIs, web scraping, or frontend routing, having a handy reference for percent-encoded characters is essential. This guide provides a comprehensive list of how common symbols and reserved characters are encoded in a URL.

Reserved Characters

These characters have special structural meaning in a URL (like separating the host from the path, or defining query parameters). If you want to use them as actual data values, they must be encoded using encodeURIComponent.

Character Encoded Role in URL
!%21Punctuation
#%23Fragment identifier
$%24Reserved
&%26Query parameter separator
'%27Punctuation
+%2BOften represents a space
,%2CReserved
/%2FPath separator
:%3AProtocol/Port separator
;%3BReserved
=%3DQuery key/value separator
?%3FQuery string identifier
@%40Authentication separator

Unsafe Characters

These characters are not reserved for structural use, but they are deemed "unsafe" because they can be misinterpreted by various gateways, email clients, or older browsers. They should always be encoded.

Character Encoded Reason
Space%20Breaks URL in HTTP headers
"%22Breaks HTML attributes
<%3CBreaks HTML/XML
>%3EBreaks HTML/XML
[%5BUnsafe
\%5CUnsafe
]%5DUnsafe
^%5EUnsafe
`%60Unsafe
{%7BUnsafe
|%7CUnsafe
}%7DUnsafe

If you need to encode a long string containing these characters, don't do it manually. Head over to our URL Encoder and let the tool handle it instantly.

Conclusion

Understanding this topic is an essential part of working with web technologies. Whether you are a developer building APIs, a marketer tracking campaigns, or an everyday user, mastering URL encoding ensures your data is transmitted safely and accurately.

If you need to encode or decode data quickly, remember to use our free, browser-based tools. They process everything locally, guaranteeing your privacy.