Organize your open tabs by site

Group Browser tab groups

To make tab groups on a Mac, first choose one browser window and define a strict membership rule. For example, group tabs only when they use the exact hostname shop.example.com; leave documentation, news, pinned tabs, and pages in other windows outside that group. The names and commands differ between browsers, so use the current tab-group control documented for your browser rather than assuming that Chrome, Safari, Firefox, or another browser works the same way.

How to make tab groups on Mac

When several shop.example.com pages share one window, preview the proposed group and confirm the boundary before applying it.

A tab group is normally local to one window. Start with one ordinary, non-private window and one group. This keeps the result easy to check and prevents unrelated tabs in another window from being treated as part of the same set.

Worked example: one shopping group

Suppose the window contains these tabs:

  • shop.example.com/products/desk
  • shop.example.com/cart
  • docs.example.com/setup
  • news.example.net/story
  • A pinned tab for mail

The membership rule is: include ordinary tabs whose exact hostname is shop.example.com. This puts the product page and cart in one group because both belong to that host. Their different paths do not matter.

The documentation tab stays outside. Although it may describe the same project or purchase, its hostname is docs.example.com, so including it would weaken the rule. The news tab also stays outside because it belongs to another site and has no direct role in the shopping set.

The pinned mail tab remains separate as well. Pinned tabs have different browser behavior, and many browsers do not place them in ordinary tab groups. Do not unpin it merely to make the example look complete. The intended result is two tabs in one shopping group, with the documentation, news, and pinned tabs unchanged.

Step-by-step grouping procedure

1. Choose the window and define the boundary

Look at the window that contains the tabs you want to organize. Do not begin by scanning every open window. Decide whether the first group belongs to one specific window, then write down its rule in a few words: “exact hostname shop.example.com.”

This distinction matters when the same site is open elsewhere. A tab in another window is not automatically part of the first group. Browsers generally manage groups within their containing window, so moving tabs across windows would change the task rather than organize it.

2. Inspect tabs before selecting them

For dozens of mixed store, documentation, and email tabs, bulk classification saves time compared with dragging each tab by hand.

Read each tab's address or use the browser's tab information to identify its hostname. Compare hosts, not only page titles. Two pages titled “Setup” may belong to different services, while two pages with unrelated titles may share the same host.

For the example, select the two shop.example.com tabs. Exclude docs.example.com, news.example.net, and the pinned mail tab. If a site has several subdomains, such as app.example.com and help.example.com, treat them as different hosts unless your browser provides a clearly documented option to combine them.

3. Use your browser's group command

Select the tabs that passed the rule, then open the browser command for creating or adding tabs to a group. Depending on the browser and version, this may appear in a tab context menu or in a tab-management menu. The wording, location, available colors, and naming options can change, so verify the control in the browser's current documentation if it is not visible.

Choose a new group for the two shopping tabs, not an existing group with a different purpose. If the browser asks for a group name, use a precise label such as “Shop.” If it offers a color, choose one that helps distinguish this group from other groups; color does not change membership.

Do not drag every nearby tab into the group just because it is visually adjacent. Proximity in the tab bar is not a reliable classification rule. Add a tab only when it satisfies the boundary you chose.

4. Stop when the first group is correct

The task is complete when both matching shopping tabs are grouped and the exceptions remain untouched. Do not broaden the group to include documentation or news simply because those pages are related to the same browsing session.

You can create additional groups later, each with its own rule. For example, a separate exact-host group could contain several docs.example.com pages. That is a new decision, not a reason to relax the membership rule for the first group.

Verify the result

Check the group before changing anything else:

  1. Confirm both shop.example.com tabs appear in the same group.
  2. Confirm no docs.example.com or news.example.net tab entered it.
  3. Confirm the pinned mail tab is still pinned and separate.
  4. Confirm tabs in other windows were not moved.
  5. Open the group or collapse it using the browser's native group control, if available, and check that only intended tabs are represented.

If one tab was excluded, compare its exact hostname with the rule. A different subdomain, a redirect, or a browser-specific pinned-tab restriction can explain the result. If group controls are missing, the browser or current version may not support them in that window type; check its documentation instead of using an unverified command.

Manual grouping is sufficient for a few tabs. The useful discipline is deciding membership before dragging or selecting anything: exact hostnames go together, unrelated hosts stay separate, pinned tabs remain unchanged, and each window is handled independently. This approach answers how to make tab groups on Mac without relying on controls that may not exist in the browser you use.

After verifying the result, use undo if a tab was closed or manually moved since grouping.

FAQ

What does Group Tabs by Site do?

It organizes live tabs in selected normal windows into native browser groups by exact hostname. It previews proposed groups, lets you select which sites to group and whether single-tab sites stay separate, shows pinned and excluded tabs in a Will stay ungrouped column, and supports undo for tabs still available.

Does grouping move tabs between windows?

No. Groups are created independently in each window. A tab in another window is not automatically part of the first group, and the tool never moves tabs across windows.

What happens to pinned tabs?

Pinned tabs remain separate and unchanged. They appear in the Will stay ungrouped list because many browsers do not place them in ordinary tab groups.

Are subdomains grouped together?

Not by default. Grouping uses exact hostnames, so app.example.com and help.example.com are treated as different hosts unless you add an explicit rule to combine them.

Can I undo the grouping?

Yes, for tabs still available after the operation. If a tab was closed, manually moved, or its group edited, the tool flags a conflict instead of forcing the change.