What this URL encoder does
A URL can legally contain only unreserved ASCII characters; everything else — spaces, quotes, non-Latin letters, and reserved symbols like & and ? used outside their structural role — must be percent-encoded. This tool applies the browser’s own standards-compliant functions (encodeURIComponent and encodeURI) so its output matches exactly what JavaScript, servers and HTTP libraries expect.
Decoding reverses the process, turning %20, %C3%A9 and friends back into readable text. The decoder also converts + to a space, so query strings copied from form submissions decode correctly.
How to encode or decode a URL
- Pick Encode or Decode.
- If encoding, choose Component for a single value or Full URL for a complete address.
- Paste your text and click the convert button.
- Copy the result into your link, code or campaign builder.
A practical example
Building a UTM-tagged link for the campaign name summer sale & launch? Encoding it in component mode gives summer%20sale%20%26%20launch — paste that as the utm_campaign value and analytics tools will read the full name instead of truncating at the ampersand. Debugging the opposite problem (a mangled link from a log file) is a one-click decode.