Microsoft Safe Links Decoder
⚠️ Safety Tip: If you don’t fully trust the decoded link, you can safely analyze it using our Phishing Scanner Sandbox .
Microsoft Safe Links: Frequently Asked Questions
What are Microsoft Safe Links?
Microsoft Safe Links (part of Microsoft Defender for Office 365) rewrite URLs in email and Microsoft 365 apps. At click time, the rewritten link is checked for malicious behavior before the user is allowed through.
Why would I decode a Safe Link?
- See the true destination without clicking
- Speed up phishing triage and incident response
- Check reputation in a sandbox or SIEM
- Build allow/deny lists accurately
- Remove tracking parameters for cleaner logs
How do I recognize a Safe Link?
Look for hostnames like *.safelinks.protection.outlook.com or *.safelinks.office.com containing a long query string with url= (the encoded original link).
Is it safe to click decoded links?
No. Decoding is read-only. Always open suspicious targets in a sandbox or analysis VM, not on your primary workstation. Lucky for you, we have a sandbox phishing checker that safely analyzes links for you.
Does decoding bypass Microsoft protection?
Partially. Decoding just reveals the url= value. Your Safe Links policies still protect users at click time inside Microsoft 365. IF you Follow the Decoded link it will bypass the 365 protection for that click.
What parameters matter in a Safe Link?
url= is the original destination (URL-encoded). Others like data=, sdata=, h=, and reserved= are integrity and routing metadata.
Can decoding help with false positives?
Yes. Decoding lets you confirm the real destination, test direct access in a sandbox, and decide if a policy exception (do-not-rewrite) is justified.
Will decoding remove tracking parameters?
Your decoder can optionally strip marketing/tracking parameters (e.g., UTM tags) for privacy and cleaner analytics—when appropriate.
When should I keep Safe Links rewriting enabled?
Nearly always. Time-of-click checks catch delayed activations and payload swaps that traditional filters may miss.
Can I whitelist trusted domains?
Yes, via a do-not-rewrite list in Defender for Office 365. Use sparingly and review regularly.
Does this apply to Teams/SharePoint/OneDrive links?
Yes. These can be rewritten too; the same decoding approach applies.