Link Sorter
Paste a list of links to sort A–Z, by domain or by length and remove duplicates in your browser. Can also shorten one URL through TinyURL or cleanuri.com.
Still loading. If the tool doesn’t appear, reload this page.
About this tool
Link Sorter & URL Shortener
Sort, de-duplicate and group a list of URLs in your browser, or shorten one long URL into a compact, shareable link
Sort links: paste a list, one per line, and get it back A–Z, Z–A, grouped by domain or shortest first, with duplicates removed — https://www.example.com/ and example.com count as one. Sorting runs in your browser. Shorten a link: paste one long URL and get a short TinyURL (or cleanuri.com) link, made through AltFTool's server, with Copy and Visit buttons. This tool passes your entries to tinyurl.com to do the work.
How to use Link Sorter
Pick a mode: "Sort a list of links" or "Shorten a link".
To sort, paste your URLs, choose A → Z, Z → A, By domain, Shortest first or Keep order, and set the duplicate and grouping options.
Copy or download the sorted list — or, to shorten, paste one URL, press Shorten and use Copy or Visit on the short link.
Why use Link Sorter
Sorts any list, locally
A–Z, Z–A, by domain or by length with natural number order, loose or exact duplicate removal and optional domain headings — all in your browser, nothing sent anywhere.
One paste, one click
Type or paste the URL — bare domains like example.com work, the https:// is added for you — then press Shorten. There is no account and no email step on this page. The page shortens up to ten links a minute, and the shortening service may set limits of its own.
Copy or open without leaving the page
Each result has a Copy button that confirms with a tick and a Visit button that opens the short link in a new tab, so you can check it lands where you intended before you send it.
Your last five stay listed
Recent links are kept in a list showing the original URL, the short one and the date, each with its own copy and open buttons. The list lives in the page only, so it clears when you reload or close the tab.
A fallback if the first service is down
The URL goes to TinyURL first; if that request fails, errors or takes more than a few seconds, the tool retries through cleanuri.com automatically rather than just showing you an error.
Common use cases
- Cleaning up an exported bookmark list or a pile of open tabs: sort it by domain and drop the repeats before saving it
- Putting a crawl export or sitemap URL list into A–Z order with http/https and www. variants of the same page merged
- Shortening a long campaign or product link before pasting it into a social post, with the last five kept on screen
Frequently asked questions
How do I sort a list of links alphabetically?
Choose "Sort a list of links", paste the URLs one per line and pick A → Z. The scheme and www. are ignored when comparing, so https://www.apple.com sorts next to apple.com, and numbers sort naturally (page2 before page10). Copy the result or download it as a .txt file.
Link to answerHow do I remove duplicate URLs from a list?
Leave "Remove duplicates" ticked. With the looser match on, http:// vs https://, a leading www. and a trailing slash are ignored, so http://example.com/pricing/ and https://example.com/pricing count as one; untick it to remove only exact repeats. The summary line tells you how many duplicates were dropped.
Link to answerCan I group links by website?
Yes. Pick "By domain" to sort by hostname, and tick "Group the output under domain headings" to get a # domain line above each group — handy for cleaning up bookmarks or a crawl export.
Link to answerHow do I shorten a URL for free?
Paste the long URL into the box and press Shorten. The short link appears once the shortening service replies, with Copy and Visit buttons, and no signup is required. Bare addresses such as example.com or www.site.com are accepted — the tool adds https:// before sending them.
Link to answerWhich service actually creates the short link?
TinyURL, via its public create API. If that request fails or takes more than a few seconds, the tool retries automatically through cleanuri.com, so the link you get back will be on one of those two domains. Browsers are not allowed to call either service directly, so the URL you paste goes to AltFTool's server, which passes it to that service to be shortened and does not store it.
Link to answerDo the shortened links expire?
That is up to whichever service issued the link, not this page. Neither cleanuri.com nor TinyURL is operated by AltFTool, so if a link has to keep working for years, use a shortener you control or keep the original URL somewhere safe.
Link to answerWhy did I get an error instead of a short link?
Either the text was not a usable URL — it needs a dot and no spaces — or both shortening services were unreachable. The message tells you which: an invalid-URL warning appears as soon as you press Shorten, whereas a service failure is reported only after both attempts have been tried. Shortening a lot of links within one minute also asks you to wait a moment before the next one.
Link to answer