Free tool · nothing is clicked
Safe Links and URL decoder
Paste links rewritten by Microsoft Safe Links, Proofpoint, Barracuda, Cisco, Sophos or any redirect, and see where they really go, with the risk flags an analyst needs.
What each rewriter does to a link
Microsoft Safe Links wraps the destination in safelinks.protection.outlook.com/?url=, percent-encoded, followed by tenant data. Proofpoint URL Defense has three formats. v1 puts the destination in the u= parameter with ordinary percent-encoding. v2 also uses u=, but writes - where percent-encoding would use % and _ instead of /, so https-3A__example.com is https://example.com. v3 keeps the URL readable between __ markers, replaces some characters with *, and stores the replaced characters base64url-encoded between __; and !!, which the decoder puts back.
Barracuda uses linkprotect.cudasvc.com/url?a=, Cisco Secure Email appends the encoded URL to a token path, Sophos base64-encodes it in u=, and Google redirects through google.com/url?q=. Open redirects on other sites are followed through common parameters such as url, redirect and next, up to six layers deep. Mimecast is the exception: its links hold an ID, not the URL, so only the domain hint can be shown.
Worked examples
Each wrapped link below is fake, built in the real format with an example.com or example.net destination. Paste any of them into the decoder above to see the same result.
| Rewriter | Wrapped link | Decoded |
|---|---|---|
| Microsoft Safe Links | https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fexample.com%2Finvoice%3Fid%3D4471&data=05%7C02%7Cj.doe%40contoso.com%7C3f2a9c1b%7C0%7C0%7C638650000000000000&sdata=Zk9xQ2h1dGVzdA%3D%3D&reserved=0The url= parameter, percent-decoded. data= carries the recipient and tenant, which is why a Safe Links URL identifies who received it. | https://example.com/invoice?id=4471 |
| Proofpoint v1 | https://urldefense.proofpoint.com/v1/url?u=https%3A%2F%2Fexample.com%2Fhr%2Fbenefits&k=7sLbx5ZPQSt9dCZpgJQ8yA%3D%3D%0A&r=Hq3sT5vW8yZ1aB4c&m=Xk3mP9qR2sT5&s=0f1e2d3c4b5aPlain percent-encoding in u=. | https://example.com/hr/benefits |
| Proofpoint v2 | https://urldefense.proofpoint.com/v2/url?u=https-3A__example.com_login_index.html-3Fid-3D42&d=DwMFaQ&c=euGZstcaTDllvimEN8b7jXrwqOf&r=4rS7tU9vW1xY3zA5bC7dE9&m=Q1w2E3r4T5y6&s=aB3dE5fG7hJ9&e=In u=, - stands for % and _ for /, so -3A is a colon and -3F a question mark. | https://example.com/login/index.html?id=42 |
| Proofpoint v3 | https://urldefense.com/v3/__https://example.net/reset?user=jdoe*example.com__;QA!!Q1w2E3r4!aB3dE5fG7hJ9kL1mN3pQ5rS7tU9vW1xY3zA5$The * is a placeholder. QA after __; is base64url for @, the character it stands for. | https://example.net/[email protected] |
| Barracuda | https://linkprotect.cudasvc.com/url?a=https%3a%2f%2fexample.com%2fpayroll%2fupdate&c=E,1,Xk3mP9qR2sT5vW8yZ1aB4cD7eF0gH3iJ6kL9,&typo=1The a= parameter, percent-decoded. | https://example.com/payroll/update |
| Cisco Secure Email | https://secure-web.cisco.com/1Xy7AbCdEf9GhIjKlMnOpQrStUvWxYz0123456789/https%3A%2F%2Fexample.com%2Fdocs%2Fshared%3Ffile%3Dq3The last path segment, percent-decoded. The long segment before it is Cisco's token. | https://example.com/docs/shared?file=q3 |
| Sophos | https://eu-central-1.protection.sophos.com?d=example.net&u=aHR0cHM6Ly9leGFtcGxlLm5ldC92b2ljZW1haWwvcGxheQ%3D%3D&i=NjQ1YjNjZDEy&t=bXlUb2tlbg%3D%3D&h=4f1c2a9e8b7du= is the destination in base64. d= repeats only the domain. | https://example.net/voicemail/play |
| Mimecast | https://protect-eu.mimecast.com/s/AbCdEfGhIjKlMnOp?domain=example.comThe path is an ID stored by Mimecast. Only the domain= hint is in the link; look up the full URL in the Mimecast console. | Not decodable: domain hint example.com |
| Safe Links around a Google redirect | https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.google.com%2Furl%3Fq%3Dhttps%3A%2F%2Fexample.net%2Flanding%26sa%3DD&data=05%7C02&reserved=0Two layers: Safe Links, then google.com/url?q=. The decoder unwraps up to six and lists each one. | https://example.net/landing |
After decoding: judge the destination
The decoded URL is where the click would have gone, not proof of what is there. Check the host first: a sign-in page on free hosting, a form builder or a domain registered last week is a strong signal, and so is the recipient's address in the path or fragment. Then search for the domain in your click logs to see who followed it. The triage workbench does this for every link in a reported email, and the AiTM phishing article explains the link chains and bot checks credential kits put in front of the page.
More free triage tools
- Phishing triage workbench →The full analysis: verdict, attack story, attachments, endpoint footprint, intel and response.
- Email header analyzer →Paste headers: SPF, DKIM, DMARC, every hop with delays, the Microsoft 365 verdict and forensics.
- DKIM checker →Look up a DKIM record by domain and selector, or verify every signature in an .eml and spot replay and l= tricks.
- Email domain security check →Can your domain be spoofed? SPF lookups, DMARC, DKIM, MTA-STS, TLS-RPT and BIMI, graded A to F with the fixes.
- Lookalike domain scanner →Typosquats, homoglyphs and phishing-word domains of your brand that are registered now, with block commands.
- Phishing analysis guide →How to analyze a reported phishing email, step by step, the way a SOC does it.
- Phishing analysis articles →Authentication, Microsoft 365 headers, QR codes, BEC, callback, smuggling and AiTM, with hunting queries.
Questions
Does decoding visit the link?
No. The real destination is inside the rewritten URL itself, so it is decoded with string operations in your browser. Nothing is requested from the rewriter or the destination.
Why can't Mimecast links be decoded?
Mimecast URL Protect replaces the destination with an opaque ID stored on Mimecast's side. The link shows only a domain hint; the full URL is visible in the Mimecast administration console.
Does the decoder follow URL shorteners and server-side redirects?
No. It only reads what is written in the link. Where a shortener, an HTTP redirect, a meta refresh or a script sends the browser is only visible by visiting, so shorteners are flagged instead. If you need the landing page, submit the decoded URL to a URL scanning service or open it in an isolated browser, never from your workstation.
Is a link safe if the decoded domain looks legitimate?
Not necessarily. Phishing pages are often hosted on reputable platforms (Cloudflare Pages, Google Sites, SharePoint) or behind open redirects. The decoder flags free hosting, form builders, lookalike domains, IP addresses and the recipient's address embedded in the URL.
Are the results defanged?
Yes, by default: hxxps and [.] so you can paste them into a ticket or chat without creating a live link. Untick Defang results to see the working URL, and use Copy for the working URL or Copy defanged for the safe one. Paste links in their original form, starting with http, https or www, to decode them.