Mobile Pinch Zoom

approvedunreviewed

by Katsuhiko Hata

Pinch with two fingers to zoom notes in/out on mobile (iPad/iPhone/Android). Zooms text and figures together; choose content zoom or text-size zoom. Trackpad pinch works too.

★ 1 stars↓ 3,650 downloadsUpdated 17d agoMIT

Mobile Pinch Zoom

Pinch with two fingers to zoom your notes in and out on Obsidian mobile (iPad / iPhone / Android).

Obsidian mobile has no built-in content zoom and no status bar, so this plugin adds:

  • Two-finger pinch to zoom the note in/out (smooth, frame-throttled).
  • Anchored zoom — the point between your fingers stays put while you pinch; commands zoom toward the viewport center.
  • Trackpad pinch (ctrl+wheel, e.g. iPad Magic Keyboard) zooms too.
  • Snap to 100% — ending a gesture within ±5% of 100% glides back to exactly 100%.
  • Also zooms standalone PDF and image files opened in their own tab (works in either zoom mode); the PDF toolbar keeps its normal size.
  • A floating 🔍 indicator showing the current zoom; tap it to reset to 100%. By default it stays visible while zoomed and fades out shortly after returning to 100% (configurable: auto / always / hidden).
  • Commands Zoom in / Zoom out / Reset zoom with eased animation (assignable to hotkeys).
  • Canvas and Excalidraw are left alone — they have their own pinch zoom.
  • Figures keep growing (v0.8.0) — images normally stop at the pane edge (max-width: 100%), so a full-width figure would not get any bigger while the text grows. Now figures keep scaling with the zoom past the pane edge; swipe sideways inside the figure to pan (can be turned off in settings).

Desktop companion: on desktop use Ctrl+Scroll Zoom. This plugin activates only on mobile and no-ops on desktop.

Zoom modes (Settings)

  • Content (default) — scales the whole note via CSS zoom (text + images + formulas). Since v0.9.0 the editor is zoomed at its scroll container, which CodeMirror compensates for, so the caret and selections land where you tap.
  • Font size only — scales the text via font-size; since v0.7.0 figures (images, videos, Mermaid diagrams, Excalidraw embeds) zoom along with it, each growing up to the pane width. Solid in the editor.

Settings

  • Zoom mode, zoom step (for the commands), minimum/maximum zoom
  • Indicator: auto-fade / always / hidden, and position (any of the four corners)

Installation

Via BRAT (recommended for mobile)

Install the BRAT community plugin, then add hata-suriiken/obsidian-mobile-pinch-zoom.

Manual

  1. Download main.js and manifest.json from the latest release.
  2. Copy them into <your vault>/.obsidian/plugins/mobile-pinch-zoom/.
  3. Reload Obsidian, then enable Mobile Pinch Zoom under Settings → Community plugins.

Notes

  • Mobile only: isDesktopOnly is false so it loads on mobile, but the gesture logic activates only when Platform.isMobile is true.
  • Content mode uses CSS zoom on the editor's scroll container; CodeMirror detects the scale and draws the caret/selection in the right place (fixed in v0.9.0). Font size only remains available if you prefer unscaled layout while editing (figures still zoom there too).

License

MIT © 2026 hata-suriiken

For plugin developers

Search results and similarity scores are powered by semantic analysis of your plugin's README. If your plugin isn't appearing for searches you'd expect, try updating your README to clearly describe your plugin's purpose, features, and use cases.