b2KIT

URL Expander

Expand shortened URLs to reveal their final destination before clicking, with redirect chain display.

Tested tool guide Tested browser tools Checked August 16, 2026

What URL Expander does, with a checked example

Paste a shortened URL - a bit.ly, t.co, or tinyurl.com link - and this tool follows its redirects, listing every hop and the final destination. Short links are opaque by design: the text gives no clue about the target, so the chain is the only way to see where a click would take you. The thing most people get wrong: expanding is not the same as browsing, but it is not a proxy either. The requests leave your browser with your IP, so the destination can log them, and a few links redirect differently depending on who is asking.

Worked example

A concrete input and expected output from the current implementation.

Input

https://youtu.be/dQw4w9WgXcQ

Expected output

redirect: https://www.youtube.com/watch?v=dQw4w9WgXcQ

youtu.be is YouTube's own shortener and the mapping is deterministic: the path is the video ID, so the redirect target is the watch page for that ID. This particular ID is the famous 'Never Gonna Give You Up' video, which makes the result easy to verify. Depending on your region, the chain may include an extra consent or tracking hop.

How the result is produced

1

Following the chain

The tool asks the shortener for the URL and reads the reply. A redirect answer (status 301, 302, 303, 307, or 308) carries a Location header naming the next URL; the tool records the hop - status and URL - and requests the next one, repeating until a normal 200 response arrives. Chains that bounce through an analytics service before landing are shown hop by hop, not collapsed.

2

Where the chain can end early

The tool can only follow redirects that arrive as HTTP Location headers. Some services hide the real redirect inside the page instead - a meta refresh or JavaScript - and those stay invisible, so the last URL shown is where header-following stopped. Cloaked links serve one target to your browser and another to automated fetches, so what you see is not always what a human clicking would get.

Good uses

  • A message or email contains an unfamiliar bit.ly or t.co link; expand it to check the final hostname before you click.
  • Someone shares a branded short link claiming to come from a company; verify it lands on that company's real domain, not a lookalike.
  • A package-tracking or bank notice in WhatsApp or SMS uses a shortened URL; inspect the chain for unexpected domains before opening it.

Limits and checks

  • The final URL is not proof of intent. Attackers can point links at plausible-looking domains, repoint a link that was once harmless, or route through legitimate redirectors. The chain shows where the link goes now, not who made it or why.
  • The chain may understate the real path. Meta-refresh and JavaScript redirects stop the display early, and cloaked links that change target by user agent look different to a browser than to the expander.
  • Expanding is not anonymous. The requests carry your IP and user agent, so the shortener and the destination can log the lookup, and for a hostile link the request itself is contact. This is inspection, not protection.

Common questions

Does expanding a link tell me whether it is safe?

No. It shows where the link leads, nothing more. Malicious links can end at clean-looking domains, and honest destinations can be compromised. Use the chain as evidence: compare the final hostname with the sender's real domain and be suspicious of anything unexpected. The result informs your judgment; it does not replace it.

Why did the tool stop at an intermediate URL?

Because that hop did not answer with a Location header. The rest of the redirect happens inside the page - a meta refresh or JavaScript - or the service needs cookies or a login before it will move on. The last URL shown is the furthest point reachable by following headers alone; your browser would have to execute the page to go further.

References and verification

The example and behavioral notes were checked against the browser implementation. Standards and primary references below define the relevant format, formula, or platform behavior.

Related Tools