BetterTouchTool icon

Free, open-source alternatives to BetterTouchTool for Mac

Optimize3/3 alternativesSetapp v6.723Checked

The best free, open-source alternatives to BetterTouchTool for Mac are Hammerspoon, Karabiner-Elements, and Rectangle. Our top pick is Hammerspoon. We checked each project's source code, license, no-cost download, and macOS support on Aug 18, 2026, and we note known caveats so you can choose the closest fit for your workflow.

Published by OpenSetApp, independent of BetterTouchTool, Setapp, and MacPaw.

View on Setapp ↗

The research shortlist

Page updated

1

HammerspoonTop pick

MITEligibility checkedmacOSv1.1.1 · 15.9k ★ · pushed Jul 8, 2026

Lua-driven macOS automation and control

Metadata checked Aug 18, 2026

Why this pick

Broadest functional match for BetterTouchTool-style automation, with mature macOS integrations, current releases, and a strong open-source community.

A Lua-configurable automation layer for macOS that exposes windows, applications, mouse and keyboard events, clipboards, screens, and system services. It can reproduce many BetterTouchTool workflows, but customization is script-based rather than visual.

Key capabilities
  • 01Lua-configured macOS automation
  • 02Global hotkeys and input events
  • 03Window and application control
  • 04Clipboard, screen, menu, and system integrations
Caveats
  • Most workflows require Lua scripting.
  • It lacks BetterTouchTool’s visual gesture-builder experience.
Evidence sources (13)
2

Karabiner-Elements

UnlicenseEligibility checkedmacOSv16.1.0 · 22.6k ★ · pushed Aug 18, 2026

A powerful open-source keyboard customizer for macOS

Metadata checked Aug 18, 2026

Why this pick

Best focused replacement for BetterTouchTool keyboard and input customization, supported by an established macOS-native project with frequent current releases and extensive community rules.

Full review — capabilities, 2 caveats, evidence

A native macOS keyboard and input remapper for complex shortcuts, modifier layers, device-specific rules, mouse keys, and configurable input transformations. It is the strongest fit for BetterTouchTool’s keyboard-centered workflows, but not its full automation suite.

Key capabilities
  • 01Complex key remapping
  • 02Modifier layers and virtual keys
  • 03Device-specific profiles
  • 04GUI and JSON-based configuration
  • 05Mouse-key and input-event transformations
Caveats
  • Focused on keyboard and input events rather than general automation, clipboard, Touch Bar, or window layouts.
  • Requires macOS Accessibility and related permissions.
Evidence sources (15)
Rectangle icon
3

Rectangle

MITEligibility checkedmacOSv0.98 · 29.7k ★ · pushed Aug 18, 2026

Keyboard-driven window snapping for macOS

Metadata checked Aug 18, 2026

Why this pick

Highest-quality focused replacement for BetterTouchTool window management, combining a polished native macOS workflow, explicit free/open-source distribution, and active releases.

Also an alternative to Mosaic

Full review — capabilities, 2 caveats, evidence

A focused macOS window manager with customizable shortcuts, screen-edge snap areas, tiling, moving, and resizing. It is the cleanest free open-source replacement for BetterTouchTool’s window-layout features, but does not cover its broader input automation.

Key capabilities
  • 01Window snapping and tiling
  • 02Custom keyboard shortcuts
  • 03Screen-edge and corner snap areas
  • 04Multi-display movement and resizing
  • 05Importable configuration
Caveats
  • Specialized to window management.
  • Rectangle Pro is a separate paid product; the core Rectangle app remains free and MIT-licensed.
Screenshots
Rectangle screenshotRectangle screenshot
Evidence sources (13)

Specifications, side by side

Side-by-side comparison of open-source alternatives to BetterTouchTool
Attribute1 · Hammerspoon2 · Karabiner-Elements3 · Rectangle
LicenseMITUnlicenseMIT
PlatformsmacOSmacOSmacOS
StatusCheckedCheckedChecked
Versionv1.1.1v16.1.0v0.98
Stars15.9k22.6k29.7k
Last push
Caveats222

About BetterTouchTool

BetterTouchTool — Create custom actions for everyday tasks on your Mac. Great for personal and professional use to optimize your time and efforts.

Setapp listing: Save time with custom actions

Setapp screenshots
BetterTouchTool screenshot
Setapp metadata sources (3)

BetterTouchTool alternatives: frequently asked questions

What is the best free alternative to BetterTouchTool for Mac?

Our top pick is Hammerspoon. Broadest functional match for BetterTouchTool-style automation, with mature macOS integrations, current releases, and a strong open-source community. The other researched options are Karabiner-Elements and Rectangle.

Are these BetterTouchTool alternatives free and open source?

Yes. Each project publishes its source code under an open-source license and offers a no-cost way to use it on macOS. Licenses: Hammerspoon (MIT), Karabiner-Elements (Unlicense), and Rectangle (MIT). The caveats on each card list any limits we found before recommending it.

Do these BetterTouchTool alternatives work on Windows or Linux?

No. Every option on this shortlist supports macOS only, based on the platforms we verified.

Which BetterTouchTool alternative was updated most recently?

Rectangle has the newest release we checked: v0.98, published Jul 15, 2026. Projects ship often, so confirm the latest version on the project page before installing.