URL Encoder and Decoder

Percent-encode and decode URLs and break them into parts, in your browser.

Encoding and decoding Runs in your browser: nothing you enter is sent to a server.

Mode

About the URL Encoder and Decoder

URLs may contain only a limited set of characters; everything else is percent-encoded, for example a space as %20. Decoding reveals what a link really points to, which helps when analysing phishing links or debugging redirects.

Encode or decode text, and see a URL split into its parts with every query parameter decoded. Nothing is sent to a server.

How to use it

  1. Paste a URL or text.
  2. Choose encode or decode.
  3. Review the result and the URL breakdown.

Frequently asked questions

What is the difference between encodeURI and encodeURIComponent?

encodeURIComponent encodes everything except letters, digits and - _ . ! ~ * ' ( ), so it is right for a single query value. encodeURI keeps characters that structure a URL (: / ? & = #) and is meant for a whole address.

How do I spot a deceptive link?

Decode it and read the host name right to left: in https://paypal.com.secure-login.example/ the real domain is secure-login.example. Watch out for @ in URLs, look-alike characters and long encoded redirect parameters.

Why is a space sometimes a plus sign?

In HTML form data (application/x-www-form-urlencoded) a space is encoded as +. In other parts of a URL it is %20.

All free tools