URL Encoder / Decoder
Percent-encode or decode text for use in URLs — with separate modes for full URLs and individual components.
URL Encoder / Decoder
🔒 Nothing you enter is sent anywhere or stored. All processing happens in your browser.
How it works
URLs may only contain a limited set of characters, so anything else — spaces, ampersands, slashes inside a value, non-English letters — must be percent-encoded (a space becomes %20, for example). This tool encodes and decodes that format in both directions.
The Component mode uses encodeURIComponent, which escapes almost everything including /, ?, &, and =. Use it for a single piece of a URL, such as one query-string value, so those separator characters inside your value don't break the URL's structure.
The Full URL mode uses encodeURI, which leaves the structural characters intact and only escapes truly unsafe ones like spaces. Use it when you have a whole URL and just want to make it valid without dismantling it. Getting these two modes right is the key to building query strings that work — encoding a full URL as a component would escape the :// and break it. All conversion runs locally in your browser.