URL Encoder & Decoder
Free URL encoder and decoder: percent-encode text or full URLs for safe use in query strings, or decode %20 style sequences back to text.
FreeRuns in your browserNo sign-up
Mode
Runs in your browser. Nothing you enter is uploaded.
Advertisement
How to use the URL Encoder & Decoder
- Choose Encode or Decode.
- Pick Component for query values or Full URL for whole addresses.
- Paste text and copy the result.
Why URLs need encoding
URLs may only contain a limited set of ASCII characters. Spaces, accents, emoji and symbols such as & ? # must be turned into percent-encoded bytes, for example a space becomes %20.
Component vs full URL
| Mode | Encodes | Leaves alone |
|---|---|---|
| Component | Everything except letters, digits and - _ . ! ~ * ' ( ) | Use for a single query value |
| Full URL | Only unsafe characters | : / ? # & = so the URL structure survives |
Example: a b&c=d as a component becomes a%20b%26c%3Dd.
Frequently asked questions
What does %20 mean?
A space character.
Should I encode the whole URL?
Usually only encode the values you insert. Encoding the full address with Component mode would break the slashes.
Why does + appear in query strings?
Form data uses + for spaces. Decoding here treats + as a space.
Is my text uploaded?
No.