How to use URL encode and decode
- 01Choose encode or decodeAnd how to encode.
- 02Paste the text or URLAny length.
- 03Copy the resultReady for a link.

Unsafe characters become %XX.
URLs may only contain a limited set of characters. Percent-encoding (RFC 3986) turns each other character into its UTF-8 bytes written as % and two hex digits, so a space becomes %20 and é becomes %C3%A9. “A value inside a URL” encodes everything except letters, digits and - _ . ! ~ * ’ ( ); “a whole URL” keeps : / ? & = so the address still works; form data writes spaces as +.
At a glance
- Price
- Free. No sign-up, no watermark.
- Privacy
- Your text stays in your browser. Nothing is uploaded.
- Works in
- Chrome, Edge, Firefox and Safari, on phones and computers
Questions
How is “café & crème = 5€ / 2 people?” encoded?
caf%C3%A9%20%26%20cr%C3%A8me%20%3D%205%E2%82%AC%20%2F%202%20people%3F. Each accented letter becomes two bytes, the euro sign three, and the &, =, / and ? are encoded so they are not read as parts of the URL.
Should a space be %20 or +?
Both mean a space in a query string sent by an HTML form, but only %20 is a space everywhere else in a URL. When unsure, use %20.
Why does decoding fail?
A % must be followed by two hex digits, and the bytes must form valid UTF-8. A link cut off in the middle of a %XX code can’t be decoded.
Is what I type sent anywhere?
No. The calculation runs in your browser and nothing you type leaves your device.