URL Encode & Decode
Encode special characters so they are safe in a URL or query parameter, or decode a percent-encoded link to read it.
Runs in your browser. Nothing you enter is uploaded or stored.
How to use URL Encode & Decode
- Paste text or an encoded URL.
- Click Encode or Decode.
- Copy the result.
Questions
Which encoding does this use?
It uses encodeURIComponent, which encodes everything except letters, digits and - _ . ! ~ * ' ( ).
Why does decoding fail?
Decoding fails when a % sign is not followed by two hex digits, for example "100%" in plain text.