Extract Domains from URLs

Make a host list from URLs pasted one per line.

Text inputPreview and copyRuns in your browser

Enter your text

Result

How to use

  1. Paste the URL list and compare the returned hosts against a few source entries.
  2. Select Convert to generate the output.
  3. Review the output before copying it.

How it works

Make a host list from URLs pasted one per line. Parse each HTTP or HTTPS URL with the browser and return its hostname.

Formula or processing rules

Parse each HTTP or HTTPS URL with the browser and return its hostname.

Worked example

https://example.com/a becomes example.com.

Example text lengths in UTF-16 code units
Input · 47
Output · 27
Worked example
MeasureValue
Source texthttps://example.com/a https://www.example.org/x
Resultexample.com www.example.org

Pros and cons

Pros

Make a host list from URLs pasted one per line. The sample provides an immediate check of the expected output.

Cons

Subdomains are preserved. Enter complete URLs with the protocol.

Limitations and troubleshooting

Check incomplete or malformed URLs separately because they may not yield a usable hostname.

Remove duplicate full URLs first

Frequently asked questions

Are a root domain and its subdomains the same for this audit?

They may represent different hosts. Decide whether those should be grouped together for your report before counting unique sites.

What rule does the Extract Domains from URLs apply?

Parse each HTTP or HTTPS URL with the browser and return its hostname.

What should I see in the Extract Domains from URLs example?

https://example.com/a becomes example.com.

What should I verify after using Extract Domains from URLs?

Subdomains are preserved. Enter complete URLs with the protocol.

Is my input stored by the tool?

The transformation is computed in the open page. The tool does not save the submitted text.