Links in emails, ads and chat apps rarely point straight at their destination. They pass through a redirect, a tracker or a security scanner first, and the real address is tucked inside the link, percent-encoded so it does not break the outer URL. Once you know where to look, you can read the destination without opening the link.
Where the real address hides
The destination is usually the value of one query parameter. Common names are:
url,u,q,target,dest,redirect,redirect_uri,next,continueorreturn_to.- A value that starts with
https%3A%2F%2Forhttp%3A%2F%2F. That prefix ishttps://, encoded.
For example, in this redirect link the destination is the url parameter:
https://example.com/out?url=https%3A%2F%2Fshop.example.org%2Fitem%3Fid%3D7%26ref%3DmailDecoding its value gives https://shop.example.org/item?id=7&ref=mail. Open this example in the decoder, then use the Query parameters tab to see the destination on its own row.
Links wrapped more than once
When a redirect link passes through a second service, the whole link is encoded again inside the new one. Each layer is one more round of percent-encoding:
https://links.example-gateway.com/?url=https%3A%2F%2Fexample.com%2Fout%3Furl%3Dhttps%253A%252F%252Fshop.example.org%252Fitem%253Fid%253D7%2526ref%253Dmail&data=05%7C02%7Cabc- Decode the outer
urlparameter:https://example.com/out?url=https%3A%2F%2Fshop.example.org%2Fitem%3Fid%3D7%26ref%3Dmail - That is another redirect. Decode its
urlparameter:https://shop.example.org/item?id=7&ref=mail
The URL Parser flags any parameter whose value is itself a URL, and the decoder's Decode all layers option peels repeated encoding in one step.
Security-scanner links
Email security products rewrite links so they can be checked when clicked. In commonly published examples of Microsoft Defender's Safe Links, the original address appears percent-encoded in the url= parameter of a safelinks.protection.outlook.com link, followed by other parameters such as data=. That makes it readable with the steps above. Other vendors use their own formats, which may not be plain percent-encoding; use the vendor's own tool for those.
Links you cannot decode
Short links and many tracking links contain only a random token, such as example.com/r/Zk3pQ9x. The token is a key into the service's database; the destination is not in the link at all. The only way to see it is to follow the redirect. A link expander does that for you and shows the final address without loading the page in your browser.
Check before you click
- Read the decoded domain from right to left: in
login.example.com.evil.test, the site isevil.test. - Watch for look-alike characters in international domain names; the URL Parser shows them in their punycode form.
- Decoding reveals an address; it does not make it safe.