URL encode & decode

URL-encoding (percent-encoding) escapes characters that have special meaning in a URL — spaces, &, ?, # and non-ASCII text — so links and query strings stay valid. Paste a URL to encode it, or an encoded string to decode it, all on your device.

%

URL encode & decode

Percent-encode / decode URLs

Input
Output
Output appears here…

0 bytes of your file have left this device. Counted live in this tab, not claimed — open your browser’s Network tab and watch.

How it works

  1. 1

    Paste your input on the left.

  2. 2

    Pick a mode if the tool has one — the result updates instantly.

  3. 3

    Copy the output with one click. Nothing is ever uploaded.

Frequently asked questions

encodeURIComponent or encodeURI?

This tool uses encodeURIComponent, which escapes query-string values fully (including & = ? /). It is the right choice for encoding a single parameter value.

Is anything sent to a server?

No — it runs in your browser, so the URL you paste never leaves your device.