URL Encoder and Decoder
Percent-encode or decode URLs and inspect query string parameters.
Query parameters
| Key | Value |
|---|---|
| q | hello world |
| page | 2 |
How to use URL Encoder / Decoder
- 01Paste a URL or a piece of text into the input box.
- 02Switch between encode and decode, and between component and full-URL mode.
- 03Read the query parameter table underneath to see each key and value separately.
About URL Encoder / Decoder
URLs may only contain a limited set of characters, so anything else — spaces, accents, ampersands inside a value — has to be percent-encoded as a % followed by its hexadecimal byte value. A space becomes %20, and an ampersand inside a value becomes %26 so it is not mistaken for a parameter separator.
The distinction between component and full-URL encoding matters. Component encoding escapes the reserved characters such as / ? : & =, which is correct for a single parameter value. Full-URL encoding leaves them intact so the address itself keeps working.
Frequently asked questions
- When should I use component encoding?
- Whenever you are putting a value inside a query parameter, so characters like & and = do not break the URL structure.
- Why does my decoded text show strange characters?
- The input was probably encoded twice, or in a different character set. Decode again to check.
- Is my URL sent anywhere?
- No, encoding and decoding happen entirely in your browser.
Related tools and tools
Base64 Encoder / Decoder
Convert text to Base64 and back, with UTF-8 and URL-safe support.
JSON Formatter
Paste JSON to pretty-print, minify or validate it, with the exact position of any error.
Hash Generator
Produce SHA-1, SHA-256, SHA-384 and SHA-512 hashes from any text.
Text Case Converter
Switch text between uppercase, lowercase, title, sentence, camel, snake and kebab case.