URL encoder and decoder
Percent-encode a string for use in a link, or decode a percent-encoded string back to the characters you typed.
The result shows here. Nothing you paste is sent anywhere.
A URL encoder turns characters that are not safe in a link into percent codes. A space becomes %20, a slash becomes %2F and a question mark becomes %3F. The decoder turns those codes back.
How do you encode a value for a link?
Paste the value, not the whole address. A campaign name with a space, or a keyword with an ampersand, is what needs encoding. Encoding the whole URL also encodes the :// and the address stops being an address. The UTM builder encodes UTM parameters for you, which is the better path for campaign tags.
A worked example
The words summer sale become summer%20sale. The words fish & chips become fish%20%26%20chips. Decoding either string returns the words, and a plus sign is read as a space so a form-encoded link still makes sense.
A percent sign that is not followed by two hex digits is reported, not guessed.
Terms used here
Guides
- The best marketing and revenue attribution tools for SaaS and indie makersTwelve marketing attribution tools that tie payments to traffic sources, compared by payment providers read, price and limits. For SaaS and indie makers.
- What is direct traffic in Google Analytics, and how do you shrink it?Direct traffic in GA4 is sessions with no referrer, no UTM tags and no ad click ID. What ends up there, how GA4 credits it, and how to shrink it.
- How to check website traffic: your own site and anyone else'sCheck your own traffic with analytics, Search Console or server logs; estimate other sites with Similarweb, Semrush or Ahrefs, and why the numbers disagree.
More free tools
All free tools- URL cleanerRemove fbclid, gclid and other tracker parameters from a link, and keep the UTM tags.
- UTM stripperTake the UTM tags off a link and leave the page, the hash and every other parameter.
- URL parserSplit a link into its protocol, host, path, query parameters and hash.
- URL validatorFind out whether a link is a real http or https address, and what to fix when it is not.
- QR code generatorTurn a link, a Wi-Fi network or a contact into a QR code and download the SVG.
- UTM builderTag one link or hundreds with UTM parameters, check them for mistakes, export a CSV and see which channel each counts as.
- UTM checkerPaste a link and see which UTM tags are missing, which have capitals, and which are fine.
- UTM naming checkerClean a list of campaign names or links: lowercase, spaces to underscores, and a note of each change.