UTM Builder
Build campaign URLs with utm_source, utm_medium and utm_campaign tags.
Marketing & Links
Encode text so it is safe to use in a URL, or decode a percent-encoded link back to plain text.
Private by design — your data stays on your device.
URLs can only contain a limited set of characters. Spaces, accented letters, emoji and symbols such as & or ? must be “percent-encoded” — a space becomes %20, for instance — or they can break a link or change its meaning. This URL encoder converts text into a safe format, and the URL decoder turns encoded strings back into something you can read.
Encoding and decoding happen in your browser. Links you paste are never sent to MyToolsLab.
Component encoding (encodeURIComponent) encodes every reserved character, including / ? & = and #, which is right for a single query value. Full URL encoding (encodeURI) leaves those characters alone so a complete address still works.
HTML forms traditionally encode spaces in query strings as +. Tick “Treat + as space” when decoding data from a form submission; leave it unticked for paths, where + is a literal plus sign.
A % sign must be followed by two hexadecimal digits, and the bytes must form valid UTF-8. A stray % (as in “100%”) or a truncated sequence will cause an error; encode the % as %25 first.