URL Encoder/Decoder
Encode and decode URL strings instantly. Perfect for handling special characters in URLs and query parameters
URL Converter
About URL Encoder/Decoder
URLs can only contain a limited set of characters. Spaces, accented letters, symbols such as & and ?, and non-English text must be written as percent codes, like %20 for a space. This tool encodes text so that it is safe to use as part of a URL, and decodes percent-encoded text back to normal.
It uses the same encoding as the encodeURIComponent function in JavaScript. Letters, digits and the characters - _ . ! ~ * ' ( ) are left as they are, and everything else is converted, including / ? & = # : and spaces. That makes it right for a single value, such as a query parameter, but not for a whole URL, because the slashes and question marks that give the URL its structure would be encoded too.
When decoding, a plus sign is not turned into a space. Plus signs mean a space only in form-encoded data (application/x-www-form-urlencoded), and in that case replace the + signs with spaces first. Text with a broken percent sequence, such as %E0%A4%A, cannot be decoded and shows an error.
Who uses it and when
Query parameters
Encode a value before adding it to a link.
Reading encoded links
Decode a long %20-filled URL to see what it says.
Non-English text
Encode Arabic, Urdu, Chinese or accented text for use in a URL.
Debugging redirects
Check what a callback or redirect parameter really contains.
Why use this URL Encoder/Decoder
Percent-encode and decode text for URLs.
Encode and decode
Two boxes, two buttons, instant results.
UTF-8 aware
Works with any language and emoji.
Private
Runs in your browser.
How it works
Enter your text
Plain text to encode, or encoded text to decode.
Click Encode or Decode
The result appears below.
Copy it
Use the Copy button.
Frequently asked questions
Should I encode a whole URL?
No. This encodes everything including / and ?. Encode only the values that go inside the URL.
Why does a space become %20 and not +?
%20 is the standard in URLs. The + form is only used in form submissions.
Does decoding turn + into a space?
No. Replace the + signs with spaces first if the text came from a form.
Why do I get an invalid string error?
The text has an incomplete or invalid percent sequence.
Guides and articles
- 14 Free Online Tools You’ll Actually Use Every Day in 2026 Most tool websites do the same thing: they promise "free" tools, then hit you with a sign-up wall, a watermark,…