Split a link into protocol, host, port, path, query and fragment, as the browser does.
Link Unwrapper
Use Link Unwrapper
What it does
Paste one or more rewritten links, or a whole message, to see every wrapper layer, the final destination in defanged form and warning signs such as a user name before @, an IP host or punycode.
It runs entirely in your browser: nothing you enter is uploaded.
How to use Link Unwrapper
- Paste the link or message. Paste one wrapped link per line, or a whole email, chat message or HTML source. Defanged links such as hxxps://example[.]com are accepted, up to 500 links and 1 MB of text.
- Unwrap. Press Unwrap or Ctrl+Enter. Pasting into the box also starts the run. Nothing is sent anywhere.
- Read the layers. Each result lists the wrappers in order, with the parameter that held the next address, for example Google redirect, q.
- Check the destination. The Destination box shows the final address defanged, so it cannot be clicked. Copy raw gives you the working address for notes or a report.
- Read the warnings. Red warnings come first, then yellow ones. If there are none, remember that the tool only reads the address, not the site's reputation.
- Pass it on. Use Send to… to open the destination in URL Parser or Homoglyph Checker, or Copy all destinations when the message had several links.
Example
Safe Links around URL Defense
https://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Furldefense.com%2Fv3%2F__https%3A%2F%2Flogin.example.com%40198.51.100.7%2Fverify*id%3D1__%3BPw!!AbCdEf!GhIjKl%24&data=05%7C02%7C%7Cc0ffee%7C0&reserved=01 link: 1 unwrapped, 1 with warnings.
Result 2 layers
Microsoft Defender Safe Links url
→ hxxps://urldefense[.]com/v3/__https://login[.]example[.]com[@]198[.]51[.]100[.]7/verify*id=1__;Pw!!AbCdEf!GhIjKl$
Proofpoint URL Defense path __…__ with 1 replaced character(s)
→ hxxps://login[.]example[.]com[@]198[.]51[.]100[.]7/verify?id=1
Destination
hxxps://login[.]example[.]com[@]198[.]51[.]100[.]7/verify?id=1
Copy raw
The URL has a user-info part before "@" ("login[.]example[.]com"). Browsers ignore it and go to 198[.]51[.]100[.]7.
The host is a bare IP address (198[.]51[.]100[.]7) instead of a domain name.Two layers: Microsoft Defender Safe Links, then Proofpoint URL Defense v3, which restores the ? hidden behind *. The destination hxxps://login[.]example[.]com[@]198[.]51[.]100[.]7/verify?id=1 is flagged: the text before @ is only a user name and the real host is the IP 198.51.100.7.
What it checks
| Signal | What it means |
|---|---|
| Wrapper layers | Each known wrapper or redirect parameter is decoded one layer at a time, up to 10 layers. Nested layers can be normal in forwarded mail, but they also hide the address from a quick look. |
| User name before @ (red) | In https://login.example.com@198.51.100.7/ everything before @ is only a user name. The browser goes to the host after it, so the familiar name is decoration. |
| IP address as host | A bare IPv4 or IPv6 host gets a yellow warning. A host written as one decimal or hex number, or in another unusual form, is red and shown with the address the browser would really open. |
| Internationalised host | A host with non-ASCII letters or an xn-- label is shown in Unicode and punycode. Check it for lookalike letters before you trust it. |
| Familiar name at the start of the host | If a host begins with something like example.com. but the registered domain at the end is different, the tool names the real registered domain. |
| Link text does not match | In HTML and Markdown links the visible text is compared with the destination, and a different domain is red. In plain text, a domain named just before the link gives a yellow warning. |
| Script URL (red) | A javascript:, data: or vbscript: destination runs code or renders content instead of opening a web page. |
| Short link or domain only | Shorteners such as bit.ly cannot be decoded offline, so you get a curl command instead. Mimecast and some Sophos links reveal only the destination domain. |
| Loops and incomplete data | A link that points back to itself, a run stopped after 10 layers, or URL Defense data shorter than its markers is reported, because the result may be incomplete. |
More examples
Google redirect to a look-alike host
https://www.google.com/url?q=https://example.com.login-check.example.net/session&sa=D&source=editors1 layer: Google redirect, parameter q. Destination hxxps://example[.]com[.]login-check[.]example[.]net/session with a yellow warning: The host starts with "example[.]com." but the registered domain is example[.]net.
Message that names another site
Sign in at example.com to keep your account: https://l.facebook.com/l.php?u=https%3A%2F%2Fsignin.example.net%2Faccount&h=AT0abc1 layer: Facebook / Meta link shim, parameter u. Destination hxxps://signin[.]example[.]net/account. Yellow warning: The text before the link mentions example[.]com but the link goes to signin[.]example[.]net.
Decimal IP inside a YouTube redirect
https://www.youtube.com/redirect?q=http%3A%2F%2F3221226010%2Fprize&v=abc1 layer: YouTube redirect, parameter q. Destination hxxp://3221226010/prize. Red warning: Obfuscated IP address: the host is written as 3221226010, which browsers read as 192[.]0[.]2[.]26.
FAQ
Which wrappers does it decode?
Microsoft Defender Safe Links, Proofpoint URL Defense v1, v2 and v3, Google /url and Ads links, Facebook, Instagram and Messenger link shims, LinkedIn, Barracuda, Cisco Secure Email, Trend Micro, Sophos, Bing, Steam, Slack, YouTube and VK redirects, plus redirect parameters such as url=, u=, q=, target=, to=, dest=, redirect=, next= or link= that hold a URL. Nested wrappers are decoded one layer at a time.
Why are t.co, lnkd.in and Mimecast links not fully decoded?
Shorteners such as t.co and lnkd.in store the destination on their own servers, so the tool shows a curl -sI command that prints the Location header without opening the page. Mimecast links only carry the destination domain; the full address stays with Mimecast.
Is the link opened or sent anywhere?
No. Decoding is text processing on this page: no request goes to the wrapper service, the shortener or the destination. The curl command is only shown for you to run yourself, ideally from an isolated machine.
Can I paste a whole email or its HTML source?
Yes. The tool finds every http, https and www link in the text, including defanged ones. In HTML anchors and Markdown links it also reads the visible link text and compares it with the real destination. It handles up to 500 links and the first 1 MB of text.
Why is a long number shown as an IP address?
Browsers accept an IPv4 address written as a single decimal or hexadecimal number, so http://3221226010/ opens 192.0.2.26. Phishing links use this to hide the address from people and simple filters, which is why the tool marks it red.
No warnings were shown. Is the destination safe?
Not necessarily. The tool only reads the structure of the address. It does not know who runs the site or whether it is on a blocklist. Check the destination with DestroyList Check or Reputation Links before you open it.