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.

No barcode handy? Tap a sample to scan it

Results

Nothing scanned yet. Decoded barcodes print out here like a receipt.

  1. Start the camera, drop in an image or PDF, or type the number.
  2. Read the value, the barcode type and, for products and books, what it is.
  3. 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

    SystemBrowsersNotes
    Windows 10 and 11Chrome, Edge, FirefoxAllow camera access in Windows privacy settings if the preview stays black.
    macOSSafari, Chrome, Firefox, EdgemacOS asks once per browser for camera permission.
    ChromeOSChromeWorks on school and work Chromebooks unless the camera is disabled by policy.
    LinuxChrome, FirefoxAny 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.