Safe Links and URL Defense decoder
Paste a link that a mail filter rewrote, from Microsoft Safe Links or Proofpoint URL Defense, or a whole message with several. The page shows the address inside as plain text: it never opens it and never turns it into a link.
What the page reads
| Rewritten by | The link starts with | Where the address is |
|---|---|---|
| Microsoft Safe Links | https:// | The url parameter, percent-encoded. |
| Proofpoint URL Defense, version 1 | https:// | The u parameter, percent-encoded. |
| Proofpoint URL Defense, version 2 | https:// | The u parameter, with - written for % and _ for /. |
| Proofpoint URL Defense, version 3 | https:// | Between __ and __;. Characters written as * are kept, in order, in the base64 text after the ;. |
| Any other link | A query parameter whose value is a whole http or https address. The page names the parameter. |
A link that holds only a token, with no address in it, cannot be read here: only the service that made it knows where it leads. A link rewritten twice, for example by URL Defense and then by Safe Links, is read layer by layer.
Defanged copies
The defanged copy writes hxxp for http and [.] for each dot of the host name, so that the address cannot be opened by a click when it is pasted into a ticket or a chat. Paste a defanged address to turn it back.
Sources
- Safe Links: the rewritten form shown by universities that use Microsoft 365 Safe Links, with the address in the
urlparameter of a link to a safelinks.protection.outlook.com host. - URL Defense: Proofpoint's decoder script, urldecoder.py 3.0.1, for versions 1, 2 and 3; Proofpoint's page How do I decode a rewritten URL?; the version 3 examples of the University of Wisconsin.
More Email and M365 tools
-
SMTP status code lookup
Read a bounce such as 550 5.7.1 or 421 4.4.2: the reply code and the enhanced code by class, subject and detail.
-
Email header analyzer
Paste message headers: each hop and its delay, SPF, DKIM and DMARC results, and Microsoft 365's SCL, BCL and SFV in words.
-
AADSTS error code lookup
Look up AADSTS50126, AADSTS700016 or any other Microsoft Entra sign-in error, alone or in a pasted message.
-
JWT and access token decoder
Read the claims of a Microsoft Entra access or ID token, with exp, iat and nbf as dates, in your browser.
-
dsregcmd /status reader
Paste the output of dsregcmd /status: the join state, each field in words, and the values that point at a problem.
-
Intune and Autopilot error codes
App install codes such as 0x87D1041C, MDM enrollment errors such as 0x8018000A, and Autopilot import errors 806 and 808.
-
Punycode and lookalike checker
Convert xn-- names to Unicode and back, and see when a name mixes scripts or has letters that look like ASCII ones.
-
SPF and DMARC record builder
Build SPF and DMARC records, or paste one to see what each part does.
-
DKIM record checker
Check a DKIM key record: key type and length, flags and mistakes, with a long key split into 255-character strings.
-
DMARC report viewer
Open DMARC aggregate reports (.xml, .gz or .zip) in your browser: senders, counts, and SPF and DKIM alignment.
-
MTA-STS and TLS-RPT builder
Build the MTA-STS and TLS-RPT records and the policy file, or paste one to read it.