URL Encode / Decode
Free URL encoder and decoder: percent-encode or decode text, query strings and whole URLs in component, full URL or form mode, with a URL breakdown.
How to use URL Encode / Decode
- 1Paste text or a URL and choose Encode or Decode.
- 2Pick Component, Full URL or Form mode, and tick the options you need.
- 3Copy the result or download it. Parse URL shows the parts of a valid address.
What makes it better
- Component, Full URL and form-encoded modes
- Handles UTF-8, so accents, Indian scripts and emoji work
- Tolerant decoder that flags invalid sequences like %E0%A4%A
- Process a list of URLs line by line
- URL breakdown with protocol, host, path, query table and hash
About URL Encode / Decode
URL Encode / Decode converts text to and from percent-encoding (%20, %C3%A9 and so on). Pick Component to escape a value for a query string, Full URL to leave the structure of a whole address intact, or Form to get + for spaces. Malformed sequences never crash it: the tool decodes what it can and tells you which escape is wrong.
Common uses
- Escape a search phrase or redirect URL before placing it in a query string.
- Decode a long, percent-filled link from a log or email to see what it really contains.
- Convert a list of URLs containing spaces or accents in one go.
- Check the query parameters of a tracking or callback URL.
Example
Input
price=₹500 & tax=5%, café/menu?lang=hi
Result
price%3D%E2%82%B9500%20%26%20tax%3D5%25%2C%20caf%C3%A9%2Fmenu%3Flang%3Dhi
Good to know
- Component mode escapes / ? & = # and everything except letters, digits and - _ . ! ~ * ' ( ). Use it for a single value, never for a whole URL, or the address will stop working.
- Full URL mode leaves : / ? # & = and similar characters alone, so it only fixes spaces and non-ASCII characters. In decode it keeps escapes of reserved characters such as %2F, as decodeURI does.
- A + is read as a space only in Form mode or when Decode plus as space is on. Percent-encoding is not encryption and hides nothing.
URL Encode / Decode FAQ
What is the difference between Component and Full URL mode?
Component mode (like JavaScript's encodeURIComponent) escapes every reserved character, which is right for one value inside a URL. Full URL mode (encodeURI) keeps : / ? # & = so a complete address still works after encoding.
Should a space become %20 or +?
In a URL path or query written by hand, %20 is always correct. A plus sign stands for a space only in HTML form data (application/x-www-form-urlencoded), which is what Form mode produces.
How do I decode a URL with a bad sequence like %E0%A4%A?
Paste it in Decode. Valid parts are decoded, the broken escapes are left as they are, and a message lists each invalid sequence so you can see where the link was cut off or mistyped.
Can I encode many URLs at once?
Yes. Keep Process each line separately on and put one URL per line. Each line is converted on its own and the line breaks are preserved.
Why are Hindi or emoji characters turned into several %XX groups?
URLs carry bytes, and non-ASCII characters are first converted to UTF-8, which takes two to four bytes each. Every byte becomes one %XX escape, so one emoji becomes four.