Read a label with your camera
Read a barcode on a product, carton or asset label. Start the camera and hold the complete symbol steady, including the blank margin around it.
Scan a barcode online with your camera or from a saved image, with no account needed. Decode it locally in your browser, check the format and copy its value.














Read a label in front of you, or scan a barcode from an image saved on your device. Get the encoded number or text and its detected barcode format.
Read a barcode on a product, carton or asset label. Start the camera and hold the complete symbol steady, including the blank margin around it.
Select a photo or screenshot from your mobile phone or computer. An original image helps preserve narrow bars and small squares.
Copy the returned number or text into the system that uses it. Check the detected format and preserve the complete value, including leading zeros.
A barcode scanner, also called a barcode reader or barcode decoder, decodes a pattern of bars or squares into readable content. A Code 128 label can return an internal reference such as STOCK-4827. An EAN-13 label returns a numeric identifier.
A retail identifier is usually a key to product information held in a database. GS1 US’s guide to the GTIN explains how the identifier is used. GTIN stands for Global Trade Item Number, the number under a retail barcode. This online barcode reader gives you the encoded value and format; use a product database to look up the name or current price.
Use this barcode reader online without signing in. Images and camera frames are decoded on your device, directly in your browser. The decoding process does not upload them to a server.
Choose your input, keep the complete symbol visible and inspect the result.
Use Camera for a label in front of you. For a photo or screenshot saved on this device, choose Upload image. To check an image before you print it, choose Test.
Include the complete pattern and its blank margin. Adjust the distance for focus and reduce glare.
Check the detected format and copy every character of the value, including leading zeros.
These 10 examples show the value and format returned by this reader. ISBN can appear as EAN-13, GS1-128 as Code 128 and ITF-14 as ITF.
These examples were decoded with this reader from generated PNG images. Camera conditions and image quality affect detection. The examples demonstrate decoding, without verifying product assignment or label print quality.
Carry the decoded value into your next task: find an internal reference in an inventory system or match a retail identifier in a product database.

Read STOCK-4827 from a Code 128 label and copy the reference into your inventory or asset system. Use that system to find the matching item and its stock information.

Read 1234567890128 from the example EAN-13 label and copy the digits into a product database or business system. The number is the lookup key; the database provides the item details.
For camera input, check that the browser has permission to use a suitable camera. Camera access requires a secure connection and permission, as described in MDN’s camera access documentation. Close other apps using the camera, or choose a saved image when camera input is unavailable.
For an image or camera view, keep the symbol sharp and complete. Do not crop off the first or last bars, the corners of a two-dimensional code, or the blank margin. Glare, motion blur, damaged labels and heavy image compression can prevent a scan. The printed digits beneath a barcode do not replace a readable pattern.
Connect the MIT-licensed scanner engine to editors and workflows, embed it through an SDK, run it via the CLI, Docker, MCP Server or Skills, or try runnable examples.
Decode barcodes directly inside Obsidian, VS Code, GitHub Actions, n8n, Node-RED, ComfyUI, Dify, JupyterLab, napari and supported AI agents.
Explore barcode integrationsEmbed local barcode decoding in your applications with MIT-licensed packages for JavaScript, Python, Rust, Android, iOS and more, plus a CLI and Docker image.
Explore the barcode scanner SDKCreate a barcode from your own data, choose its format and prepare the artwork for your label.
Create a barcodeImage and camera reading, decoded values, format names and the next action after a scan.
Use the QR Code AI online barcode scanner directly in your browser, with no account needed. Choose camera input for a label in front of you, or select a saved photo or screenshot. Keep the whole symbol and its blank margin visible until the result appears. Check the detected format and copy the complete value. Camera availability depends on your device, browser and permission settings. To check an image you plan to print, open the Test tab.
Yes. To scan a barcode from an image, select the saved photo or screenshot that contains it. This works well for a barcode saved on the same mobile phone you are using: save the image, then choose that file. Keep the bars or squares complete and sharp. Repeated compression, glare or cropping can remove the detail needed to decode the symbol.
This reader decodes linear barcodes (Code 128, Code 39, Code 93, Codabar, ITF, EAN-13, EAN-8, UPC-A, UPC-E, GS1 DataBar, GS1 DataBar Expanded and Telepen) and two-dimensional or stacked codes other than QR codes (Data Matrix, Aztec, PDF417 and MaxiCode). The examples on this page cover Code 128, Code 39, EAN-13, EAN-8, UPC-A, UPC-E, ITF-14, GS1-128, an ISBN carried as EAN-13 and plain Data Matrix. The reader reports the underlying format: ITF-14 as ITF, GS1-128 as Code 128 and a book barcode as EAN-13. Camera conditions and damaged labels can affect detection.
Not by itself. A barcode reader can decode a symbol without a product database, returning only its encoded value and format. To look up a product’s name or current price, enter the retail identifier in a database that holds those details. Some variable-measure or coupon structures can encode additional information, but this reader does not provide a product catalogue or live pricing.
Check that this reader supports the format and that the complete symbol is visible. Focus the camera, reduce glare, keep the blank margin and try the original image rather than a blurred copy. If the camera cannot start, check its permission and whether another app is using it. A readable number printed underneath does not mean the barcode pattern itself can be decoded.
No. This page reads barcodes and does not report QR codes found in an image or camera view. To read a QR code, use the QR Code Scanner. A QR code and a Data Matrix symbol are different formats even though both use a two-dimensional pattern.
Printed text can include formatting that is not part of the encoded value. For example, a book label can show an ISBN with hyphens while the reader returns EAN-13 digits. GS1 labels can print parentheses around Application Identifiers while the returned text follows the encoded data. Check the detected format and the representation your receiving system expects, and preserve any leading zeros.
To build barcode reading into your own software, use the open-source Barcode Scanner SDK, available under the MIT licence across ten languages, or try runnable demos in Barcode Scanner Examples. For command-line batch checks and containers, see the Barcode Scanner CLI and Docker image. For AI agents and editors, connect the Barcode Scanner MCP Server, install Barcode Scanner Skills, or browse the Barcode Scanner Integrations directory.
A readable barcode can contain an address whose website is unavailable. Decoding retrieves the address; it does not restore the destination. If the address leads to a destination managed by QR Code AI, the conditions of its creator’s account apply: free creation limits and a seven-day Premium trial, followed by Premium for continued use of the affected features. That trial starts with the first dynamic QR code or Smart Link, not with a barcode scan or barcode creation. Numbers or text encoded directly in a barcode remain in the symbol.