What Is a URL Shortener and How Does It Work?
Published 19 September 2026 · Updated 19 September 2026
A URL shortener is a web service that takes a long web address and gives you a much shorter one that leads to the same page. Instead of sharing a link with a long tracking string and a dozen parameters, you share something like tinyurls.online/s/k3Fq8x. When someone opens the short link, the service sends their browser on to the original destination.
What happens when you click a short link
The mechanism is simple and takes a fraction of a second:
- Your browser asks the shortener's server for the short address.
- The server looks the short code up in its database and finds the original URL.
- The server answers with an HTTP redirect, a response that says "the page you want is over there".
- Your browser follows the redirect and loads the real page.
Because the redirect is a standard part of how the web works, the visitor rarely notices it. The destination page does not need to know anything about the shortener.
301 or 302: which redirect is used?
A 301 redirect tells browsers and search engines that the move is permanent, so they may cache it and remember the destination. A 302 redirect says the move is temporary, so the browser asks the shortener again every time. Services that count clicks generally use a 302, because a cached 301 would let repeat visitors skip the shortener and go unnoticed in the statistics.
Why people use short links
- Readability. A short address is easier to read out loud, print on a flyer, or type from a screen.
- Limited space. Text messages, printed materials, video descriptions and bios all reward brevity.
- Cleaner sharing. Long links can wrap awkwardly in emails or get broken by line breaks.
- Measurement. Some shorteners count how often a link is opened, which shows which message or channel worked.
The trade-offs
Short links add a dependency: if the shortener goes offline, every link it created stops working. They also hide the destination, which is why attackers like them and why careful readers hesitate before clicking (see our guide on spotting malicious short links). For long-lived material such as printed books or official documents, consider using the original URL or a short link on a domain you control.
What makes a shortener trustworthy
- It refuses links to malware and phishing pages and reacts quickly to abuse reports.
- It publishes a clear privacy policy that says what is recorded about visitors.
- It does not let the destination be silently changed after people have shared the link.
- It has a way to contact the operator.
You can try the shortener on our home page. It is free, and an account is optional.