MainspringGuides › Merge All Windows
macOS Guide

How to Merge All Windows Into Tabs on Mac

Updated July 2026 · 3 min read

An afternoon of clicking leaves you with ten Finder windows and a Safari window on every desktop. You don't have to close anything: one menu command gathers every window of an app into a single tabbed window, nothing lost. It's called Merge All Windows, and it's been hiding in the Window menu for years.

The command

  1. Click into any window of the app — say, Finder.
  2. In the menu bar, open Window → Merge All Windows.

Every open window of that app collapses into one window with a tab bar across the top — each former window is now a tab, contents intact. In Finder, each tab keeps its folder; in Safari, each keeps its page (a window that already had multiple tabs contributes all of them); in TextEdit or Preview, each keeps its document, unsaved edits included.

It works identically on macOS 13 Ventura, 14 Sonoma, and 15 Sequoia, and there's no confirmation step — the merge just happens. It's per-app: merging Finder windows does nothing to Safari's. And macOS won't merge different apps' windows into one — tabs never mix apps.

Which apps have it

Any app using the system's standard tab support: Finder, Safari, TextEdit, Preview, Pages, Numbers, Keynote, Terminal, Maps, and plenty of third-party document apps. If Window → Merge All Windows is missing or grayed out, the app either doesn't support tabs or currently has only one window — there's nothing to merge.

The command reaches every eligible window of the app, including ones parked on other desktops — which makes it a handy way to gather an app's windows scattered across Spaces back into one place without visiting each Space yourself.

Un-merging: get a window back

Merging isn't a one-way door:

Living in a tabbed window

One habit worth building: merge at the end of a research session instead of closing windows you might need. You keep everything, but your desktop and Mission Control go from chaos to one tidy rectangle.

Finder is where the command earns its keep: merge a pile of folder windows into one tabbed window, then move files between folders by dragging them from tab to tab — a two-pane file manager improvised out of stock Finder. In Safari, merging is the fix for the "one window per errand" habit; after the merge, Shift + Cmd + \ opens the tab overview so you can survey and prune everything you just gathered.

Stop the pile from forming

Merging cures the symptom. The cause — every document opening its own window — has a setting: System Settings → Desktop & Dock → Prefer tabs when opening documents → Always. With that on, new documents join the existing window as tabs from the start, and Merge All Windows becomes a rare cleanup instead of a daily chore.

More one-click cleanups

While you're tidying windows, Mainspring turns 90+ hidden macOS settings — Finder, Dock, windows, keyboard — into labelled, reversible toggles.

Try Mainspring free →

Signed & notarized by Apple · 1-day free trial · $29 once