A lightweight Chrome extension to scan and read QR codes directly in your browser. Perfect for quickly decoding QR codes from images, screenshots, or web content β no external app needed.
π Scan and decode QR codes instantly from images.
πΌοΈ Snip QR codes directly from a webpage or documents.
π Copy decoded text, links, or data with one click.
π Works offline β no server-side processing required.
π§© Clean and minimal popup UI for quick access.
Demo_Video.mp4
-
Clone or download the repository:
git clone https://github.com/renuthomas/qr-code-snipper.git
-
Open Chrome and go to chrome://extensions/.
-
Enable Developer Mode (top right toggle).
-
Click Load Unpacked and select the root folder of the extension.
The extension will now appear in your toolbar β ready to use! π
- Click the QR Code Snipper icon in the toolbar.
- Upload an image with a QR code or let the extension detect QR codes on the current webpage.
- The decoded result (URL, text, or data) will appear in the popup.
- Copy or open the decoded content in a new tab with a single click.
qr-code-snipper-extension/
βββ manifest.json # Extension metadata
βββ popup.html # Popup UI for scanning
βββ popup.js # QR code scanning logic
βββ popup.css # Popup styling
βββ background.js # Background tasks
βββ snip.js # Snip the QR code
βββ jsQR.js # Read the QR code
βββ assets/ # Extension iconsThis extension uses the following Chrome permissions:
activeTabβ to temporarily access the current tab when the user clicks the extension.tabsβ to capture the screen of the current tab and retrieve metadata like title/URL.storageβ to store the history of scanned QR codes.scriptingβ for injecting scripts if QR detection needs to run inside the page.
- Built with Manifest V3.
- Uses a lightweight JavaScript QR decoding library (jsQR).
- Works fully offline for privacy and security.
β Drag-and-drop QR code images into the popup.
π€ Export decoded results as text or JSON.
π¨ Dark mode for the popup UI.
Hereβs how QR Code Snipper compares to other popular Chrome QR code reader extensions:
| Feature | QR Code Reader for Google Chromeβ’ | QR Code Snipper β |
|---|---|---|
| π How does it work | β Capture the entire web page for QR code | β Users can snip the QR code |
| π Reads QR codes within documents | β Only via upload(should upload the image) | β Direct detection(by snipping) |
| π Transparent open-source license | β Proprietary | β MIT + Apache 2.0 compliant |
π Result: QR Code Snipper is lighter, faster, and fully private β no data ever leaves your browser.
This extension uses the open-source library jsQR developed by cozmo.
- QR Code Snipper is licensed under the MIT License (see LICENSE).
- jsQR is licensed under the Apache License 2.0 (see LICENSE-jsQR).