Encode/Decode URLs

Encode or decode URLs for safe web transmission.

Result
The Methodology
encodeURIComponent() | decodeURIComponent()

This tool uses the verified professional formula shown above. We cite our sources so you can trust every result.

How it works

URL encoding, also known as percent-encoding, is a mechanism for encoding information in a Uniform Resource Identifier (URI). Characters that are not allowed in a URL are replaced with one or more character triplets consisting of the percent character % followed by two hexadecimal digits.