Developer

URL encode / decode

Percent-encode and decode URL components instantly.

Output

How it works

1

Paste your text

Enter a URL, a query-string value, or any text to encode or decode.

2

Choose a direction

Encode unsafe characters to percent-escapes, or decode them back.

3

Copy

Copy the result — it all runs in your browser.

Frequent questions

What does URL encoding do?
It replaces characters that are unsafe or reserved in a URL — spaces, &, ?, / and non-ASCII text — with percent-escapes like %20, so the value survives being placed in a link.
Should I encode a whole URL or just parts?
Usually just the parts — a query value or path segment. Encoding a whole URL escapes the : and / that make it work, so encode components individually.