URL encode / decode
| Key | Value |
|---|
About this tool
Percent-encoding replaces characters that are unsafe in URLs, such as spaces, ampersands, question marks, and non-ASCII characters, with %XX escape sequences, as defined by RFC 3986. Decoding reverses that. This tool does both, and it also parses a query string into its individual key-value pairs.
Paste a full URL or any string to encode or decode it. Paste a URL that has a query string and each parameter shows up on its own row, which helps when you’re debugging OAuth redirects, tracking links, or an API call where parameters got nested and double-encoded.
All processing stays in your browser, so URLs containing session tokens or personal data are never sent anywhere. One gotcha this tool untangles well: values encoded twice, where %20 becomes %2520. Decode repeatedly until the string stops changing. See MDN’s guide to encodeURIComponent for how browsers implement this.