Live

URL Encode / Decode

Percent-encode or decode URL components with encodeURIComponent / decodeURIComponent in your browser.

Private by design. Runs in your browser. We don’t store what you paste.

Loading tool…

How it works

  1. 1Paste text or an encoded string.
  2. 2Encode or decode.
  3. 3Copy the output.

FAQ

Full URL vs component?
This uses encodeURIComponent (safer for query values). Encoding a full URL will also encode : / ? &.