Examples
Query Parameter
Original:
search query with spaces
Encoded:
search%20query%20with%20spaces
Special Characters
Original:
hello@world!#$%
Encoded:
hello%40world!%23%24%25
International Characters
Original:
café résumé naïve
Encoded:
caf%C3%A9%20r%C3%A9sum%C3%A9%20na%C3%AFve
About URL Encoding
URL encoding (also called percent encoding) is a mechanism for encoding information in URLs. It's essential when URLs contain special characters or spaces that need to be transmitted safely over the internet.
When to Use URL Encoding:
- • Query parameters with spaces or special characters
- • Form data submission
- • API requests with dynamic parameters
- • Storing URLs in databases
- • Email links with parameters
Common Characters:
Space
%20
@
%40
#
%23
%
%25