URL Inspector
Splits a URL, including app URL schemes and x-callback-url, into its parts and an editable list of query parameters, and rebuilds it with every parameter percent-encoded. Builds UTM campaign links for tracking. Unwraps Outlook Safe Links, Proofpoint and redirect links, and defangs or refangs links for security reports.
About this tool What it's for, how to use it and an example
What it's for
Pull a URL apart so you can read and change it: scheme, host, port, path, fragment and each query parameter, decoded. It also handles app URL schemes and x-callback-url links, such as those used by Shortcuts, Drafts and other automation apps. It also builds UTM campaign links, which add tags to a web address so your analytics can show where visits came from.
For example, when a long link is full of tracking parameters or nested callback URLs, paste it here to see what each part does, remove what you don’t need, and copy a clean version. Or when you’re sending a newsletter, enter the page’s address with its source, medium and campaign to get a link to share.
How to use it
Paste a URL. Its parts are listed with Copy buttons, and the query parameters appear as an editable list of names and values, already decoded. Change a name or value, remove a parameter or choose Add parameter, and the Rebuilt URL updates with every parameter percent-encoded correctly. A value that is itself a URL, such as x-success, can be inspected in turn. Tick Read + as a space for links from web forms. If the link has utm_ parameters, they’re listed in the parts table too.
Unwrap finds the real link inside a redirect or a mail scanner’s wrapper: Outlook Safe Links, Proofpoint URL Defense, and Google, Facebook, LinkedIn, Slack and YouTube redirects, however many times it’s wrapped. The tool says when a link is one of these. Defang makes links unclickable for sharing in a security report (hxxps://evil[.]example[.]com), and Refang turns them back, from [.], (.), [dot] and [:] too.
The UTM campaign link builder takes a website address and the values for utm_source, utm_medium, utm_campaign, utm_term, utm_content and utm_id. The Campaign URL updates as you type. Tick Lower case to make the values lower case, and choose what replaces each space in a value: a hyphen, an underscore, a full stop, or nothing so the spaces stay. Copy the result with Copy. Your tick and separator choice are remembered in the browser.
Example
Paste this:
https://shop.example.com:8443/search?q=fish%20%26%20chips&sort=price#results
You get the scheme https, host shop.example.com, port 8443, path /search and fragment results, plus two
parameters: q is fish & chips and sort is price. Change price to rating and the rebuilt URL updates.
Good to know
Parameters are rebuilt in the order shown, and every value is percent-encoded, so the rebuilt URL can look slightly different from the original even when it means the same thing. The UTM builder rebuilds the query with URLSearchParams, which writes spaces in other parameters as +.
The UTM builder removes every utm_ parameter already in the website address, so a field left empty takes that parameter out too. It needs a full address starting with https:// or http://. It doesn’t check that the address exists, or that your analytics tool reads these names.
Guides: Decoding Base64, URL and other encoded text, and escaping it · Is this email genuine? · Moving a website without losing visitors
Query parameters
Edit a name or value and the URL is rebuilt, with every parameter percent-encoded. A value that is
itself a URL, such as x-success, can be inspected in turn.
UTM campaign link builder
Any utm_ parameters already in the website URL are replaced by the ones you fill in;
the other parameters and the # fragment stay. Leave a field empty to leave that parameter out.
Built with The third-party code and data this tool uses, and their licences
This tool uses no third-party code or data of its own: its code was written for this site.
Every page also uses Montserrat (SIL Open Font License 1.1).
Everything the site uses is on Credits and licences.
Private: this tool runs in your browser. Nothing you type, paste or choose leaves this page.
Saved you a few minutes? Say thanks with a coffee.
Something wrong with this tool, or missing from it? Report a bug or suggest a feature.