Barcode scanner online
Use the scanner below with your phone or laptop camera, an uploaded or pasted image, or a typed number. This guide covers formats, clean scans, privacy, and product lookup.

Quick answer
A barcode scanner online lets you read a code with your phone or laptop camera, an uploaded or pasted image, or a typed number. The scanner above decodes common 1D and 2D formats in your browser, then checks Open Food Facts and Open Beauty Facts for a product match. For live aisle scanning and saved history, Lens AI (LensApp.io) is the app option.
When Lens AI fits better
Lens AI is an app for iPhone, iPad and Android. It suits live scanning in a store, products without a readable barcode, and times when you want to keep scan history.
- Scans QR codes and barcodes live with the camera.
- Identifies products, food, plants, objects, landmarks and text from a photo.
- Reads meals, packages and ingredient lists, with AI estimates for calories, vegan status, gluten and general health.
- Saves scan history on your phone.
- Has free daily scans; a paid subscription gives you more.
How to scan a barcode online
Choose an input
Select Camera to scan a physical package. Choose the image option to upload a photo, screenshot or pasted image. If you can read the printed digits, enter the number instead.
Show the complete code
For camera scanning, allow browser camera access and place the entire barcode inside the frame. For an image, use the original photo when possible. Leave the blank margin around the bars visible.
Wait for a sharp view
Hold the phone or package still while the camera focuses. If glare covers the code, tilt the package slightly. Flatten wrappers and move closer or farther away if the bars look blurry.
Check the decoded result
The tool shows the encoded number or text and checks for matching product data. If you already have the printed digits, use the separate barcode lookup page without opening the camera.
Ways to use the online barcode scanner
A barcode reader online can work from a live camera, a saved image or a typed product number. Choose the method that gives the clearest copy of the code.
| Method | Best for | What happens |
|---|---|---|
| Camera | A package in front of you | The browser asks for camera permission and scans live frames. |
| Image | A photo, screenshot or copied image | Upload or paste the image; barcode decoding runs on the device. |
| Typed number | Readable digits below a retail barcode | The tool checks the number without using a camera. |
Supported barcode formats
The scanner reads the common formats below. The uses are based on GS1 barcode standards: 1D codes use linear bars, while 2D codes store more information in a compact pattern.
| Format | Looks like | Used for |
|---|---|---|
| EAN-13 | Linear bars with 13 digits | Retail products, mainly outside North America |
| UPC-A | Linear bars with 12 digits | Retail products in the United States and Canada |
| Code 128 | Dense linear bars with letters and numbers | Shipping, logistics, inventory and identification labels |
| Code 39 | Linear bars with letters and numbers | Internal assets, inventory and industrial tracking |
| ITF-14 | Linear bars encoding 14 digits | Cartons, cases and shipping packaging |
| Data Matrix | Compact square matrix | Healthcare products, medicine and medical devices |
| PDF417 | Stacked rows of 2D code | Tickets, transport documents and identification cards |
| QR Code | Square 2D matrix | Web links, coupons, loyalty programs and product information |
Tips for a clean camera scan
Most failed scans come from blur, glare, missing edges or a code bent around the package.
- Wipe fingerprints and dust from the phone lens or webcam.
- Use even light. Tilt glossy packages until reflections move away from the bars.
- Keep the code flat and show its full width, including the blank margin around it.
- Start about 10 to 20 cm from a phone camera. For a webcam, try 15 to 30 cm.
- Hold still for 2 to 3 seconds while autofocus settles. If a damaged code still fails, type the printed number.
How browser barcode scanning works
Camera mode uses the browser's camera permission system, usually through getUserMedia. JavaScript examines video frames and sends them to the native Barcode Detection API where available. Other browsers can use a decoder compiled to WebAssembly.
Both methods extract the encoded value from image pixels. The scanner above processes QR codes and barcodes on your device, so the camera frames and selected barcode image are not uploaded for barcode decoding. After a successful read, the decoded identifier can be checked against product databases.
From barcode number to product result
After reading a retail barcode, the tool checks Open Food Facts and Open Beauty Facts. These open databases may return a product name, brand, ingredients or other package data when a matching record exists. On food results, the optional photo AI check uses one web scan per day.
Some products have no barcode or no database record. In that case, try product search by image with a clear package photo. For a food question, the is it vegan scanner can inspect the meal, package or ingredient list, but its answer is an AI estimate.
Limits of online barcode scanning
A successful decode only confirms what the code contains. Product details depend on the database record, and photo-based food answers can be wrong.
- Faded, scratched, folded, covered or blurry codes may not decode.
- Shipping, inventory and ID codes can decode without matching a food or beauty product.
- Open database records may be missing, incomplete or out of date.
- AI estimates cannot confirm allergens. Use the package label for allergen decisions.
Frequently asked questions
How do I scan a barcode online?
Use the scanner on this page with your camera or an image. You can also use Lens AI (LensApp.io), the iPhone and Android app, to scan barcodes live with the camera.
Can I scan a barcode from an image?
Yes. The LensApp.io scanner can read a barcode from an uploaded photo or screenshot.
Can I paste an image into the barcode reader online?
Yes. Paste the image into the tool, then wait while the barcode is decoded on your device.
Which barcode formats are supported?
The scanner supports EAN, UPC, Code 128, Code 39, ITF, Data Matrix, PDF417 and QR codes.
How do I scan a barcode with a camera on a laptop?
Allow webcam access, hold the full code about 15 to 30 cm away, and wait for focus. Adjust the angle if the package reflects light.
Is online barcode scanning private?
The scanner on this page decodes QR codes and barcodes on the device, without uploading the barcode image. Product lookup uses the decoded identifier.
What happens after a product barcode is read?
The tool checks Open Food Facts and Open Beauty Facts for a matching product record. A valid barcode may have no database match.
Why will my barcode not scan?
The code may be blurry, damaged, cropped, bent or covered by glare. Try better light, a new angle, a different distance or the printed number.
Can a barcode scanner identify a product without a barcode?
A barcode scanner needs a readable code or number. Photo identification can examine the product, package, logo or label instead.
When should I use Lens AI instead?
Lens AI suits live aisle scanning, products without barcodes and saved scan history. The app runs on iPhone, iPad and Android.
