MFAYSAL.DEV

URL Encoder & Decoder (Percent-Encoding)

Paste a URL or text, then choose encode or decode. Free, private and runs in your browser.

Your details

Direction
Encode as

Result

Why URLs need encoding

URLs can only contain a limited set of ASCII characters. Spaces, accents and characters with special meaning (such as &, ?, # and /) must be written as a % followed by two hex digits of each UTF-8 byte. A space becomes %20 and "ë" becomes %C3%AB.

Component vs whole URL

Use query value mode for one parameter value. It encodes &, =, / and ?, so they can't break the URL structure. Use whole URL mode to clean up a full address while keeping its ://, slashes and query separators. When decoding, a + is treated as a space, which is how HTML forms submit values.

Frequently asked questions

What is %20?

The percent-encoding of a space character.

Should I encode the whole URL or just the parameters?

Encode each parameter value separately, with query value mode.

✨ New: Remove the background from any image free – private, in your browser, transparent PNG.

Related free tools

Browse all 102 free tools →

Note: This free tool runs entirely in your browser. No data is sent or stored. Results are for information only.