Percent-encode text for a URL, or decode a link full of %20s back into something readable.
Your data stays in your browser
This tool runs on JavaScript inside your browser. Nothing you add here is uploaded to our server, so it works for confidential data too. How we handle data
It swaps characters that aren't safe in a web address for a % sign and a two-digit code. A space becomes %20, an ampersand becomes %26, and a question mark becomes %3F. Without it, a search for "fish & chips" in a link would break, because the browser reads that & as the start of a new parameter.
Because it's already encoded. Paste it in the Decode tab to read it. That's especially handy for checking where a long tracking link actually goes before you click. The tool uses encodeURIComponent, which encodes every reserved character. That's right for a single value, but encoding a whole URL will also encode its slashes and colon. Everything runs in your browser. Working with Base64 rather than URLs? Use the Base64 Encoder. Want a QR code for the finished link? Make one with the QR Code Generator. Decoded a query string full of JSON? Tidy it with the JSON Formatter.
Tagging links for a marketing campaign? The UTM Builder adds and encodes the utm_ parameters for you.