Free and open source for macOS

Draw where the window goes.

Press a shortcut and a grid appears. Drag across the cells you want, and the window snaps to that area. GridSnap is an open source alternative to Divvy for macOS.

Download for macOS
$ brew install --cask konieczkow/tap/gridsnap

macOS 14 or laterApple Silicon and IntelMIT License

This demo is live. Drag across the grid.

  1. 01

    Press ⌃⌥D

    A grid panel appears on every display. It outlines the cells that the window covers now.

  2. 02

    Drag across the cells

    The window follows your drag, so you see the result before you release.

  3. 03

    Release to snap

    The window stays where you put it. To cancel instead, press Esc and the window returns to where it was.

01Features

Move a window with the mouse, the keyboard, or one keystroke.

Use the keyboard

The arrow keys move the selection. Shift with an arrow key makes it larger or smaller. Return snaps the window.

Save an area as a preset

Hold Shift when you release, and GridSnap saves the area. Apply it later with a number key on the grid, or give it a shortcut that works everywhere.

A grid on every display

Each display has its own grid. To move a window to another display, drag on the grid there, or press Tab.

Columns12
Rows8
Gap8

Set the grid to suit your display

Choose up to 24 columns and 24 rows, and the gap between snapped windows. GridSnap can move the focused window or the one under the cursor.

Undo the last snap

Press ⌃⌥Z to put the window back where it was. Press it again to redo the snap.

Lives in the menu bar

GridSnap has no Dock icon. It stays in the menu bar and can start when you log in.

Nothing leaves your Mac

GridSnap does not use the network, collect analytics, or need an account.

Every shortcut

You can change the first two in Settings, and give any preset a shortcut of its own.

⌃⌥D
Show the grid
⌃⌥Z
Undo the last snap, or redo it
⌃⌥F
Apply the Full screen preset
←↓↑→
Move the selection
⇧→or⇧↑
Make the selection larger
⇧←or⇧↓
Make the selection smaller
Return
Snap the window to the selection
Tab
Move the selection to the next display
1to9
Apply a preset
Esc
Cancel, and return the window to where it was

02Themes

Ten themes are built in. You can also write your own.

Every theme has a light and a dark version, and GridSnap uses the one that matches macOS. A theme is a small JSON file, and it only needs to hold what it changes. Choose a theme, then edit it below and watch both grids change.

Dark
Light
Default.json

Accent colour

A theme can use "accent" as a colour. It is the accent colour you chose in System Settings.

What a theme can style
panel
The panel behind everything
header
The name of the app above the cells
cell
One cell of the grid
ghost
A window you snapped earlier
selection
The cells you selected
pending
The cells the window covers when the grid opens
preset
A line in the preset list
keycap
The number beside a preset
focusRing
The outline of the panel that has the keyboard

To install a theme, put the file in ~/Library/Application Support/GridSnap/Themes and choose it in Settings. Read the theme guide

03Install

Install GridSnap in a minute.

Homebrew

Install it with one command

$ brew install --cask konieczkow/tap/gridsnap

Homebrew also keeps GridSnap up to date when you run brew upgrade.

First launch

Allow GridSnap to move windows

When you first open GridSnap, it asks for the Accessibility permission. macOS requires this permission before an app can move the windows of other apps.

  1. Click the GridSnap icon in the menu bar and choose Grant Accessibility…
  2. In System Settings, turn on GridSnap under Privacy & Security › Accessibility.
  3. Press ⌃⌥D. GridSnap notices the permission by itself, so you do not need to restart it.

GridSnap needs macOS 14 or later and runs on Apple Silicon and Intel Macs. It is tested on macOS 26, where the grid uses the glass material. On older versions the grid is frosted instead.

04Open source

Short enough to read before you trust it.

GridSnap asks for the Accessibility permission, so you should be able to check what it does with it. The whole app is about 1,300 lines of Swift in 11 files. It has no third-party dependencies and no Xcode project. One shell script builds it.

  • 11Swift files
  • 0dependencies
  • MITLicense
gridsnap
$ git clone https://github.com/konieczkow/gridsnap.git
$ cd gridsnap && ls Sources
AX.swift              # finds and moves windows
BuiltinThemes.swift   # the ten built-in themes
Defaults.swift        # stored settings
Grid.swift            # the grid overlay
Hotkeys.swift         # global shortcuts
Menu.swift            # the menu bar menu
Presets.swift         # presets
SettingsWindow.swift  # the Settings window
ShortcutButton.swift  # records a shortcut
Themes.swift          # reads and checks a theme
main.swift            # startup
$ ./build.sh install
built build/GridSnap.app (signed: GridSnap Dev)
installed /Applications/GridSnap.app

05Questions

Before you install.

If your question is not here, open an issue on GitHub

Is GridSnap free?

Yes. GridSnap is free and open source, released under the MIT License.

Why does GridSnap need the Accessibility permission?

macOS does not let an app move or resize the windows of other apps without this permission. GridSnap uses it to find the window, read its position and size, and change them.

Which Macs does it run on?

GridSnap needs macOS 14 or later and runs on Apple Silicon and Intel Macs. It is tested on macOS 26, where the grid uses the glass material. On older versions the grid is frosted instead.

Does it work with more than one display?

Yes. Each display has its own grid panel. When you select cells on a panel, the window snaps to the display of that panel. With the keyboard, press Tab to move the selection to the next display.

Can I change the shortcuts?

Yes. In Settings you can change the shortcut that shows the grid and the shortcut that undoes a snap. Each preset can also have its own shortcut.

What can GridSnap not do?

GridSnap cannot snap a window that is in full-screen mode. Some apps also set a minimum window size and will not shrink to a small area. Such a window stays on the screen and overlaps the neighbouring cells.

How do I remove GridSnap?

Choose Quit GridSnap from its menu, then move GridSnap from your Applications folder to the Trash. If you installed it with Homebrew, run brew uninstall --cask gridsnap instead.

Put your windows in order.

GridSnap is free. It takes a minute to install.