Encode / Decode
Encode or decode percent-encoded text, or break a full URL down into readable parts.
Percent-encoding (also called URL encoding) makes text safe to place inside a URL by replacing reserved
and non-ASCII characters with %XX sequences. This tool covers three common needs: encoding a
value for use in a query string, decoding a percent-encoded value back to readable text, and breaking a
full URL apart into its protocol, host, path, and query parameters.
&, ?, #, and other special/non-ASCII characters into percent-encoded form, using JavaScript's encodeURIComponent rules — the correct choice for encoding an individual query parameter value.redirect_uri or callback URL to see the real destination.encodeURIComponent rules, appropriate for encoding an individual value (like a query parameter) that may itself contain &, ?, or /. Encoding an entire URL (which has some characters that must stay unescaped, like : and / in the path) is a different, less common operation.%20 under standard percent-encoding rules. Some older systems (like HTML form submissions) instead use + for spaces in the query string — both are valid depending on context.https:// to the front if your URL doesn't include one; browsers' URL parsers require a scheme to parse correctly.URL and encoding APIs.