URL Normalizer and Domain Parser (Public Suffix List)
Paste one URL or thousands: get the canonical form, the registrable domain from the Public Suffix List, removed tracking codes and a deduplicated list.
Runs in your browser. Your files never leave your device. See how to check
…
How to do it
- 1Choose the mode
Pick One URL for a single link or Bulk list for many lines.
- 2Paste your input
Type or paste the URL, or open a txt or csv file in bulk mode.
- 3Set the rules
Tick the normalisation switches and add extra parameter names to remove.
- 4Load the full suffix list
Press Load full list when you need exact results for rare suffixes.
- 5Review the result
Read the normalised URL, the change list and the domain split.
- 6Export
Copy the URL, or download the CSV or the unique list from bulk mode.
About this tool
Two URLs that look different often point to the same page. HTTP://WWW.Example.com:80/shoes/?utm_source=news&size=42 and http://www.example.com/shoes/?size=42 are one address for a web server, but analytics tools, crawlers, link checkers and spreadsheets count them twice. A second, quieter problem is the domain itself. Splitting on dots gives the wrong answer for shop.example.co.uk, where the part a company actually registers is example.co.uk, or for me.github.io, which belongs to one GitHub user and not to GitHub as a whole. Browsers solve this with the Public Suffix List, a community-maintained file of every suffix under which people can register names. This tool brings both jobs together. It parses each URL the way a browser does, applies normalisation rules you choose, and splits the host into subdomain, registrable domain and public suffix with the real list algorithm, including wildcard and exception rules.
Normalisation rules you control
Every rule is a switch, because the right canonical form depends on the site. Removing tracking parameters drops utm_source, utm_medium and the other utm_ keys, along with click identifiers such as fbclid, gclid, msclkid, ttclid and about twenty more. You can add your own names, with a star as wildcard, for example sessionid or ref_*. Sorting query keys puts a=1&b=2 and b=2&a=1 into one form. Other switches remove the fragment, upgrade http to https, strip a leading www, merge double slashes, drop index.html and default.aspx, decode percent escapes of safe characters such as %7E and upper-case the remaining ones. The parser already lower-cases the host, removes the default port, resolves ./ and ../ segments and converts international domain names to punycode.
How the Public Suffix List is applied
The algorithm looks for the longest matching rule. A wildcard rule such as *.ck makes every label under ck a suffix, and an exception rule such as !www.ck takes one name back out. The registrable domain is the suffix plus one label to the left; anything further left is the subdomain. A starter list of about 260 common suffix rules is built in so the page works offline. Press Load full list to fetch the complete list from the jsDelivr CDN, pinned to version 1.15.0 of the psl package, or open your own public_suffix_list.dat.
Bulk mode
Paste a crawl export, a backlink report or a column of links. The summary counts lines, unique URLs after normalising, changed rows, distinct registrable domains and invalid lines. Three views show every row with its changes, the unique list with how often each URL appeared, and a count per registrable domain. Download a CSV with all columns or a plain text file of unique URLs.
Limits
This tool does not fetch pages, so it cannot follow redirects or read rel=canonical tags; it only rewrites the text of each URL. Lower-casing the path is off by default because most servers treat paths as case sensitive. The full suffix list includes private entries such as github.io and blogspot.com in the same set, and they are not separated from ICANN suffixes. A rule change on publicsuffix.org reaches the tool when the pinned package is updated.
Worked example
A marketer pastes 8 links from a newsletter report. With the default rules, https://www.example.com/blog/post-1?utm_source=twitter&utm_medium=social becomes https://www.example.com/blog/post-1, and http://EXAMPLE.com:80/blog/post-1/?ref=home&utm_campaign=launch becomes http://example.com/blog/post-1/?ref=home. Turning on Upgrade to https, Remove www and Remove trailing slash, plus adding ref to the extra list, folds three of the lines into the single URL https://example.com/blog/post-1. The unique list drops from 6 to 4 URLs. The domain view shows example.com with 4 URLs (docs.example.com counts under it), example.co.uk with 2, because the subdomain shop is split off correctly, and me.github.io with 1, while the line not a url at all is flagged as invalid.
Quick facts
- Category: Developer & Data
- Works in your browser, no sign-up, no upload.
- Your input stays on your device.
- Available in English.
- Content last reviewed:
- Official source: Public Suffix List (publicsuffix.org) and WHATWG URL Standard
Frequently asked questions
What is a registrable domain?
It is the public suffix plus one more label, the part someone buys from a registrar. For shop.example.co.uk the suffix is co.uk and the registrable domain is example.co.uk. Cookies, same-site checks and many analytics tools group by it.
Why not just take the last two labels?
Because many suffixes have more than one label. co.uk, com.au and github.io would all give wrong answers, and some country suffixes use wildcard and exception rules that only the list can describe.
Which tracking parameters are removed?
All utm_ keys and the click identifiers of Google, Microsoft, Meta, TikTok, X, LinkedIn, Mailchimp, HubSpot, Yandex and others, 28 patterns in total. Add your own names in the extra field.
Is it safe to sort query parameters?
For nearly every site yes, because servers read parameters by name. A few old systems depend on order or repeat a key on purpose; for those, switch sorting off.
Are my URLs sent anywhere?
No. All parsing happens in your browser. The only network request is the optional download of the full Public Suffix List file.
Does it handle international domains?
Yes. Hosts such as bücher.de are converted to punycode, xn--bcher-kva.de, before matching, which is how browsers and DNS see them.
