Free tool
Extract the domain from a URL
Extract the domain from a URL on each line: https://www.shop.example.com/page becomes shop.example.com, or example.com if you only want the main domain.
The example is loaded. Paste your own list to replace it.
→ 3 lines
Drop www.
Main domain only (shop.example.com → example.com)
Each domain once
Drop lines with no domain
Your text
Result
What it does
Turn https://shop.example.com/page into shop.example.com.
Settings you can change
- Drop www.
- Main domain only (shop.example.com → example.com)
- Each domain once
- Drop lines with no domain
When to use it
You collected hundreds of links and want to know which websites they point to.
Example: extract domain from URL
Settings used: Main domain only (shop.example.com → example.com): on.
Input
Result
Used in these recipes
Often used with
Find every web address in the text, one per line.
Keep one copy of each line.
One row per value with its count, most common first. Pastes into a spreadsheet as two columns.
Your text stays on this computer
Got your list from a web page?
HeyScraper turns the page you’re on into a spreadsheet, so you can skip the copying and pasting. Free: 500 pages a month.
Get HeyScraper