Home › Developer Tools › URL Encode & Decode

URL Encode & Decode

Make text safe for URLs, read encoded links, or see every part of a URL.

  • Free & unlimited
  • No sign-up
  • Instant results

How to use the URL Encode & Decode

  1. Choose encode component, encode full URL, decode, or split URL.
  2. Paste your text or URL.
  3. Copy the result.

Component vs full URL

Encode component (encodeURIComponent) encodes everything except letters, digits and -_.!~*'(). Use it for a single query value, e.g. a search term. Encode full URL keeps : / ? & = so the link still works and only encodes spaces and special characters.

Reading encoded links

Tracking links and redirects often hide the real address encoded as %3A%2F%2F. Decode it to see where a link actually goes. Plus signs are treated as spaces, as in form submissions.

Frequently asked questions

Why is a space %20 and sometimes +?

%20 is the standard in URLs; + means space only in query strings from HTML forms. The decoder handles both.

What does 'Split URL into parts' show?

Protocol, host, port, path, fragment and every query parameter decoded.

Is anything sent to a server?

No, it all runs in your browser.

Related tools