SafeLinks Decoder
and Link Wrapper Remover
SafeLinks decoder will take a URL pointing to another location, and return the underlying URL. Paste your Outlook SafeLink, Facebook shim, YouTube redirect, or AMP link into the decoder, and the raw URL will be returned right away. No data is uploaded to our servers.
- FreePrice
- TwoModes
- NoneSign-up
- NoneUploads
Link Wrapper Remover
Paste a wrapped address and read the real destination hidden inside it
—
—
- Layers removed
- —
- Wrappers found
- —
- Wrapper host
- —
- Destination host
- —
Every layer this tool takes off is listed here in order, so you can see which wrapper produced the address you end up with.
| Step | Wrapper | Found in | Address after |
|---|
Paste a list, one address per line.
| Line | Layers | Wrappers | Real address |
|---|
Ready. Nothing you paste here leaves the page.
What A SafeLinks Decoder Does
Many addresses are not addresses. The SafeLinks decoder decodes a link that has been redirected from another person, then gives the user with the actual address that was intended for him/her.
Four main types of links make up the most links posted by users. The first type is the Facebook Link Shim, used as an intermediate step to guard all outbound links from posts. The second is the YouTube Redirect Wrapper, which is included with each shared video link. The third type of links are AMP and Cache Addresses. AMP/Cache addresses direct users to a cached version of the content instead of directing them to the original source. The last type of link is the general URL/u parameter form that any website can create.
The tags (utm, gclid, fbclid) used for tracking are not removed by this program. Since these tags are associated with a different activity, this program leaves them intact. The URL cleaner handles this aspect of the work.
No installations required. So just copy/paste a link, view its actual location and then close the window once you’ve finished with it.
How A SafeLinks Decoder Works
The first pass of the unwrapping process reads the outer address and finds if there is a parameter containing a second address. The second pass will then decode the value found at the identified parameter, as the wrapper typically encodes the destination percent. Lastly, the third pass will check to see if the resulting value has another envelope, as it is common to find an envelope within an envelope.
Decoding utilizes the same principles applied by your web browser. This is due to the fact that the WHATWG URL Standard defines how a query is read and decoded. The tool adheres to those specifications. It simply repeats the address given instead of attempting to guess what it might be.
A recursion is stopped at some predetermined level when using a recursive tool. This allows for a user to know exactly what point the tool has reached in its search, without having the recursive tool continue searching for an infinite amount of time through a loop in which a link is linked back onto itself.
Unwrap A Facebook Link Shim
Facebook links rarely point directly to the actual article; most often they point to l.facebook.com, where you can find the correct URL in the "u" parameter. In most cases, users are searching for links on Facebook using this method.

The shim was created so the platform can notify users when they are leaving the site. The platform directs the user’s click through an IP address that it owns. This IP address will carry your final destination.
The family is identical to the messenger variant. This means that the tool also recognizes lm.facebook.com. When you paste a link into a chat, it will be delivered the same way.
The final product will be a "naked," unformatted link. In other words, the final product will consist solely of the intended destination URL, without the platform’s envelope.
What The Shim Adds
The envelope contains other elements besides your address. These extra elements are descriptions of where you clicked, not where you want to go. So, the software discards these items when it removes the outer layer (envelope) of the package, rather than sending them along.
A wrapper may have multiple layers. But when a shim has a value which is itself wrapped, the second pass will find it. At this point, the final outcome will be the most basic level of the address, as opposed to being only partially unwrapped.
YouTube Redirect Link Converter
A YouTube link can be shared by being copied from a description on a video page, or through the "share" feature of your browser. Many times when you click on such links they are redirected. The URL starts with "youtube.com/redirect", and the actual URL you want to go to is found in the "q" parameter. For this reason many people look for a YouTube redirect link converter.

Two smaller parameters ride along. Because si and pp describe the share session and the playback position, they disappear with the wrapper. So the tool does not carry them into the result.
The tool replaces the redirect’s prefix with the actual "youtube.com" website name because the redirect is part of a longer URL. After being unwrapped, the video link will open in the same manner as other video links.
One thing stays. Since the video id in the v parameter is the content itself, it survives the unwrap. Removing it would point the link at the home page instead.
Why A Redirect Wrapper Exists
A shared link may need you to "click" before being forwarded. To accomplish this, the platform will create a temporary address that will record the "handoff," and then forward you to your intended destination.
The wrapper will not harm your computer. But it will create a longer link that can be broken easier within the context of a chat session. Also, the wrapper makes it more difficult to inspect links before opening them.
AMP And Cache Addresses
An amp link links to a simplified version. The url begins with either google.com/amp/ or a cdn.ampproject.org host, and the full version is within the path. Thus, the program creates the publisher’s url based upon these two components.

The same principle applies to the search cache. Since webcache.googleusercontent.com includes the URL of the page being searched for as a parameter of its query, the software will read the URL from this location and return the actual page instead of a cached version.
The two examples show how caring about what you do will help you. The page displays the reassembled address next to the wrapper that you have just given. This will allow you to view each option before using either.
The address that was cached may have become inactive; but the unwrapping process will continue to return the original address. The availability of that particular page is a completely different issue.
Share Links From Google Docs And Drive
A share link includes much more than just a file identifier. But those extra components indicate what type of viewing option you will have, not which file you are looking at. So, the application returns the shortened version of the URL with only the file identifier included.
Consent envelopes and map envelopes operate in a similar manner, so, a location link that is contained within a consent envelope will be returned as the map address.
Generic url And u Parameters
The user doesn’t have to use a platform wrapper. The tool will watch for common parameters used for redirection on most sites, which include url, u, target, redirect and link.

The tool will only unwrap the parameter value if it parses as an absolute address; if it parses as a path, or a bare word, the tool will refuse to unwrap the parameter value because guessing wrong would cause more harm than not guessing at all.
Percent signs generally indicate what you’re seeing. So if a value has many escape characters, it is a very good indicator that an address can be found within the value. Even if you don’t recognize the parameter name, this rule applies.
As well as printing each step in the chain, it will print each layer as well. So you’ll be able to tell exactly which layer generated the final address.
Tracking Tags Are Not This Tool
The UTM Tag, Ad Click ID, and Referral Stamp parameters of the URL are distinct from each other. They each represent a specific marketing effort as opposed to providing anonymity for users. Thus, the parameters remain in the same location. For more info about these parameters please visit our URL Cleaner page.
The first task is to remove the link, then send the raw URL to the cleaning service if it is still being followed by an ending.
What This Link Unwrapper Will Never Do
It never accesses the link that you entered. Because a request to the service gives info about which user is accessing it, the application only reads the URL that you have given and does not access any other data.
In addition, the redirect chain checker was designed to do this task as opposed to expanding a shortener, which only reveals where the shortened URL points to.
The page doesn’t return a guess, but instead states clearly that you can’t open the wrapper if there isn’t an address on the inside of it.
The Link Wrapper Remover in Action
This brief video shows each step from start to finish. Choose your language below, and switch on captions if they help.
Using The SafeLinks Decoder, Step By Step
Four steps turn a wrapped link into the address it was hiding.
Paste the wrapped link
One address, or a whole list in the batch box.
Read the layers
Each unwrap step appears in order, wrapper by wrapper.
Check the result
The plain address sits beside the one you pasted, so you can compare them.
Copy the address
One button puts the unwrapped link on your clipboard.
What This SafeLinks Decoder Does Differently
Every layer shown, no network request, and no guessing at the destination.
It shows every layer
A nested wrapper is unwrapped in visible steps, not in one silent jump.
The wrapped link is never opened
Because nothing is fetched, no service learns that you pasted an address.
It covers the common wrappers
Facebook, YouTube, AMP, cache, Docs and the generic url parameter.
It refuses to guess
A value that is not a full address stays put instead of becoming a broken link.
It leaves tracking tags alone
Utm and click ids belong to the URL cleaner, so this page does not touch them.
All of it stays right inside your browser
The whole unwrap runs on your machine, so a private link stays private.
Getting The Most Out Of An Unwrap
A few good habits keep the result reliable.
- Compare the two addresses The domain should look like the one you expected, so read it before you click.
- Unwrap before you shorten An inner address will be easier for you to verify, but your outer address will explain how you arrived at that point.
- Keep the batch mode for lists A column of wrapped links goes through in one pass, with one result per line.
- Use the cleaner next, not first Unwrap the envelope, then decide whether the destination still needs cleaning.
Common Mistakes When Unwrapping A Link
Each of these produces an address that looks right and is not.
Keeping the outer domain
A result still starting with the platform host means the wrapper survived.
Dropping the video id
The v parameter contains the video that is being linked to. A link without this parameter will have forgotten what it was linking to.
Decoding twice by hand
The second decode converts a real percent sign into a broken one, and the tool is capable of handling depth.
Expecting a short link to open up
A shortener hides its target behind a lookup, which this page does not perform.
Trusting a wrapper you cannot read
If you do not recognize the domain in which the link is contained, consider that link suspicious, and do not click on it.
Link Wrapper Remover FAQ
What is a link wrapper, and why do emails use them?
The link wrapper is a URL (Uniform Resource Locator) that is a redirect to another page rather than the actual page you were looking for. The actual page is contained within the link wrapper, most likely in percent-encoding format, which means that the link will only function once the link wrapper has been "unwrapped".
Is this the same as a URL cleaner?
No, this is a different process than a "cleaner." A cleaner will take off any tracking codes like utm or gclid that are attached to an address you give. This site is taking the outside layer of your address and providing you with a new address within the old one.
Will it visit the link?
Never. Because the entire unwrap takes place in your browser on the text that you give, there is no communication with any other machine. No service will ever know that the link has been verified.
Why does my Facebook link start with l.facebook.com?
Facebook’s outbound shim is the name of that host. This host allows Facebook to inform you of what to expect when leaving the site. The host contains your target destination within the u parameter and can read that parameter.
What about lm.facebook.com?
This is a messenger variant of the same shim. The destination is in the same u parameter, and the tool treats both hosts as if they were exactly alike.
Can it convert a YouTube redirect link back?
The youtube.com/redirect URL will become a plain youtube.com URL. At the same time, the si and pp parameters describing the share session will be removed from the redirect URL.
Will it remove the video id from a YouTube link?
No. Since "v" is the content of the URL and not the envelope, it will remain. If you were to remove the "v" from the URL, you would be sending the user to the home page instead of the video.
Can it undo an AMP link?
Yes. An address that begins with google.com/amp or on a cdn.ampproject.org host will be converted into the publisher’s address. The results will be displayed next to each other so they can be compared.
What is a webcache address?
This link points to a saved version of a web page as opposed to pointing to the actual web page. The original URL for the web page is included within a query parameter which allows this tool to give you the correct URL.
Does a cache link still work once unwrapped?
The unwrap will return the original URL as requested. But whether the page is now available on the internet is another issue; the program does not verify this.
How deep does the unwrapping go?
It follows an arbitrary number of levels of nested wrappers, until it reaches a user defined limit, at which point it will stop and let you know. This is done to prevent a link wrapped in itself from continuing to loop indefinitely.
Which generic parameters does it look for?
This software monitors the terms ’url’, ’u’, ’target’, ’redirect’ and ’link’ that many websites use. If the string represents a complete web address (url), then the application resolves the url to its ultimate destination.
What if the inner value is not a full address?
Nothing else occurs. The tool will leave the link unchanged because a path or a "bare" word does not represent an address. This is better than producing a broken result.
Can it expand a short link?
Yes. If you expand a link, it will do a search. The results of this search will let the URL shortener know what user made the request. The redirect chain checking tool can help you in finding this info if you need it.
Does it remove utm tags?
No, UTM tags and Ad Click IDs find a campaign, not hide an IP Address. So, the UTM tags and Ad Click IDs will be left intact on this page, and we will direct you to our URL Cleaner.
Can I unwrap several links at once?
Yes. The batch box takes one link per line and returns one unwrapped address per line. That suits a pasted column of wrapped links.
Why is the unwrapped address longer than I expected?
When the wrapper is removed, the remaining address was the one the sender originally specified, regardless of whether or not it has a query as part of the address.
Is the percent encoding a problem?
No. The reason for percent escapes is to allow one address to travel within another address. So, the tool decodes these percent escapes when it performs the "unwrap" rather than displaying the actual escape sequence.
Can it handle a Google Docs share link?
The document’s ID remains intact when the part of the address that describes how it should be viewed is removed. As a result, you get a shorter form of the URL.
What about a Google Maps place link?
A map address buried inside a consent wrapper comes back as the map address itself. That version is easier to read and to share.
Will the link unwrapper work on my phone?
Yes. The layout folds to phone width, and the copy button works there as well. So an unwrap takes a moment on either device.
Do I need an account, and is there any limit?
Neither. The tool is free, needs no account, and sets no daily cap, because the work happens on your own machine. No server is involved.
Are the links I paste saved?
No. Nothing is uploaded and nothing is stored, so a link leaves no trace here once you close the tab.
What if the tool cannot find an inner address?
It says so plainly. That usually means the link is a real address with a long query rather than a wrapper. In that case the parser is the better tool for reading it.
Can a wrapper be dangerous?
A wrapper itself is not, but it hides where a link goes. Because unwrapping shows the destination, it makes a suspicious link easier to judge before you open it.
Handy Companions For Link Work
One unwrap is a step. These three handle the rest of the journey.
- URL Cleaner
Strip utm tags and ad click ids from the address you just unwrapped.
- Redirect Chain Checker
Follow every hop a short link takes before it lands.
- URL Parser
Split any address into scheme, host, path and query.
Ready To Unwrap A Link?
Paste a wrapped address, read each layer, and copy the destination it was hiding. The link wrapper remover is free, needs no account, and it never opens the link you gave it.