MARKETPLACE
PLUGINS
QR CODE & BARCODE SCANNER
QR Code & Barcode Scanner logo

QR Code & Barcode Scanner

Published March 2026
   •    Updated March 2026

Plugin details

QR Code & Barcode Scanner gives your Bubble app a professional, real-time scanning experience that works on any device. Users can scan QR codes and barcodes using their camera or by uploading an image — and the scanned value is instantly available as an exposed state for your workflows.
No API key. No external service. $8 monthly fee. Just install and it works.

Key Features

- Real-time camera scanning — works on mobile and desktop browsers
- Image upload scanning — users can upload any QR code image from their device
- Auto URL detection — automatically opens scanned URLs in a new tab just like Apple's native camera
- Animated scan overlay — clean purple corner brackets and animated scan line
- Vibration on scan — device vibrates on successful scan for tactile feedback
- Beep sound on scan — plays a confirmation beep when a code is detected
- Scan cooldown — prevents duplicate scans when holding a code in front of camera
- Custom success message — set your own message for the green banner on scan
- Scan history — keeps a log of the last 20 scanned values in the session
- Scan counter — tracks how many codes have been scanned
- Front and back camera support — switch between cameras for different use cases
- Exposed states for scanned_value, scan_status, is_scanning, scan_count and scan_history
- Works on HTTP and HTTPS — image upload works everywhere, camera requires HTTPS

Perfect For

- Event ticketing and check-in systems
- Inventory and warehouse management tools
- Retail product lookup apps
- Restaurant QR menu scanners
- Attendance tracking systems
- Asset tracking platforms
- Any Bubble app that needs real world scanning

How It Works

1. Drop the QR Scanner element onto your page and set a comfortable size — 300x300px minimum recommended
2. Add a Start Scanner button and connect it to the Start Scanner element action
3. On mobile the camera opens instantly and scans in real time
4. On desktop use the Upload Image button to scan from an image file
5. The scanned value appears in the exposed state and triggers the code_scanned event
6. Use the scanned value in your workflows to look up data, check in users, or trigger any action

$30

One time  •  Or  $8/mo

stars   •   0 ratings
0 installs  
This plugin does not collect or track your personal data.

Platform

Web

Contributor details

MAGNAM DEV LLC logo
MAGNAM DEV LLC
Joined 2021   •   7 Plugins
View contributor profile

Instructions

Step 1 — Install and add the element Install the plugin from the Bubble marketplace. Drag the QR Scanner element onto your page. Set the width and height to at least 300x300px for a comfortable scanning area. Larger is better on mobile — 350x400px is recommended.

Step 2 — Add Start and Stop buttons
Add a Button labeled Start Scanner. In its workflow add Element Actions → Start Scanner. Add another Button labeled Stop Scanner. In its workflow add Element Actions → Stop Scanner. Optionally add a Reset button using Element Actions → Reset Scanner to clear all states.

Step 3 — Display the scanned value
Add a Text element and set its content to QR Scanner's scanned_value. This updates automatically every time a code is successfully scanned.

Step 4 — Configure the element
In the Appearance tab set the following:
- camera_facing: environment for back camera, user for front camera
- border_color: set your brand color for the corner brackets and scan line
- auto_open_urls: check this to automatically open scanned URLs in a new tab
- vibrate_on_scan: check this to vibrate the device on successful scan
- sound_on_scan: check this to play a beep sound on successful scan
- scan_cooldown: milliseconds before the same code can be scanned again. Default 2000
- success_message: custom text shown in the green banner on successful scan
- auto_start: check this to start the camera automatically when the page loads
- show_border: check this to show the purple corner bracket overlay

Step 5 — Use the code_scanned event
Add a workflow triggered by the QR Scanner code_scanned event. Use this to save the scanned value to your database, look up a record, check in a user, or trigger any action in your app.

Step 6 — Use exposed states
- scanned_value: the raw text or URL from the last successful scan
- scan_status: human readable status message
- is_scanning: yes when camera is active
- scan_count: total number of successful scans in the session
- scan_history: comma separated list of the last 20 scanned values

Step 7 — Camera on HTTPS
Camera scanning requires HTTPS. Bubble preview URLs use HTTP so camera permission will not appear in preview. Deploy your app to the live URL to test camera scanning on mobile. Image upload works on both HTTP and HTTPS so you can test that in preview.

Notes
- For best mobile scanning results set the element to at least 350x400px
- Back camera works best for QR codes and barcodes
- Front camera is useful for selfie-style or accessibility scenarios
- Scan cooldown default is 2000ms — reduce to 500ms for rapid sequential scanning
- Scan history resets when the page is refreshed

Types

This plugin can be found under the following types:
Background Services   •   Element   •   Event   •   Action

Categories

This plugin can be found under the following categories:
Media   •   Image   •   Productivity   •   Technical   •   Visual Elements

Resources

Support contact
Documentation
Tutorial

Rating and reviews

No reviews yet

This plugin has not received any reviews.
Bubble