TOOLHUB
🔗

URL Encoder/Decoder

Encode and decode URLs to handle special characters safely for web applications and APIs

Select Mode

Result will appear here...

Quick Test

Example Conversions

Simple Text
Original: hello world
Encoded: hello%20world
Email Address
Original: user@domain.com
Encoded: user%40domain.com
Special Characters
Original: café & résumé
Encoded: caf%C3%A9%20%26%20r%C3%A9sum%C3%A9
Full URL
Original: https://example.com/search?q=hello world&type=all
Encoded: https%3A//example.com/search%3Fq%3Dhello%20world%26type%3Dall

Character Reference

Space%20
!Exclamation%21
"Quote%22
#Hash%23
$Dollar%24
%Percent%25
&Ampersand%26
'Apostrophe%27
(Left Paren%28
)Right Paren%29
*Asterisk%2A
+Plus%2B
,Comma%2C
/Slash%2F
:Colon%3A

Pro Tips

🔒 When to Encode

Always encode URLs when they contain special characters, spaces, or non-ASCII characters before sending HTTP requests.

🔓 When to Decode

Decode URLs when you need to display them to users or process the original text content.

⚡ API Usage

Essential for REST APIs, form submissions, and query parameters to prevent data corruption.

🌐 Web Development

Critical for handling user input in web forms and building dynamic URLs with parameters.