What does the URL Encode do?
URL encoding (percent-encoding) replaces reserved characters so they can travel safely in a query string or path. This tool wraps encodeURIComponent and decodeURIComponent.
Percent-encode query strings, paths and fragments. Nothing is uploaded.
The URL encoder percent-encodes per UTF-8 byte, so é (2 bytes) becomes %C3%A9 (6 characters); only letters, digits and the four unreserved marks - _ . ~ always pass through unchanged.
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.
No. This page never sends your input to a server — formatting, decoding and hashing all run in this tab, on this device.How that works.
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.
Browse allencoding toolsor thefull tool directory.