A fast, lightweight, privacy-focused WebExtension (Manifest V3) that scans any QR code visible on your screen or inside images, with built-in security screening and zero external network calls.
Supported Browsers: Google Chrome, Microsoft Edge, and Mozilla Firefox 140+.
- Viewport Snipping: Capture and scan any QR code on screen using the toolbar icon or shortcut Alt+Shift+Q.
- Touch, Pen & Stylus Ready: Full pointer-event support with pointer capture, scroll-lock (
touch-action: none), on-screen Cancel button, and accessible ≥44px tap targets. - Right-Click Image Scan: Right-click any image on the web and select "Scan QR in this image" for instant decoding without dragging.
- Cross-Browser Engine: Native WebExtension compatibility across Chromium (Chrome, Edge, Brave) and Firefox.
- High-DPI & Zoom Resilient: Automatically scales pixel coordinates to match
devicePixelRatioand browser zoom settings. - 100% Offline & Private: Uses bundled
jsQR.min.js. Never contacts remote servers, tracks analytics, or makes network requests. - Security Warning Banner: Flags URLs using unencrypted
http://, internationalized/punycode lookalike domains, or URL shorteners (bit.ly,tinyurl.com,t.co, etc.) with a clear caution notice before opening. - Dangerous Scheme Blocking: Completely blocks
javascript:anddata:URLs from opening. - Dark & Light Mode: Seamlessly matches your operating system theme, with an interactive toggle switch, safely persisted in storage.
- Restricted Page Warnings: Notifies you with friendly native alerts when triggered on restricted pages (e.g.,
chrome://,about:, Chrome Web Store, or Firefox Add-ons). - Safe Link Handling: Links are never opened automatically. Opening is strictly user-triggered.
- Clone or download this repository:
git clone https://github.com/IsaacJoel06/qr-snip.git
- Navigate to
chrome://extensions/(oredge://extensions/). - Toggle on Developer mode in the top-right corner.
- Click Load unpacked and select the
qr-snipproject folder. - Pin QR Snip to your browser toolbar.
Note for Chrome users: Chrome may display a minor developer warning:
"Unrecognized manifest key 'scripts'". This is completely safe and occurs because the manifest simultaneously provides ascriptsfallback for Firefox MV3. Chrome usesservice_workerand runs normally.
- Open Firefox and go to:
about:debugging#/runtime/this-firefox - Click Load Temporary Add-on...
- Select manifest.json inside the
qr-snipfolder. - Pin QR Snip to your Firefox toolbar.
Note for Firefox users: Temporary add-ons in Firefox remain loaded for your active browser session and are automatically unloaded when Firefox is fully closed or restarted. To keep it permanently installed, the add-on can be self-signed via AMO.
| Action | Shortcut / Trigger | Description |
|---|---|---|
| Start Snip | Alt+Shift+Q or click extension icon | Dims the page; drag a rectangle over any QR code with mouse, touch, or pen. |
| Scan Image | Right-click image → Scan QR in this image | Scans an image element directly without selecting an area. |
| Cancel Snip | Esc or tap on-screen Cancel button | Cancels current selection (ideal for touchscreen devices without an Esc key). |
| Close Popup | Esc or click ✕ | Dismisses the result toast notification. |
| Toggle Theme | Click theme button in toast header | Switches between System Auto, Dark, and Light themes. |
A complete testing guide with an interactive checklist is available in TESTING.md. Open test.html directly in any browser to verify all features.
- Firefox for Android / mobile mode: scanning is unreliable right now. On some pages the selected area doesn't match what gets scanned, and some QR codes aren't recognized. Chrome-based browsers on desktop work best. I'm currently working on a fix.
- Zero Data Collection: QR Snip does not track, collect, or transmit any user information.
- No Remote Dependencies: All scanning occurs strictly within your browser's memory using bundled local scripts.
- Minimal Permissions: Uses only
activeTab,scripting,contextMenus, andnotifications. No host permissions (<all_urls>) requested. - Read our full PRIVACY.md for details.
- Fork the repository and create your feature branch:
git checkout -b feature/my-enhancement
- Make your changes and test across both Chrome and Firefox using
test.htmlandTESTING.md. - Commit your changes and open a Pull Request.
Distributed under the MIT License. Copyright © 2026 Isaac Joel Mithran.


