What the URL encoder/decoder does
URL encoding (percent-encoding) replaces reserved characters so they can travel safely in a query string or path. This tool wraps encodeURIComponent and decodeURIComponent.
Paste text to percent-encode it for query strings and paths, or paste a %XX string to decode it. Encoding uses encodeURIComponent: a space becomes %20 and é becomes %C3%A9. Unreserved characters (letters, digits and - _ . ~) pass through unchanged. The string is encoded in this tab and never sent anywhere.
Runs in this tab · nothing is uploaded · Verify in 10 seconds →
URL encoding (percent-encoding) replaces reserved characters so they can travel safely in a query string or path. This tool wraps encodeURIComponent and decodeURIComponent.
Encode maps characters such as spaces and ampersands to % sequences. Decode reverses them. Both functions run locally.
~/faq
This tool uses encodeURIComponent, which also encodes ?, &, and =. That is the right choice for query values, not for a full URL you want to keep as a URL.
A lone % or a truncated escape sequence is invalid. Check the string for incomplete %HH groups.
Not here. application/x-www-form-urlencoded treats + as space; this tool follows JavaScript's decodeURIComponent, which does not.
No.
Chosen for the same job, not just the same category.