Open-source alternatives to BetterTouchTool

Optimize3/3 alternativesSetapp v6.723Checked

Looking for a free and open-source alternative to BetterTouchTool? This page compares 3 researched projects after checking source availability, license evidence, a no-cost path, and documented macOS use. Review the options by platform, project status, and known caveats to find the closest fit for your workflow.

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)
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.

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)