URL Encoder / Decoder
Percent-encode and decode URL query strings.
Sensitive data: Anything you enter is processed in your browser only. It is never uploaded or logged on a server.
URL encoding and decoding for query strings
URLs reserve characters for structure. Spaces, ampersands, unicode text, and JSON fragments in query values must be percent-encoded or parsers split parameters in the wrong places. Encoding tools prevent subtle bugs in redirects, OAuth callbacks, and deep links.
Decoding helps when logs print escaped query strings and you need the original value for reproduction. Watch for double-encoding when proxies rewrite requests or when client libraries encode already-encoded values.
Plus signs versus percent-encoded spaces trip up form parsers. Know whether your server treats application/x-www-form-urlencoded rules differently from generic query parsers in your framework.
Encode and decode locally when debugging authentication redirects that carry tokens or PII in query parameters. Keeping those strings off remote decoder websites reduces accidental exposure in analytics or support tickets.
Reference Guide
Percent-encode and decode URL query components for redirects and API clients.
| Character | Encoding note |
|---|---|
| Space | Often %20; forms may use + |
& / = | Must encode inside values, not delimiters |
| Unicode | UTF-8 bytes encoded per RFC 3986 |
Current mode
Operation: url-encode
All processing runs locally in your browser. Paste input, click Run, and copy the result.
Example Input
hello world?q=1
A sample loads automatically when you open this tool. Use Load Sample to reset it.
