URL Encoder & Decoder

URL encode or decode text online free. Percent-encode query string values, or use full-URL mode to keep / : ? & # intact. UTF-8 safe, runs in your browser.

Runs in your browserNothing uploadedFree · no signup

Frequently asked questions

What is the difference between encoding a component and a full URL?
Component mode (the default) escapes reserved characters like / : ? & and # so the text is safe inside a query value. Full-URL mode leaves those structural characters intact so a complete link still works.
Is my data sent to a server?
No. Encoding and decoding run entirely in your browser. Nothing is uploaded.
Why does a space become %20 and not +?
Percent-encoding writes a space as %20, which is valid anywhere in a URL. The + sign for spaces comes from HTML form submissions and only means a space inside a query string, so this tool leaves a literal + as + when decoding and encodes it as %2B.
Which characters are left unencoded?
In the default component mode, letters, digits and - _ . ! ~ * ' ( ) stay as they are; everything else, including accented letters and emoji, is converted to UTF-8 bytes written as %XX. Full-URL mode additionally keeps characters such as / : ? & = # that give a URL its structure.