To URL encode text, paste it into the URL Encode/Decode tool and choose encode; special characters become percent-codes such as %20 for a space. Choose component encoding for a query value or full-URL encoding for a whole address, and decode to reverse it.
Follow along with the free URL Encode/Decode, which runs in your browser, or browse more tools in this category.
How to use the URL Encode/Decode
- Paste the text or URL.
- Choose Encode or Decode.
- Pick component encoding for a single parameter value, or full-URL encoding for a whole URL.
- Copy the result.
Worked example
Encoding “a b&c=d” as a component gives “a%20b%26c%3Dd”, so the ampersand and equals sign are not mistaken for query separators.
Tips and common mistakes
- Encode each query value separately, not the entire URL with its ? and & separators.
- A space may appear as %20 or as + in form data; both are common.
- Decode a URL you copied from a browser to read the original text.
Frequently asked questions
What is the difference between component and full-URL encoding?
Component encoding escapes reserved characters like / ? & = so a value is safe inside a query string. Full-URL encoding leaves them intact so the address stays valid.
Why are there percent signs in my link?
They are encoded bytes representing characters that are not safe in a URL.
Is my text uploaded?
No. It is encoded locally in your browser.