Encode text or a link so it's safe to use inside a URL, or decode an already-encoded URL back to plain text — great for building affiliate links, cleaning up UTM parameters, or debugging query strings.
URLs can only contain a limited set of characters safely — spaces, ampersands, and special symbols need to be encoded before they can be used in a link, or they'll break the URL or get interpreted incorrectly.
This tool encodes text using standard percent-encoding (the same method browsers use), or decodes an already-encoded string back into readable text so you can inspect exactly what a link contains.
Step 1 — Pick Encode or Decode. Use Encode when you're building a link with special characters; use Decode when you want to read a messy encoded URL.
Step 2 — Paste your text or URL. This can be a full link, a single parameter value, or any text you need to make URL-safe.
Step 3 — Copy the result. Paste the encoded or decoded string into your link, tracking tool or code.
Encoding the entire URL instead of just a parameter. If you encode `https://` itself, the slashes and colon get mangled and the link breaks — only encode the parts that need it, like query values.
Double-encoding. Running an already-encoded string through the encoder again turns `%20` into `%2520`, which won't decode correctly. Always check whether text is already encoded first.
Forgetting to encode UTM parameter values. Spaces or special characters in campaign names need encoding or your tracking parameters can get cut off or misread by analytics tools.
Encode whenever a URL or parameter value contains spaces, special characters, or non-ASCII text — for example, adding a campaign name with spaces to a UTM parameter.
Encoding a full URL would also encode the `://` and slashes, breaking it. This tool is best used on individual parameter values or plain text, not entire URLs.
Affiliate links often include tracking parameters with special characters. Encoding ensures those parameters are passed through correctly instead of being cut off or misinterpreted.
No. Encoding and decoding happen entirely in your browser using built-in JavaScript functions — nothing is uploaded.
Affiliate links, UTM tracking parameters and shared links often break when they contain spaces or special characters. Encoding keeps them intact across platforms, emails and social posts.