Developer Tools

Encoders / Escapers / Crypto

URL Encoder & Decoder

Percent-encode and decode URL components.

Text / URL0 chars
Encoded

Guide & explanation

Percent-encoding replaces characters that are unsafe in a URL with % followed by the hexadecimal code of each byte, per RFC 3986.

Component versus full URI

ModeFunctionExample input
ComponentencodeURIComponent — also encodes : / ? # & =. For a single query value or path segment.iced coffee&tea
Full URIencodeURI — leaves URL separators intact. For encoding a whole URL.https://x.com/a b?q=1

Example

iced coffee & tea  ->  iced%20coffee%20%26%20tea   (Component mode)

Notes

  • On Decode, an invalid percent sequence (e.g. %zz) shows an error message.
  • Spaces become %20; the + form for spaces only applies inside application/x-www-form-urlencoded.