URL Encoder & Decoder
Percent-encode or decode text for URLs in seven modes, line by line, and reveal double or triple encoding.
Help shape URL Encoder & Decoder
The bug you just noticed will fade in 3 minutes. The feature idea will vanish after your next tab switch. Crazy peps don't suffer silently.
Frequently Asked Questions
encodeURI keeps characters that structure a URL (: / ? # & =), so it's for whole URLs. encodeURIComponent encodes them too, so it's for a single query value or path segment.
HTML forms use application/x-www-form-urlencoded, where a space is +. In paths and most APIs a space should be %20.
Encoding text that was already encoded, so % becomes %25 (e.g. %2520). The decoder shows each layer so you can see how many times it happened.
No. Encoding and decoding happen entirely in your browser; nothing is sent or stored.