Home › Encoders & Decoders › URL Encoder & Decoder
URL Encoder & Decoder
Encode text so it is safe to place in a URL, or decode percent-encoded text back to normal. Choose component mode for a single value, or full-URL mode to keep a whole address intact.
How to use the URL Encoder & Decoder
- Paste the text or URL into the input box.
- Choose Encode or Decode.
- Pick Component mode for a query value, or Full URL mode for a whole address.
- Press Run and copy the result.
About this tool
URLs cannot contain spaces, ampersands and many other characters, so they are percent-encoded: a % followed by two hex digits. Component mode encodes everything that could break a single query-string value, including & and =. Full-URL mode leaves the structural characters of an address — slashes, question marks, colons — alone and only encodes what would break the address itself. Decoding a malformed sequence is reported as an error rather than silently mangled.