Loading tool…
Percent-encode characters that aren't allowed in URLs, or decode an encoded query string back to readable text.
Loading tool…
Privacy: this tool runs entirely in your browser. Your input is never sent to, received by, or stored on any server — there are no uploads and no tracking of what you enter.
URL (percent) encoding replaces unsafe or reserved characters in a URL with a % followed by two hexadecimal digits. For example a space becomes %20 and an ampersand becomes %26. This keeps URLs unambiguous when they travel across the web.
Unreserved characters (letters, digits, - _ . ~) are never encoded. Reserved characters such as ? & = # / have special meaning in a URL and must be encoded when used as literal data inside a query value.
This tool uses encodeURIComponent, which encodes characters like &, = and ? — ideal for individual query-string values. Use it on each parameter, not on a whole URL.
://, ? and & that give the URL its structure.%20. In old form submissions (application/x-www-form-urlencoded) they become +. This decoder treats + as a space.