Fast, lightweight native macOS screenshot, annotation, smart lossless compression, offline OCR & translation utility
English · 简体中文
iSnip is built 100% in native Swift (AppKit · ScreenCaptureKit · CoreGraphics · Vision · Translation) with zero Electron or WebView runtime overhead and 0% idle CPU in the menu bar. It ships out-of-the-box with a bundled pngquant + oxipng dual-engine lossless compression pipeline, on-device offline OCR, and native selection/screenshot translation—combining pixel-accurate annotation with an unobtrusive minimalist interface (English / 简体中文 live switching).
- Zero-Jitter Instant Screen Freeze & Isolated Window Capture (
⌃A/⌃S/Space)- Freezes the screen instantly at original brightness (
⌃A) without dimming flash or scaling jitter; equipped with an11×11optical pixel loupe, live dimension readout, and#HEX/RGBcolor picker (C/⇧C). - Isolated Window Capture: Trigger via menu bar, global shortcut
⌃S, or pressSpacebefore dragging a selection. Powered byScreenCaptureKit(desktopIndependentWindow), it captures the target window cleanly even when partially occluded by other windows, preserving transparent rounded corners and native macOS drop shadows (⌥+Click or Settings toggle for shadowless capture;Tabcycles through overlapping windows).
- Freezes the screen instantly at original brightness (
- Bundled
pngquant + oxipngSmart Lossless Compression (On by Default)- Ships standalone
pngquant --speed 1andoxipng -o max --strip safebinaries inside the app bundle—zero CLI setup required. - Shrinks typical
1.2 MBRetina screenshots down to0.3–0.4 MB(60%–75%smaller) with virtually indistinguishable visual quality across three presets (Visually Lossless / Balanced / High Compression). - Zero-Wait Dual-Stage Pipeline: Both clipboard copy (
Enter) and local save (⌘S) write uncompressed pixels in0 msand atomically swap in the compressed PNG in the background without blocking the UI.
- Ships standalone
- Silent Direct Save (No Save-Dialog Interruption)
- Clicking Save (
↓) or pressing⌘Ssaves straight to~/Downloads(or your custom folder) with automatic collision-safe numbering; press⇧⌘Sor⌥+Click Save anytime for Save As….
- Clicking Save (
- Minimalist Floating Toolbar & 10 Vector Annotation Tools
- Clean neutral floating bar with on-demand stroke width, font size, palette swatches, and continuous HSV color picker; all 24 toolbar slots can be individually shown or hidden.
- Includes Rectangle (adjustable corner radius), Ellipse, Line, Cubic Bézier / Straight Arrow, Smooth Freehand Pen, 3-Pass Box Gaussian Blur, Native CJK/Latin Text, Auto-Increment Step Callout, Spotlight Dimming, and Multiply Highlighter, all supporting post-draw drag/resize and 100-step undo/redo.
- Scrolling Capture / Long Screenshot (
⌃D/S)- Start directly via
⌃D(drag a region or click a window) for smooth automatic scrolling & stitching, or pressSinside an active capture. - Built-in non-inertial pixel scroll driver, feature-row peak matching (resilient to sparse whitespace and dynamic scrollbars, with center-column fallback for fixed-sidebar layouts), automatic sticky header/footer stripping, and automatic bottom-of-page stop detection; supports
Spacepause/resume, 3 scroll speeds, manual scroll-wheel top-up, and⌘Zsegment undo.
- Start directly via
- Pin to Screen (
F3/⌃F3)- Float any capture or clipboard image always-on-top for side-by-side reference; supports cursor-centered scroll zoom,
⌘/⌃+ scroll opacity control, subtle border toggle, click-through mode, and pressingSpaceto annotate in place.
- Float any capture or clipboard image always-on-top for side-by-side reference; supports cursor-centered scroll zoom,
- 100% Offline On-Device Vision OCR & QR Code Detection (
⌃F/T)- Extract text directly from screen regions (
⌃F), active captures (T), pinned images (T), tall scrolling captures, clipboard images, or local image files (Recognize Image File…). - Supports multi-language switching (
Auto/Simplified Chinese/Traditional Chinese/English/Japanese/Korean), smart soft line-break merging, and one-click QR URL opening—100% local inference, images never leave your Mac.
- Extract text directly from screen regions (
- Selection Translation & Capture Translation (macOS 15+)
- Select text in any app and press
⌥Dto open the source/translation floating panel (or enable the optional Show Floating Translate Button inSettings → OCR & Translate). - Press
⌥Sto capture a screen region, run OCR, and translate automatically; any OCR result window can also switch into translation in one click. - Powered by Apple's built-in
Translationframework with no API keys required. Supports editable source text (⌘Enterto retranslate), target language switching,⇧⌘Cto copy the translation, andEscto dismiss. Reads accessible selection text only without simulating⌘Cor touching your clipboard.
- Select text in any app and press
- Download the matching DMG from GitHub Releases:
- Apple Silicon (
M1/M2/M3/M4/M5):isnip-macos-arm64-v*.dmg - Intel / AMD (
x86_64) Mac:isnip-macos-amd64-v*.dmg
- Apple Silicon (
- Open the DMG and drag iSnip.app into
/Applications. - If macOS Gatekeeper blocks the first launch, clear the quarantine attribute once in Terminal:
xattr -dr com.apple.quarantine /Applications/iSnip.app
- On your first capture, grant iSnip permission in System Settings → Privacy & Security → Screen & System Audio Recording.
Requirements: macOS 14.0+ (arm64 or x86_64) and Xcode Command Line Tools (Swift 5.10+).
git clone https://github.com/zzusec/isnip.git
cd isnip
sh scripts/install-local.sh --no-pullEvery global shortcut, in-capture action key, and annotation tool key can be customized or unbound in Settings → Shortcuts.
| Scope | Shortcut | Action |
|---|---|---|
| Global | ⌃A |
Capture Area (press Space before dragging to switch to Window Capture) |
| Global | ⌃S |
Capture Window (⌥+Click toggles window shadow; Tab cycles stacked windows) |
| Global | ⌃D |
Scrolling Capture (select region or window to auto-scroll & stitch) |
| Global | ⌃F |
Capture & OCR |
| Global | ⌥D / ⌥S |
Translate Selection / Capture & Translate (macOS 15+) |
| Global | F3 / ⌃F3 |
Pin from Clipboard / Toggle All Pin Borders |
| Selection & Output | Enter / Double-Click |
Copy capture to clipboard and finish |
| Selection & Output | ⌘S / ⇧⌘S |
Silent save to default folder / Save As… |
| Selection & Output | S / T |
Start Scrolling Capture (Space pause/resume, Enter save & copy) / OCR selection |
| Color Picker | C / ⇧C |
Copy pixel #HEX / RGB value under cursor |
| Nudge & Recapture | ⌥ + Arrow Keys (⇧ for 5 px) |
Pixel-nudge selection size; ⇧F1 recaptures screen |
| Annotations | 1 – 0 |
Switch among the 10 vector annotation tools |
| Annotations | ⌘Z / ⇧⌘Z / Delete |
Undo / Redo / Delete selected annotation |
| Pinned Image | Space / T / Esc |
Annotate in place / OCR pin / Close pin |
| Pinned Image | Scroll / ⌘ + Scroll |
Smooth zoom / Adjust pin opacity |
isnip/
├── Package.swift # SwiftPM manifest (AirSnipCore library + iSnip executable)
├── Info.plist # App bundle metadata, version & privacy usage descriptions
├── Assets/ # App icons & bundled static resources
├── Sources/
│ ├── AirSnipCore/ # Core engine: vector annotations, PNG/WebP codecs & compression, longshot stitcher, Vision OCR, L10n
│ └── AirSnipApp/ # Native UI: zero-jitter capture overlay, minimalist design system, pin windows, OCR/translation panel, settings
├── Tests/
│ └── AirSnipCoreTests/ # Unit tests for annotations, compression, longshot stitching, OCR layout & config migrations
├── Vendor/ # Bundled standalone compression binaries (pngquant / oxipng & dylibs)
└── scripts/ # Build, code-signing, end-to-end smoke test, release policy, local install & GitHub Release scripts
# 1. Build iSnip.app, verify code signature & bundled helpers, and run 7 end-to-end smoke checks
sh scripts/test-app-smoke.sh
# 2. Run core unit tests & release policy verification
swift test
python3 scripts/test-release-policy.py
# 3. Run translation self-test (uses installed language packs only)
dist/iSnip.app/Contents/MacOS/iSnip --translation-self-test
# 4. Build and install into /Applications/iSnip.app
sh scripts/install-local.sh --no-pull- Zero Telemetry: Screen capture, vector annotation, PNG/WebP compression, and Vision OCR / QR recognition run 100% offline on your Mac (network access is only used when checking GitHub Releases for updates).
- System Translation: Powered by macOS's native
Translationframework; language pack downloads are managed by macOS. Floating selection button is off by default and only reads accessible selection text when enabled. - Acknowledgements: Inspired by Easydict's Accessibility text selection, Vision OCR, and Apple Translation integration, implemented directly on Apple system frameworks without external dependencies.
- License: Source code is licensed under GPL-3.0-only; bundled helper binaries follow their respective open-source licenses (
pngquantGPL-3.0,oxipngMIT).