Domain/URL Sorter
Sort domains and URLs alphabetically by domain, subdomain, or path with validation.
Input Domains/URLs
Sort Options
Sorted Domains/URLs
Total URLs
-
Unique Domains
-
Duplicates Removed
-
Invalid Removed
-
About Domain/URL Sorting
The Domain/URL Sorter intelligently sorts web addresses by various criteria including domain name, subdomain, TLD, or path. It validates URLs, handles both domains and full URLs, and can group results by domain.
Features
- Multiple Sort Options: Sort by domain, subdomain, TLD, or URL path
- URL Parsing: Automatically extracts and sorts relevant parts of URLs
- Domain Grouping: Optionally group URLs by their base domain
- Validation: Detects and optionally removes invalid URLs/domains
- Protocol Handling: Works with http, https, ftp, and bare domains
- Subdomain Support: Properly handles www, api, cdn, and other subdomains
- Domain Statistics: Show counts of unique domains and TLDs
Supported Formats
example.com- Bare domainwww.example.com- With subdomainhttps://example.com- Full URL with protocolhttps://example.com/path/to/page- URL with pathapi.subdomain.example.co.uk- Multi-level subdomainhttps://user:pass@example.com:8080/path- Complex URL
Sort Options Explained
- Domain Name: Sort by main domain (example.com, google.com)
- Full Domain: Sort including subdomain (api.example.com, www.example.com)
- TLD: Sort by top-level domain (.com, .org, .co.uk)
- URL Path: Sort by the path portion of the URL (/api/users, /about)
Common Use Cases
- Sort bookmarks or reading lists
- Organize website sitemaps
- Sort API endpoint lists
- Clean up link collections
- Organize server logs by domain
- Sort DNS records or hosts files
How to Use
- Input domains/URLs via text input, file upload, or URL (one per line)
- Select what to sort by (domain, subdomain, TLD, or path)
- Select sort order (A-Z or Z-A)
- Optionally remove duplicates or invalid entries
- Choose display options (grouping, statistics)
- Click "Sort URLs" to process your data
- Copy the results or download as a text file
Tip: The tool automatically detects whether you've entered bare domains or full URLs and handles them appropriately. You can mix both formats in the same list.
Related Utils
Feedback
Help us improve this page by providing feedback, and include your name/email if you want us to reach back. Thank you in advance.
Sending...
Feedback sent. Thank you!
Error occurred!
-
-
-
-
-
-
-
- ABI Encoder / Decoder
- Block Estimator
- Calldata Cost
- CREATE2 Address
- ENS Availability
- ENS Cost Estimator
- ENS Lookup
- ENS Namehash
- ENS Record Viewer
- ENS Subname Explorer
- ERC-20 Unit Converter
- Gas Estimator
- HD Wallet Derivation
- Merkle Tree Visualizer
- 4-Byte Selector Lookup
- Solidity Storage Layout
- Transaction Decoder
- Vanity Address Estimator
- Wallet Address Validator
- Wei/Gwei/Ether Converter
-
-
-
-
-
- API Response
- ASCII Table
- Code Bug Detector
- Code Explanation
- CSS Beautifier
- Env Parser
- GraphQL Query
- Syntax Highlight
- HTML Beautifier
- JS Beautifier
- JSON Formatter
- JSONPath
- JWT Decoder
- JS keyCodes
- API Lorem Ipsum
- RegExp
- Regex Library
- Semver Compare
- SQL Beautifier
- TOML Formatter
- Code Unminifier
- XML Beautifier
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Amortization
- Break-Even
- Compound Interest
- Crypto Profit/Loss
- Debt Payoff
- Discount
- Effective Interest
- Emergency Fund
- Inflation Calculator
- Simple Interest
- Invoice Calculator
- IRR Calculator
- Mortgage
- NPV Calculator
- Portfolio
- Profit Margin
- Rent vs Buy
- Retirement Calc
- ROI Calculator
- Salary vs Hourly
- Savings Goal
- Tax Calculator
- VAT
-
-
-
-
-
-
-
-
-
-
-
-
- Equation Solver
- Exponent Calculator
- Factorial Calculator
- Fibonacci Sequence
- Fraction Calculator
- Fraction Simplifier
- GCD Calculator
- GCD/LCM
- Least Common Multiple (LCM) Calculator
- Logarithm Calculator
- Magic Square
- Matrix Calculator
- Number Base Converter
- Pascal's Triangle
- PDE Solver
- Prime Checker
- Prime Factorization
- Roman Numbers
- Scientific Notation
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Broken Link Checker
- Canonical URL Checker
- Core Web Vitals Checker
- Favicon
- Heading Structure
- Keyword Density
- Meta Tags
- Mobile-Friendly Test
- Open Graph Tags
- Page Load Time Analyzer
- Redirect Checker
- robots.txt
- Schema Markup
- SEO Optimized Checklist
- XML Sitemap
- Time on Page Tracker
- Page Title & Desc.
- Twitter Card Generator
-
-
-
-
-
-
- Acceleration
- Substance Amount
- Angle
- Area
- Astronomical
- Base Converter
- Capacitance
- Electric Charge
- Data Transfer
- Data Storage
- Density
- Energy Converter
- Force Converter
- Frequency Converter
- Fuel Economy
- Illuminance
- Inductance
- Length / Distance
- Power
- Pressure
- Electrical Resistance
- Time
- Speed
- Temperature
- Viscosity
- Volume
- Weight
-
-
-
-
-