Encode text so it is safe to use in a web address, or decode a percent-encoded URL back to readable text.
How to use the URL Encoder and Decoder
- Paste the text or URL into the box.
- Click Encode, or Decode if it already has % codes such as %20.
- Tick the full URL option if you are encoding a whole address, then copy the result.
Tips and common uses
URL encoding replaces characters such as spaces, ampersands and non-English letters with percent codes so links and query strings work reliably.
- Encode only the value of a parameter, not the whole address, or you will break the slashes and question marks.
- Decode a messy tracking link to see the real destination and parameters.
- A space becomes %20, and a plus sign in a query string is also read as a space.
Frequently asked questions
What does %20 mean?
It is a space. Characters that are not allowed in a URL are written as a percent sign followed by two hex digits.
When should I encode a full URL?
When you want to keep the structure of the address, such as the colon and slashes, and only encode unsafe characters.
Can I decode a URL with a plus sign?
A plus sign is left as it is. Some forms use it for a space, so replace it yourself if needed.
More free tools
Free to use, with no sign-up or login. This tool runs in your browser and does not store your data.
Worked example
The text “tea & coffee” encodes to tea%20%26%20coffee, because a space becomes %20 and the ampersand becomes %26. Decode it to get the original text back. Encode query values before you add them to a link.
When to use this tool
Use it to build safe links, debug query strings and read encoded addresses.
Good to know
- Encode only the value, not the whole URL.
- A plus sign can mean a space in form data.
- Double encoding creates broken links.
More free tools: Base64 Encoder and Decoder, JSON Formatter, QR Code Generator. Browse all ZinoLens tools.
