URL encode & decode

Encode text so it's safe to use in a web address (percent-encoding), or decode a string full of %20 and %C3%A9. Bonus: paste a full URL and read its query parameters in a clean table.

๐Ÿ”’ Everything happens in your browser: no data is sent anywhere or stored.

When you need percent-encoding

Only certain characters are allowed in a URL: spaces, accented letters, "&", "?" and "#" inside a value must be converted to their percent form (a space becomes %20, "รฉ" becomes %C3%A9). Skip this step and a link can break or pass the wrong parameters โ€” the classic bug where a search form silently drops everything after an "&" the user typed. This tool uses encodeURIComponent, the standard JavaScript function, so the output matches exactly what your own code would produce.

Reading a URL's query parameters

Everything after the "?" is the query string: name=value pairs separated by "&". Real-world URLs pile up tracking parameters (utm_source, utm_campaign, fbclid, gclid) alongside the functional ones. The second box splits them apart and decodes each one: handy for seeing what a link tracks before you share it, or for debugging a request without counting "&" signs by eye.