Percent-encode a query value or decode a messy redirect URL, with a breakdown of every query param, all in your browser with zero uploads.
Component mode (encodeURIComponent) escapes every reserved character, including /, ?, =, and &, so it's safe for a single value inside a query string. Full URL mode (encodeURI) leaves those structural characters alone, since it expects a complete URL, not just one piece of it.
A percent-encoded string can contain an incomplete or invalid sequence, like %E0 cut off before its second byte. Decoding reports this as an error instead of crashing, so you can see exactly what's wrong with the input.
Form data encoded as application/x-www-form-urlencoded uses + for spaces instead of %20. Turn this on when decoding a query string or form submission, off when decoding a path that happens to contain a literal plus sign.
No. All encoding, decoding, and URL parsing runs entirely in your browser. Nothing you paste here is sent anywhere.
CODERCOPS builds production-grade backends, REST APIs, and full-stack applications for startups and businesses.