URL Encoder/Decoder
Easily encode or decode URLs and text. This tool is perfect for developers and anyone who needs to work with URLs.
Paste your text or URL into the box below to encode or decode it.
About URL Encoding/Decoding
URL encoding, also known as percent-encoding, is a mechanism for encoding information in a Uniform Resource Identifier (URI) under certain circumstances. Although it is known as URL encoding, it is, in fact, used more generally within the main Uniform Resource Identifier (URI) set, which includes both Uniform Resource Locator (URL) and Uniform Resource Name (URN).
Encoding: Converts characters that are not allowed in a URL into a sequence of percent-encoded characters (% followed by two hexadecimal digits). For example, a space character is encoded as %20
.
Decoding: Reverses the process, converting percent-encoded sequences back into their original characters.
This tool uses the standard JavaScript functions encodeURIComponent()
for encoding and decodeURIComponent()
for decoding.