URL Encoder & Decoder
Percent-encode text so it's safe inside a URL or query string, or decode an encoded URL back to readable text. Instant and UTF-8 safe — and it all runs in your browser, so nothing is sent anywhere.
When to use which
- encodeURIComponent (default) — for a single value you're dropping into a query string, e.g.
?q=your%20value. Encodes/ ? & =too. - encodeURI (uncheck the box) — for a whole URL where you want to keep the structure characters like
/ : ? & =intact. - Decoding turns
%20,%2F,+-style sequences back into readable characters.
Privacy: everything runs locally in your browser — your text never leaves your device.
More dev tools: Base64 encoder/decoder, JSON formatter, and the UTM link builder.