URL encode and decode online
Paste text or a URL to encode (percent-encoding) or decode it back. Useful for query strings, links and APIs.
What it is for
The URL encode and decode tool applies percent-encoding to a text or address and also reverses the encoding. Paste the content, choose encode or decode and copy the result.
Percent-encoding replaces characters that have special meaning in URLs, like spaces, accents and symbols, with sequences such as %20, making the address safe for browsing and requests.
When to use
- Build query strings with values that contain spaces, accents or symbols.
- Pass parameters to an API without breaking the URL.
- Generate links that point to paths with special characters.
- Decode a URL with %20 and similar sequences to read the original value.
How to use
- Paste the text or URL into the input.
- Choose encode (text becomes percent-encoding) or decode (back to the original).
- Copy the result ready to use in the link or parameter.
Privacy
Encoding and decoding happen in your browser, with nothing sent to servers. You can handle sensitive parameters and links without them leaving your computer.
Frequently asked questions
- Why does a space become %20?
- Because a space is not allowed directly in a URL. Percent-encoding replaces it with %20 so the address stays valid.
- Can I decode a URL I received?
- Yes. Paste the encoded URL and choose decode to see the original value, with accents and symbols restored.
- Is the content sent to any server?
- No. Everything is processed in your browser.