URL Encode/Decode
Encode or decode URLs and query-parameter values, with a choice between component encoding and full-URL encoding — instantly, in your browser.
URL encoding replaces characters that aren’t safe in a URL (spaces, &, =, and others) with a percent sign followed by their hex code. Paste text into 99digest’s URL tool to encode or decode it instantly, entirely in your browser.
How it works
Component mode uses the same encoding as JavaScript’s encodeURIComponent — every character that isn’t safe in a single value gets percent-encoded, including &, =, and /. Use this when encoding one query-parameter value. Full-URL mode uses encodeURI instead, which leaves URL-structural characters like :, /, ?, &, and = untouched — use this when you already have a complete URL and only want to encode things like spaces inside it.
FAQs
Is my text uploaded anywhere?
No. Encoding and decoding both happen entirely in your browser — your text is never sent to a server, uploaded, or stored anywhere.
Which mode should I use?
If you’re encoding a single value that will go into a query string (like a search term), use Component mode. If you’re encoding a whole URL and want to keep its structure intact, use Full URL mode.
Why does decoding sometimes fail?
Decoding fails if the input contains a “%” that isn’t followed by two valid hex digits, or an incomplete multi-byte UTF-8 sequence — both signs the text wasn’t properly URL-encoded to begin with.