URL Decoder

Formula: decodeURIComponent(text)

URL Decoder

URL decoding reverses the encoding process, making percent-encoded strings human-readable again.

Conversion Formula

decodeURIComponent(text)

Each %XX sequence is converted back to the corresponding character.

Step-by-Step Examples

hello%20world = hello world

%20 decodes to space

Frequently Asked Questions

What does URL decoding do?

It converts percent-encoded characters back to their original form. %20 becomes a space, %26 becomes &, etc.

Why might decoding fail?

If the input contains invalid percent-encoding sequences (like a lone % not followed by two hex digits).