How to use this tool
- Paste plain text, a URL component, or a full URL.
- Choose encode or decode mode, then pick component or full URL handling.
- Copy the transformed output or inspect parsed query parameters.
Encode URL components, decode percent-encoded text, and inspect query strings locally. Useful for redirects, API calls, tracking links, and debugging copied URLs.
Use this URL encoder and decoder for query parameters, redirects, APIs, OAuth callback URLs, and copied links.
hello world becomes hello%20world.name=Lin & role=admin becomes name%3DLin%20%26%20role%3Dadmin in component mode.%E4%BD%A0%E5%A5%BD into readable UTF-8 text.hello world & tea=green.hello%20world%20%26%20tea%3Dgreen.q=hello%20world back into readable query text.+ for spaces.%25 sequences.| Case | Best mode |
|---|---|
| One query value | Component mode, similar to encodeURIComponent. |
| Complete URL | Full URL mode, similar to encodeURI, preserves separators. |
| Emoji or Chinese text | Use UTF-8 percent encoding, then decode to confirm readability. |
Use these tools for common developer data and identifier workflows.
Short answers for encoding and decoding choices.
No. The input is transformed locally in your browser.
Component mode encodes text for one URL part, such as a query parameter value.
Full URL mode preserves separators such as slashes, colons, and question marks.
Malformed percent encoding, such as an incomplete percent escape, cannot be decoded safely.