URL Encoder/Decoder
Encode and decode URLs and query strings
URL Encoder/Decoder Online - Free Percent Encoding
Encode and decode URLs online with our free tool. Full support for percent encoding, Unicode characters and emojis. Perfect for developers working with query strings, APIs and URL parameters. Everything happens locally in your browser.
How It Works
- Choose whether you want to encode or decode the URL
- Enter the URL or text in the input area
- Click the button to process the conversion
- Copy the result to your clipboard with one click
Frequently Asked Questions
What is URL encoding (percent encoding)?
URL encoding transforms special characters into a format safe for use in URLs. For example, spaces become %20. It's necessary because URLs can only contain certain ASCII characters.
When should I use URL encoding?
Use URL encoding when you pass parameters in query strings, when you have special characters (spaces, &, =, ?, etc.) or non-ASCII characters like accented letters and emojis in URLs.
What is the difference between encodeURI and encodeURIComponent?
This tool uses encodeURIComponent, which encodes all special characters including /,:,@,?,&,=. It's ideal for query parameters. encodeURI instead preserves some valid URL characters and is for complete URLs.