See how the preview separates shop.example.com from docs.example.com before any tabs change
Start with the hostname
Parse each URL into two useful parts: hostname and path. For example, in https://shop.example.com/orders/42, the hostname is shop.example.com and the path is /orders/42. Two pages can have different paths and still match because their hostnames are identical.
Do not use the visible page title as the grouping key. A store, documentation portal, and account service may share example.com in their names while using different hosts. shop.example.com and docs.example.com are related subdomains, but they are not exact-host matches. Treat them as different sites unless you have explicitly decided to combine them.
Resolve a same-host example
Consider this illustrative Chrome tab set in one normal window:
https://shop.example.com/productshttps://shop.example.com/carthttps://docs.example.com/setuphttps://news.example.net/story- A pinned tab for
https://mail.example.com
The two shop.example.com pages are membership matches. Their paths differ, but their hostnames are the same, so they can form one site group. The documentation page is excluded from that group because docs.example.com is a different exact hostname. It may deserve its own group only if you select it and accept a single-tab group or later add another documentation tab.
The news page is unrelated and stays outside. The pinned mail tab also stays separate. Pinning is a layout exception, not evidence that the tab matches another domain. A grouping decision should record these exclusions rather than silently pulling every page with a similar company name into one group.
Repeat the decision per window
Suppose another normal Chrome window also contains two pages on shop.example.com. Group those tabs in that second window independently. The result is two separate browser groups, one in each window; tabs do not move between windows merely because their hostnames match.
This window boundary matters when one window contains active work and another contains reference material. A hostname match answers “which tabs belong together here?” It does not answer “which tabs should be moved into a different window?” Keep those decisions separate.
Review groups before applying them
Group Tabs by Site can show a preview of proposed hostname groups before changing live tabs. Select the normal window or windows to organize, inspect each proposed group, and compare entries such as shop.example.com and docs.example.com directly. The preview also identifies pinned, excluded, and already-grouped tabs that will stay ungrouped.
Use this checklist:
- Confirm hostname, ignoring URL path when deciding exact-host membership.
- Separate exact hosts from subdomains and unrelated domains.
- Decide whether one-tab sites should remain ungrouped.
- Keep pinned tabs outside the proposed groups.
- Check each selected normal window independently.
- Apply only after proposed membership matches your intent.
The tool uses exact hostnames by default and does not treat a shared brand name as a match. Existing groups remain unchanged unless you explicitly choose to add tabs to one in the same window. Private windows are excluded, and the tool does not rename, hide, auto-trigger, or save tabs.
What the example produces
For the example, the proposed shop.example.com group contains the products and cart pages. The documentation, news, and pinned mail tabs remain unchanged. If the same review is performed in a second normal window, its shop.example.com tabs receive an independent result rather than joining the first window’s group.
Inspect the preview after selecting sites, then choose “Group tabs” only when membership is correct. This hostname-first check prevents a common mistake: grouping pages because they look related while overlooking the exact host that Chrome uses as the boundary.
How To Add Tab Groups In Chrome
How To Collapse Tab Groups In Chrome
How To Create Chrome Tab Groups
Apply grouping per selected normal window and undo conflicts if tabs moved since the preview