Skip to content
Owais Khan Software Reviews

URL Decoder and Encoder

Decode or encode percent-encoded URLs as you type.

Decode or encode a URL

Decoded in 1 pass.

Query parameters with decoded values
ParameterValue
q café au lait
tag a+b
redirect https%3A%2F%2Fexample.com%2Fcart
page 2

Everything stays on this device — the URLs you paste never leave your browser.

URL decoder and URL decode online

Use this URL decoder to URL decode a link or a single value. Percent-encoding writes each byte that a URL cannot hold as % plus two hex digits, so caf%C3%A9 is “café” and %20 is a space. The tool decodes as you type, shows the first invalid escape by position, and lists the query parameters of a full URL in a table.

URL encode: component, full URL or form data

To URL encode text, pick the style that matches where it will go. The text a b&c=d/é encodes to a%20b%26c%3Dd%2F%C3%A9 as a component, a%20b&c=d/%C3%A9 as a full URL and a+b%26c%3Dd%2F%C3%A9 as form data. This is percent encoding as defined in RFC 3986, with the stricter rule that also escapes ! ' ( ) *.

Double-encoded links

A redirect or tracking parameter is often encoded twice, which turns %20 into %2520. Switch on “Decode repeatedly” to unwrap every layer. The example above has one: its redirect value is still https%3A%2F%2Fexample.com%2Fcart after one pass.

Related tools

Debugging a link or a token? Try the binary translator, the JWT decoder or the JSON formatter.

Frequently asked questions

What is a URL decoder?
A URL decoder turns percent-encoded text back into readable characters. URLs can only contain a limited set of characters, so everything else, such as spaces, accents and symbols, is written as a percent sign followed by two hexadecimal digits for each UTF-8 byte. A URL decoder reverses that, so caf%C3%A9 becomes “café”.
How do I decode a URL?
Paste the encoded URL or text into the box above and the decoded result appears as you type. https://example.com/search?q=caf%C3%A9+au+lait decodes to https://example.com/search?q=café+au+lait. If the link was encoded more than once, turn on repeated decoding. The query-parameter table lists every key with its decoded value.
What does %20 mean in a URL?
%20 is an encoded space. A space has the byte value 0x20 (32 in decimal), and URLs write that byte as a percent sign followed by its hexadecimal value. Other common ones are %26 for “&”, %3D for “=”, %2F for “/”, %3F for “?”, %23 for “#” and %25 for a literal percent sign.
What is the difference between + and %20?
Both can stand for a space, but in different places. %20 is a space anywhere in a URL. A plus sign means space only in form data (application/x-www-form-urlencoded), which is how HTML forms and many query strings are written; in a path, a plus is just a plus. Tick “Treat + as a space” when decoding form data, and leave it off for paths.
How do I decode a double-encoded URL?
Double encoding happens when already-encoded text is encoded again, so the percent sign itself becomes %25: a space becomes %20, then %2520. Decoding once leaves %20, and decoding twice gives a space (" " after 2 passes). Turn on “Decode repeatedly” and the tool keeps decoding until nothing changes, up to ten times.
What is the difference between encodeURI and encodeURIComponent?
encodeURI is for a whole URL and leaves the characters that give it structure (: / ? # & =) alone; encodeURIComponent is for a single value and escapes them. For the text a b&c=d/é they give a%20b&c=d/%C3%A9 and a%20b%26c%3Dd%2F%C3%A9. Use “component” for a value that goes inside a query string, “full URL” for a link you are keeping intact, and “form” when spaces must be + signs (a+b%26c%3Dd%2F%C3%A9).
Is my URL uploaded or processed on a server?
No. The conversion runs inside this page, so what you paste never leaves your browser, and there is no sign-up. That is enforced rather than promised: this site’s test suite scans the shipped HTML for every browser API capable of sending data off the page and fails the build if it finds one.