URL Encoder / Decoder
Encode, decode and inspect query strings without sending data anywhere.
Input
Processed locally in this browser.
Result
https%3A%2F%2Fwww.example.com%2Fproducts%2Fspring-sale%3Futm_source%3Dnewsletter%26utm_medium%3Demail%26utm_campaign%3Dspring_sale_2026%26gclid%3Dabc123
Work with one URL component at a time
Encode a component when text must become a value inside a query. For pottery & glazing, the ampersand must be encoded so it is not mistaken for a new parameter. Decode a component to inspect a percent-encoded value. This decoder uses percent decoding; it does not turn plus signs into spaces as a form-query parser does.
Encode pottery & glazing to obtain pottery%20%26%20glazing. Decode that result to recover the original text. If you encode an entire https:// link, the output is a component for embedding elsewhere, not a directly usable destination.
Malformed percent sequences cannot be decoded. The builder already encodes raw field values, so do not pre-encode those values a second time.