Free online tool
Barcode scanner for PC
Use the webcam on your PC or laptop as a barcode scanner. It works in the browser on Windows, Mac, Linux and Chromebooks, with nothing to install.
- Free, no signup
- Decoded on your device
- Phone, tablet and PC
No barcode handy? Tap a sample to scan it
Results
Nothing scanned yet. Decoded barcodes print out here like a receipt.
- Start the camera, drop in an image or PDF, or type the number.
- Read the value, the barcode type and, for products and books, what it is.
- Copy it, search it on Google, or export the whole list to Excel.
Three ways to scan on a computer
1. Hold it up to the webcam
Press Start camera, choose Allow, and hold the barcode flat, facing the lens, 20 to 25 cm away. If you have two cameras, pick the right one from the list under the preview. The preview is mirrored, so the item moves the way you expect.
This is slower than a laser scanner, and built-in webcams are not great at it. They have fixed focus, so small barcodes blur when you bring them close. An external webcam with autofocus is much better.
2. Paste a screenshot
For barcodes that are already on your screen (e-tickets, PDF invoices, supplier catalogs, web pages) this is the fastest route. On Windows press Win+Shift+S, drag around the barcode, then press Ctrl+V on this page. On a Mac press Cmd+Ctrl+Shift+4, drag around it, then press Cmd+V. Nothing is uploaded.
3. Drop in an image or PDF
For scanned documents and photos sent from a phone, drag the file onto the page. Multi-page PDFs are read page by page, and every barcode on every page is listed.
Browser and system support
| System | Browsers | Notes |
|---|---|---|
| Windows 10 and 11 | Chrome, Edge, Firefox | Allow camera access in Windows privacy settings if the preview stays black. |
| macOS | Safari, Chrome, Firefox, Edge | macOS asks once per browser for camera permission. |
| ChromeOS | Chrome | Works on school and work Chromebooks unless the camera is disabled by policy. |
| Linux | Chrome, Firefox | Any webcam that shows up as a video device. |
Webcam or USB barcode scanner?
If you scan every day, buy a USB handheld scanner. They are cheap, and they type the code straight into whatever window has focus, which no web page can do. A webcam scanner makes sense when you scan now and then, when you need to read 2D codes that a basic laser scanner cannot, or when you want the product lookup and Excel export that come with this page.
On a phone? The same tool runs at the main online barcode scanner, and how to scan a barcode covers iPhone and Android step by step.
FAQ
Barcode scanner for PC: questions and answers
Can I scan a barcode with my laptop camera?
Yes. Press Start camera, allow access when the browser asks, and hold the barcode 20 to 25 cm from the webcam. It works with built-in laptop cameras and USB webcams, in Chrome, Edge, Firefox and Safari.
Is there a free barcode scanner for PC with no download?
This page. It runs in the browser, so there is no installer, no driver and no admin rights needed, which helps on a locked-down work laptop. If you want a desktop icon, choose Install app from the browser menu and it opens in its own window.
Why does my webcam struggle with small barcodes?
Most laptop webcams have fixed focus set for a face at arm’s length, so anything closer than about 20 cm is blurred. Hold the barcode further back and let it fill less of the picture. If it is still unreadable, photograph it with your phone and upload the image, or use an external webcam with autofocus.
Can it type the barcode into another program like a USB scanner does?
No. A web page cannot send keystrokes to other applications. Use the Copy button and paste the value where you need it, or collect scans in Batch mode and export them to Excel or CSV in one go.
The camera will not start on my PC. What should I check?
Click the camera or lock icon in the address bar and set Camera to Allow. Close other programs that may be holding the camera, such as Teams or Zoom. On Windows, open Settings, Privacy and security, Camera and make sure your browser is allowed. Some laptops also have a physical shutter or a function key that switches the camera off.
Same engine, different job
More barcode tools
- Scanner
Online barcode scanner
Camera, image, PDF and batch scanning for every common barcode.
- Scanner
QR code scanner
Scan QR codes from your camera, a photo or a screenshot.
- Scanner
UPC scanner
Read UPC-A and UPC-E codes and see the product behind them.
- Scanner
ISBN scanner
Scan a book barcode and get the title, author and cover.
- Scanner
PDF417 scanner
Decode driver’s license and boarding pass barcodes into fields.
- Scanner
Data Matrix scanner
Decode Data Matrix codes and parse GS1 and UDI data.
- Scanner
Code 128 reader
Read Code 128 and GS1-128 shipping and logistics labels.
- Scanner
Barcode decoder
See raw data, symbology, check digits and GS1 fields.
- Lookup
Barcode lookup
Type or scan a barcode number and find the product.
- Lookup
UPC lookup
Look up a 12-digit UPC and validate its check digit.
- Lookup
EAN lookup
Look up an EAN-13 and see its GS1 country prefix.
- Create
Barcode generator
Make UPC, EAN, Code 128, QR and more as PNG or SVG.