URL encoder and decoder
Encode and decode text for URLs (%20 and friends). Shows both ways side by side: for one part of a link, or for a whole link.
- Runs in your browser
- Nothing is uploaded
- Free, no sign-up
By using this, you agree to our Terms and Privacy Policy.
One part, or the whole URL
This is the key choice. One part (component) encoding also encodes / ? & = # :. Use it for a single value you are adding to a link. Otherwise a / or & in your value would be read as part of the link itself.
Whole URL (full URI) encoding leaves those characters alone, because in a full link they are needed. Use it on a link you already have.
In short: adding something into a link? Use one part. Fixing a whole link? Use whole URL.
Encoded twice by mistake
Encoding text that is already encoded turns %20 into %2520, and people see "%20" instead of a space. If decoding here still leaves % codes, the text was encoded twice. Decode it again.
Characters that are never encoded
Letters, numbers and - . _ ~ never need encoding and are always left as they are.