Sort URLs
Paste one URL per line. Original line text and the input order of equal URLs are preserved.
Local only · protocol, host, port, path, query, fragment · original lines preserved
A QUICK WALKTHROUGH
How to use this tool
- Paste URLs, one per line.
- Choose ascending or descending order.
- Sort and copy the result.
Stable URL keys
Protocol and host are compared case-insensitively. Port, path, query, and fragment follow their URL values; equal keys retain input order. Original lines are emitted unchanged.
Local processing
Only URL parsing and sorting happen in this browser. No URL is opened, resolved, fetched, or sent to a server.
GOOD TO KNOW
Common questions
What happens to invalid lines?
Lines that are not absolute URLs remain unchanged and are placed after valid URLs, preserving their relative order.
Does sorting normalize URLs?
No. The comparison key is normalized only for ordering; every output line keeps its original spelling and whitespace.