How to see where a link redirects before you click it
Updated 2026-11-30T00:00:00.000Z
Quick answer
Paste the link on viewhtmlonline.com. It follows every redirect, shows each step with its status code, and then shows the source of the final page, without opening it on your device.
Check a link
- Copy the link. On a phone, long-press it and choose Copy link.
- Paste it on viewhtmlonline.
- Above the code you see each step of the chain, with its status code, and the page it ends on.
What the status codes mean
| Code | Meaning |
|---|---|
| 301 | Moved for good. Search engines pass the old page’s value to the new one. |
| 302 | Moved for now, often used by login and tracking links. |
| 307 | Like 302, but the browser must repeat the same request. |
| 308 | Like 301, but the browser must repeat the same request. |
| 200 | The final page loaded. |
Redirects that aren’t in the chain
Some pages send you on after they load. These don’t show as a status code, but they are in the source. Search the Code tab for:
http-equiv="refresh", a meta refresh with a delay and an address,location.href,location.replaceorwindow.location, a redirect by script.
Tips for site owners
- Point old addresses straight at the final page. Each extra step slows visitors down.
- Use 301 or 308 for pages that moved for good, so search engines update their index.
- The Headers tab shows the
locationheader of each redirect.
Questions people ask
Is it safe to check a suspicious link this way?
Safer than clicking it. Our server fetches it and shows the result as text, so nothing from the page runs in your browser. Still don’t log in or download anything from a link you don’t trust.
Why does the redirect go somewhere else on my phone?
Some links send phones, countries or apps to different places. Compare on viewhtmlonline fetches the page as a phone and as a desktop browser.