Free Online URL Encoder & Decoder
Encode special characters in URLs or decode percent-encoded URL strings. Essential for working with query parameters, API calls, and web development.
Loading tool...
Example
Input
hello world & foo=barOutput
hello%20world%20%26%20foo%3DbarHow to Use the URL Encoder/Decoder
1
Paste a URL or text string into the input area.
2
Click Encode to percent-encode or Decode to convert back.
3
Copy the result for use in your code or browser.
Frequently Asked Questions
What is URL encoding?
URL encoding replaces special characters with percent-encoded equivalents (e.g., space becomes %20) so they can be safely included in URLs.
When do I need URL encoding?
Use URL encoding when passing special characters in query strings, form data, or any URL component that might contain spaces or symbols.
Does it handle full URLs?
Yes. You can encode/decode individual strings or full URLs with query parameters.