Decide Chrome tab group membership by exact hostname

Group Chrome tab groups

To chrome group tabs by domain correctly, compare hostnames, not URL paths. Pages such as shop.example.com/products/42 and shop.example.com/cart have different paths but the same hostname, so they belong to one exact-host set. docs.example.com is a different hostname, even though it shares the example.com brand.

Preview the proposed hostname groups and check which tabs each one contains before you change anything.

Parse the URL before deciding membership

A URL has several parts. For this task, separate the hostname from everything after it:

  • https://shop.example.com/products/42 → hostname shop.example.com, path /products/42
  • https://shop.example.com/cart → hostname shop.example.com, path /cart
  • https://docs.example.com/start → hostname docs.example.com, path /start

The path identifies a page or section on a host. It is not the grouping boundary here. Two pages with different paths can share one group when their hostnames match exactly.

Do not broaden the rule to the registrable domain automatically. shop.example.com, docs.example.com, and mail.example.com may represent related services, but their hostnames differ. Grouping them together requires a separate, explicit decision rather than an assumption based on the shared brand.

Apply the rule to a Chrome tab set

Assume one ordinary window contains these tabs:

  1. https://shop.example.com/products/42
  2. https://shop.example.com/cart
  3. https://docs.example.com/start
  4. https://news.example.net/story
  5. A pinned tab on https://shop.example.com/account

This is an illustrative classification, not a measured product test. The first two tabs have the exact hostname shop.example.com, so they are candidates for one group. Their different URL paths do not exclude either tab.

The documentation tab has hostname docs.example.com. It should not join the shop group under an exact-host rule. Since it has only one tab in this example, you can leave it ungrouped instead of creating a one-tab group.

The news tab is unrelated and has no matching hostname in the set. Leave it unchanged. The pinned shop tab also remains separate: matching hostname does not override its pinned status. The expected result is therefore one proposed group containing the two ordinary shop tabs, with the documentation, news, and pinned tabs outside that group.

Review proposed groups before applying them

Decide whether single-tab sites should stay separate, and confirm that pinned tabs appear in the will-stay-ungrouped column.

Group Tabs by Site can show proposed groups by hostname, including the tabs assigned to each group. In the preview, compare shop.example.com with docs.example.com rather than relying on the visible brand name. Select only intended sites, and choose whether a site with one tab should remain separate.

The preview also identifies pinned, excluded, and already-grouped tabs that will stay ungrouped. This makes the membership decision inspectable before any change. If the preview places a tab outside the expected hostname, check its complete URL; a redirect or alternate host may explain the difference.

When browser tab-grouping support is available, select the relevant normal Chrome window, inspect the hostname groups, and apply only the selected sites. The operation organizes live tabs. It does not save the tab set, hide tabs, rename sites automatically, or trigger itself later.

Keep window boundaries explicit

Repeat the decision independently in each selected normal window. If shop.example.com is open in two windows, the tabs can be grouped within their respective windows, but they should not be moved across windows to form one global group.

Private windows are excluded, and pinned tabs stay separate. Existing groups also remain unchanged unless you explicitly choose an action that adds eligible tabs to one in the same window. These limits prevent a hostname match from causing unrelated layout changes.

Final membership check

Before confirming, ask four questions:

  1. Do candidate tabs have the same exact hostname?
  2. Am I ignoring path differences rather than treating paths as sites?
  3. Should singleton sites remain ungrouped?
  4. Are pinned tabs, private windows, and existing groups outside the proposed change?

If the answer is clear, apply the selected groups. If docs.example.com was included only because it resembles shop.example.com, stop and remove it from the selection. Exact-host grouping answers the domain question consistently without turning every related subdomain into one broad site group.

Chrome How To Create Tab Groups

Chrome How To Make Tab Groups

Chrome Name Tab Groups

Apply only the selected sites in the chosen normal window, then collapse the new groups or undo the operation if needed.

FAQ

What can Group Tabs by Site change, and what are its limits?

It creates native browser groups for selected live tabs in the normal windows you choose. It does not save a session, hide tabs, rename sites automatically, or trigger itself later. Private windows are excluded, pinned tabs stay separate, and existing groups are left unchanged unless you explicitly add eligible tabs to one in the same window.

Should docs.example.com join a group with shop.example.com?

No, not under an exact-host rule. They share the example.com brand but have different hostnames. Subdomains are not combined unless you make a separate, explicit decision to do so.

Do different URL paths on the same host break a group apart?

No. shop.example.com/products/42 and shop.example.com/cart have different paths but the same exact hostname, so they can belong to one group. The path identifies a page or section, not the grouping boundary.

What happens to pinned tabs and tabs in private windows?

Pinned tabs stay separate even when their hostname matches, and private windows are excluded. A hostname match does not override those limits.

Can I undo the grouping?

Yes, for tabs still available. Undo restores the previous layout where possible, leaves newly opened tabs untouched, and flags conflicts when tabs or groups changed after grouping.