URL encode and decode

Decode percent-encoded URLs like %20 and %2F, or encode text so it is safe to put in a URL. Paste a full URL to see its query parameters.

What is URL encoding?

URLs can only contain a limited set of characters. Anything else, such as spaces, accented letters or characters with special meaning like & and ?, is replaced by % followed by its UTF-8 bytes in hex. A space becomes %20 and é becomes %C3%A9.

Query value vs whole URL

%20 or +?

In HTML form submissions (application/x-www-form-urlencoded) spaces are sent as +. Elsewhere in a URL, use %20. When decoding, tick the + option if the text came from a form or query string.

Frequently asked questions

What does %20 mean in a URL?
It is an encoded space. % followed by two hex digits is one byte; 20 in hex is 32, the code for a space.
How do I decode a URL?
Paste it into the box with Decode selected. The decoded text appears instantly, and a full URL is split into its parts and query parameters.
Why do I get a malformed sequence error?
A % is followed by something that is not two hex digits, or the bytes are not valid UTF-8. The tool decodes the rest and leaves that part unchanged.
Is encoding the same as encryption?
No. URL encoding only makes text safe to put in a URL; anyone can decode it.