Skip to content

Menu

URL Shortener Expander

Expand shortened URLs safely

Uses our serverNetworkFree, no sign-up
Loading tool

01What is URL Shortener Expander?

A short link tells you nothing about where it lands. Clicking it to find out is exactly what a phishing email wants you to do. This tool shows the redirect chain and the final URL without your browser ever loading the destination page. Browsers hide cross-site redirect headers from page scripts, so the tool gives you two routes. Expand now sends the link to our server. It follows the link one hop at a time, up to ten redirects, keeps each status code and Location header, and sends that list back. It refuses targets on private or internal addresses and stores nothing. If you would rather the link never touches our server, use the second route. Once you paste a valid http or https URL, the tool names the service from the hostname. It knows Bitly, X's t.co wrapper, TinyURL, Hootsuite's ow.ly, is.gd and v.gd, Buffer, Rebrandly, Cutt.ly, ShortURL, LinkedIn's lnkd.in, youtu.be and Google's retired goo.gl. It also builds a curl command: curl -sIL --max-redirs 10 'URL' | grep -iE '^(HTTP|location)'. The URL is wrapped in single quotes with any quote inside escaped, so a crafted link cannot break out into your shell. Run it and paste the output into the Redirect responses box. Either way, the same parser rebuilds the chain. It reads each HTTP status line and the Location header after it, and resolves relative locations against the previous URL as the URL standard does. Take the built-in tinyurl example. It returns 301 to http://www.example.com/promo, 301 to the https version, 302 to /landing/spring-sale and then 200. The final destination is https://www.example.com/landing/spring-sale. If the last response is still a 3xx, you get a note that the chain is incomplete instead of a guess. Every hop after the first is then checked for warning signs. These are plain http, a raw IP address, punycode (xn--) labels that can hide lookalike letters, user info before an @, an @ in the path, and any port other than 80 or 443. The suspicious example shows four of them across two hops. Be clear on what this does not do. The checks read the URL text only. They do not look up reputation lists or open the page, so a clean result is not a safety verdict. Redirects done with JavaScript or a meta refresh tag will not appear, because only HTTP Location headers are followed.

Security-minded developers, IT staff and marketers use it to see where a short link really goes and which redirect hops look risky, without opening the page. When you press Expand now, the link is sent to AIDToolStack's server, which follows its redirects one at a time and returns each status code and Location header. Page content is not kept and we don't store the lookups. The curl option keeps the link on your machine.

02How to use URL Shortener Expander

  1. Paste the short link into the input box, or load an example.
  2. Check the Service and Host line to see which shortener it is.
  3. Press Expand now to follow the redirects through our server.
  4. Or copy the curl command, run it in a terminal and paste the output into Redirect responses.
  5. Read the Redirect chain, the Final destination and any amber warnings, then copy the final URL if you need it.

03Worked examples

Input: https://bit.ly/3xample?a=it's
Result: Service: Bitly. Command: curl -sIL --max-redirs 10 'https://bit.ly/3xample?a=it%27s' | grep -iE '^(HTTP|location)'
The URL parser percent-encodes the quote, and the whole URL is single-quoted for the shell.
Input: https://www.TinyURL.com/example
Result: Service: TinyURL
Hostname matching ignores case and a leading www.
Input: https://example.com/abc
Result: Service: Not a known shortener (it may still redirect)
Input: https://tinyurl.com/example plus the built-in sample curl output (301, 301, 302, 200)
Result: 4 responses. Final destination: https://www.example.com/landing/spring-sale. Warning: http://www.example.com/promo?utm_source=social uses plain http
The relative Location /landing/spring-sale is resolved against the previous https URL.
Input: https://t.co/abc123 with 301 to http://198.51.100.23/login, 302 to https://xn--exmple-cua.com/account@verify, then 200
Result: Final destination: https://xn--exmple-cua.com/account@verify. Warnings: plain http, raw IP address, punycode hostname, @ in the path
Warning text shortened here.
Input: https://bit.ly/z with only: HTTP/2 301, location: https://a.example/x
Result: 1 response. The chain is incomplete because the last response is still a redirect.
No final destination is guessed.

04Common use cases

  • Finding the real destination of a short link in a suspicious email before anyone on the team clicks it
  • Confirming a marketing short link still points to the right campaign page after a site migration
  • Spotting chains that bounce through plain http or several tracking hops before the final page
  • Identifying which shortening service owns a link so you can report abuse to that provider
  • Debugging your own redirect rules by pasting curl output from a staging server
  • Checking a goo.gl link from an old document to see whether it still resolves at all

05Tips

  • The curl command uses -I, which sends HEAD requests. Some shorteners answer HEAD differently. If the chain stops early, drop -I and add -o /dev/null -D - instead.
  • Many shorteners have their own preview page, such as adding + to the end of a bit.ly link or using preview.tinyurl.com.
  • Corporate mail gateways often wrap links a second time. Expand the original short link, not the gateway's rewritten one.
  • A punycode warning is your cue to decode the hostname and compare it letter by letter with the brand it seems to copy.

06Related concepts

URL shorteners, HTTP redirects, Phishing, Location header, Link safety.

Frequently Asked Questions

What is URL Shortener Expander?

URL Shortener Expander is a free, browser-based developer tool on AIDToolStack. Expand shortened URLs safely It requires no installation or sign-up.

Is URL Shortener Expander free to use?

Yes. No sign-up, no fees and no usage cap.

Does URL Shortener Expander store my data?

When you press Expand now, the link is sent to AIDToolStack's server, which follows its redirects one at a time and returns each status code and Location header. Page content is not kept and we don't store the lookups. The curl option keeps the link on your machine.

Reviews and commentsShow

Reviews

Sign in to leave a review.

Loading reviews…

Comments

Sign in to leave a comment.

Loading comments…

What changed in AI dev tools, once a month

Renames, shutdowns, pricing changes and new MCP setups, each with a source.

Subscribe