Need to create a barcode for a product label, or read one from a photo? This free tool does both in your browser. Use the barcode generator to make a code from any text, URL or product number and download it as PNG or SVG. Use the barcode scanner to decode a code with your camera or from an uploaded image. No sign-up and no software to install.
Online Barcode Scanner
The online barcode scanner reads a code straight from your device camera, or from a picture you upload. It is handy when you only have a screenshot, a photo of a package or a saved label and need the number behind it.
How to scan a barcode online
- Choose Camera and allow access, or choose Upload Image and pick a JPG, PNG, GIF or WebP file.
- Keep the barcode flat, well lit and centered in the frame.
- Read the decoded result, then copy it or search it.
Barcode scanner from image
Drop in a photo and the barcode reader from image will look for any code inside it. Cropping closer to the code and avoiding glare usually fixes a failed read.
Formats the barcode decoder can read
- 1D codes: UPC-A, UPC-E, EAN-13, EAN-8, Code128, Code39, Code93, ITF, Codabar
- 2D codes: QR Code, Data Matrix, Aztec, PDF417
Need to read only QR codes? Try our dedicated QR code generator and scanner.
Tips for a clean scan
- Use even light and avoid reflections on glossy labels.
- Hold the phone steady and move back slightly if the image looks blurry.
- Keep the code flat. Curved bottles and wrinkled labels often fail.
Free Barcode Generator
The free barcode generator turns text, numbers or a link into a print-ready code. Pick a type, enter your data, adjust the look and download. It works as an online barcode maker for shop labels, inventory sheets, event tickets and school or office asset tags.
How to create a barcode
- Select the barcode type, for example CODE128 or EAN-13.
- Type or paste your value. Numeric formats check the length for you.
- Set colors, size and text, then download the barcode to PNG or SVG.
Supported barcode types
| Type | Best for |
|---|---|
| CODE128 | Shipping, logistics, any text or numbers |
| EAN-13 / EAN-8 | Retail products outside North America |
| UPC-A / UPC-E | Retail products in the US and Canada |
| CODE39 | Asset tags, ID badges, industrial labels |
| ITF-14 / ITF | Cartons and outer packaging |
| Codabar | Libraries, blood banks, older systems |
| Pharmacode | Pharmaceutical packaging |
Popular ways to use it
- URL to barcode: encode a web address so people can open it quickly.
- WiFi barcode: share network details without reading out a password.
- Custom barcode: choose colors, bar width, height and human-readable text.
- Bulk barcodes: make a numbered series for stock or event passes.
- Barcode with logo: add a small brand mark where the format allows it.
Using a plain QR design instead? Switch to the QR code generator.
Barcode Basics: 1D vs 2D Codes
A 1D barcode stores data in a row of bars of different widths. It suits short values like a product number. A 2D code such as QR, Data Matrix or PDF417 stores data in a grid, so it can hold links, text and more, and it can still be read if part of it is damaged.
Retail codes such as EAN-13 and UPC-A carry a GTIN, a global product number. Those numbers are issued by GS1, so if you plan to sell through major retailers or marketplaces, get your numbers from the official source at GS1 barcode standards. This tool is ideal for internal labels, tests, tags and design mockups.
Why Use This Barcode Tool?
Free and fast
No account, no watermark and no limits on how many codes you create or scan.
Private
Scanning and generating run in your browser, so your images and values stay on your device.
Works anywhere
Use it on desktop, tablet or phone. Output works for print, web and design files.
Related Developer Tools
Working on a site or app that shows barcodes? These free tools help with the code around them: format API output with the JSON formatter, or clean up the page that displays your labels with the HTML minifier and beautifier.
Frequently Asked Questions
Is this barcode generator really free?
Yes. You can create and download as many barcodes as you need at no cost.
Can I scan a barcode from a picture?
Yes. Upload a JPG, PNG, GIF or WebP image and the scanner will try to decode any barcode in it.
Which barcode type should I choose?
Use CODE128 for general text and numbers, EAN-13 or UPC-A for retail product numbers, CODE39 for simple asset tags and ITF-14 for shipping cartons.
Will a generated barcode work at a store checkout?
The code will scan correctly, but retailers expect unique product numbers assigned by GS1 or an authorized source. Random numbers can clash with existing products.
Why won’t my barcode scan?
The usual causes are poor light, glare, a blurry photo or a code that is too small. Retake the photo closer and keep the code flat.
PNG or SVG: which is better?
Use PNG for quick web and document use. Use SVG when you need to resize without losing sharpness, such as large prints or design files.