Barcode Scanner Online

Scan a barcode online with your camera or from a saved image, without creating an account. Decode it locally in your browser, check the format and copy its value.

Loading the scanner…

COMPANIES OF ALL SIZES TRUST US

Read the barcode you have, wherever it is

Scan a label in front of you, or read a barcode from an image saved on your device. Get the encoded number or text along with its detected barcode format.

Read a label with your camera

Scan a barcode on a product, carton or asset label using your browser camera. Hold the complete symbol steady, including the blank margin around it.

Upload a photo or screenshot

Select a photo or screenshot from your mobile phone or computer. Using the original image helps preserve narrow bars and small squares.

Inspect the value and format

Copy the returned number or text into the system that uses it. Check the detected format and keep the complete value, including leading zeros.

A barcode reader returns the data in the symbol

An online barcode scanner, also called a barcode reader or barcode decoder, turns a pattern of bars or squares into readable content. A Code 128 label can return an internal reference such as STOCK-4827, whereas an EAN-13 label returns a numeric identifier.

A retail identifier is usually a key to product information held in a separate database. GS1 US’s guide to the GTIN explains how that identifier works. GTIN stands for Global Trade Item Number, the number beneath a retail barcode. This reader identifies the encoded value and format without looking up a product; use a product database to find the item name or current price.

Use this online barcode reader 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.

How to scan a barcode online

Choose the input, keep the complete symbol visible and inspect the result.

  1. Step 1

    Choose your camera or an image

    Use Camera for a printed 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.

  2. Step 2

    Keep the whole symbol clear

    Include the complete pattern and its blank margin. Adjust the distance for focus and reduce glare.

  3. Step 3

    Read the format and copy the value

    Check the detected format and copy every character of the value, including leading zeros.

Barcode formats and the values they return

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.

Reading example
An example Code 128 label returns STOCK-4827.
What the result means
Use the reference in the inventory or asset system that assigned it. The scanner returns the identifier; item details come from that system.
Create a code
Create a Code 128 barcode.

Reading example
An example Code 39 label returns BOX-27.
What the result means
The returned content is the encoded identifier. Asterisks (*) printed at each end of a Code 39 label are start and stop marks: do not add them to the value when copying it into another system.
Create a code
Create a Code 39 barcode.

Reading example
An example EAN-13 label returns 1234567890128.
What the result means
Use the complete number to find a matching item in a product database. The symbol carries an identifier; the database supplies the product description and current price.
Create a code
Create an EAN-13 barcode.

Reading example
An example EAN-8 label returns 12345670.
What the result means
Keep all eight returned digits when copying the identifier. The shorter symbol still requires a matching database record to provide product details.
Create a code
Create an EAN-8 barcode.

Reading example
An example UPC-A label returns 012345678905.
What the result means
Preserve the leading zero and all other returned digits. Use the identifier in the retail or product database that recognises it.
Create a code
Create a UPC-A barcode.

Reading example
An example UPC-E label returns 04210007.
What the result means
This example returns the compact UPC-E representation. A compact symbol and its expanded UPC-A identifier can have different lengths; compare matching representations and preserve leading zeros.
Create a code
Create a UPC-E barcode.

Reading example
An ITF-14 example returns 10012345000017 with the detected format ITF.
What the result means
The reader reports ITF, the underlying format of this 14-digit example. Check the identifier and print quality separately when preparing a trade-item label.
Create a code
Create an ITF-14 barcode.

Reading example
A label displayed as (01)09501101530003(10)LOT123 returns 010950110153000310LOT123.
What the result means
Brackets printed around Application Identifiers, the numeric prefixes such as (01) and (10), are a human-readable convention. The returned text need not reproduce them, and the reader reports the format as Code 128, the barcode that carries GS1-128 data.
Create a code
Create a GS1-128 barcode.

Reading example
The example ISBN 978-0-306-40615-7 returns 9780306406157 as EAN-13.
What the result means
An ISBN describes the identifier’s use; EAN-13 describes the symbol carrying it. Printed hyphens are not necessarily part of the decoded value.
Create a code
Create an ISBN barcode.

Reading example
A plain-text Data Matrix example returns LOT-A7-2048. A separate URL example returns https://qrcode-ai.com/.
What the result means
Plain Data Matrix and GS1 DataMatrix use different data conventions. GS1 explains the difference between 2D barcode options. The examples here use plain text or a URL.
Create a code
Create a Data Matrix code.

These examples were decoded from generated PNG images with this reader. Camera conditions and image quality affect detection. The examples demonstrate decoding without verifying product assignment or label print quality.

From a barcode label to a value you can use

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.

A complete Code 128 label is shown beside a reader result displaying STOCK-4827, Code 128 and a copy control.

Read an inventory reference

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.

An EAN-13 barcode leads to a result panel displaying 1234567890128 and the EAN-13 format, with a copy control.

Read a retail identifier

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.

If the barcode is not detected

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.

Use the barcode scanner in your tools or your own software

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.

Barcode Scanner Integrations

Decode barcodes directly inside Obsidian, VS Code, GitHub Actions, n8n, Node-RED, ComfyUI, Dify, JupyterLab, napari and supported AI agents.

Explore barcode integrations

Barcode Scanner SDK

Embed 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 SDK

Barcode Generator

Create a barcode from your own data, choose its format and prepare the artwork for your label.

Create a barcode

Barcode scanner questions

Image 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 a photo or screenshot, upload the saved image that contains it. This works well for a barcode saved on the same mobile phone you are using: save the image, then select 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 brackets 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.

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.