URL Encoder and Decoder
Percent-encode or decode a URL and see its query parameters listed out.
URL Encoder / Decoder
Percent-encode or decode a URL and see its query parameters listed out.
Starts in your browser. Instructions are below.
How to use URL Encoder / Decoder
- 01Paste a URL or a piece of text into the input box.
- 02Choose Encode or Decode, depending on what you need.
- 03Read the output below, and check the query parameter table for the key and value of each parameter.
About URL Encoder / Decoder
This URL encoder and decoder turns text into percent encoding, and turns percent-encoded text back into readable characters. URLs can only contain a limited set of characters, so anything else, like a space or an ampersand inside a value, gets written as a % followed by its hexadecimal byte value.
Encoding uses encodeURIComponent, so a space becomes %20 and an ampersand inside a value becomes %26, which keeps it from being mistaken for a parameter separator. Decoding reverses the process with decodeURIComponent.
Paste a full URL to also see its query string broken into a key and value table, which makes it easy to check what a link actually sends. Use the encoder whenever you are building a query parameter value by hand.
Frequently asked questions
- When do I need to URL-encode a value?
- Whenever you are putting a value inside a query parameter, so characters like & and = do not break the URL.
- Why does my decoded text show an error or strange characters?
- The input was probably encoded twice, or contains a malformed % sequence. Check the error message and try decoding again.
- Is my URL sent anywhere?
- No, encoding and decoding happen entirely in your browser.
- Does it show query parameters automatically?
- Yes, paste a URL with a query string and the parameters appear in a table below the output.
Related tools and tools
Base64 Encoder / Decoder
Convert text to Base64 and back, with full UTF-8 support.
JSON Formatter
Paste JSON to pretty-print, minify or validate it, with the exact position of any error.
Hash Generator
See the SHA-1, SHA-256, SHA-384, and SHA-512 hash of any text update as you type.
Text Case Converter
Switch text between uppercase, lowercase, title, sentence, camel, snake and kebab case.