How URL Decoding Works
URL decoding reverses percent-encoding. In an encoded URL, unsafe characters were replaced with a % followed by two hexadecimal digits representing a byte value. Decoding scans for each %XX group, converts the hex back to its byte, and restores the original character.
The simplest case is the space. The sequence %20 decodes back to a single space, so hello%20world becomes hello world. Reserved characters return the same way: %26 becomes &, %3F becomes ?, and %2F becomes /.
Characters that were never encoded, such as letters, digits, and the unreserved symbols -, _, ., and ~, simply pass through unchanged. The result is the human-readable value that was originally placed into the URL. Because the mapping is fixed and one to one, a correctly encoded string always returns exactly what went in, with no ambiguity. To encode text in the first place, use URL Encode, which is the exact inverse of this tool.