---
title: "Scan Barcodes to Excel – Free Phone & Webcam Scanner"
description: "Free tool to scan barcodes to Excel. Batch scan with your phone, webcam or USB scanner, count quantities, and download a real .xlsx that keeps leading zeros."
url: https://barcodejar.com/scan-barcodes-to-excel
source: BarcodeJar (free barcode tools)
---

# Scan Barcodes to Excel

Scan a pile of barcodes with your phone, webcam or USB scanner and download them as a real Excel file: one row per code with format, quantity and scan time. Codes are saved as text, so leading zeros and long numbers come through intact.

_Interactive tool: open https://barcodejar.com/scan-barcodes-to-excel to use it in your browser. It is free with no sign-up._

## How to scan barcodes to Excel

1.  Tap **Start camera** (Batch mode is already on), or click the type box to use a USB scanner.
2.  Scan each item. Duplicates merge into one row; tick “Count repeat scans as quantity” to count units.
3.  Fix quantities with the + and − buttons, and remove mistakes with ✕.
4.  Click **Download Excel (.xlsx)** and open the file in Excel, Numbers or LibreOffice.

**Quick answer:** scan in Batch mode, then download the .xlsx. Each barcode becomes a row with columns for the code, the barcode type, the quantity and when it was first and last scanned.

## What’s in the Excel file

| Column | Example | Stored as |
| --- | --- | --- |
| code | 012345000058 | Text, so leading zeros stay |
| format | UPC-A | Text |
| quantity | 3 | Number, ready for SUM |
| first\_scanned | 2026-11-26 14:02:11 | Text, your local time |
| last\_scanned | 2026-11-26 14:05:47 | Text, your local time |

The header row is bold and frozen, and the columns are sized to fit. The same columns are used for the CSV download and for **Copy for Sheets / Excel**, which puts a tab-separated table on the clipboard to paste into an open workbook.

## Why not just CSV?

Barcodes look like numbers but aren’t. When Excel opens a CSV it converts `012345000058` to `12345000058`, shows 13-digit EANs as `9.52012E+12`, and rounds anything over 15 digits. A product list with dropped zeros won’t match your supplier’s catalogue or your point-of-sale system. Writing a genuine .xlsx with text cells sidesteps all of that.

## Matching scans to your product list

Put the scans on one sheet and your catalogue on another, then pull in names and prices with `=XLOOKUP(A2, Products!A:A, Products!B:B, "not found")` (or `VLOOKUP` in older Excel). Both sides must be text for the match to work, which is another reason to keep codes as text. To total quantities per code across several exports, use a PivotTable or `SUMIF`.

## Scanning straight into Excel with a USB scanner

If you have a keyboard-wedge USB scanner, you can skip this page: format column A as Text, click A2 and scan. The scanner types the code and presses Enter, moving to the next row. This page is handier when you’re away from the computer, counting with a phone, or want quantities merged automatically. Not sure your scanner is set up right? Run the [barcode scanner test](https://barcodejar.com/usb-barcode-scanner-test).

Prefer Google Sheets? See [scan barcodes to Google Sheets](https://barcodejar.com/scan-barcodes-to-google-sheets). Need to go the other way and turn a spreadsheet into barcodes? Use the [bulk barcode generator](https://barcodejar.com/bulk-barcode-generator).

## Frequently asked questions

### How do I scan barcodes into Excel?

Scan the items with your phone or webcam in Batch mode above (or type and USB-scan into the box), then click **Download Excel (.xlsx)**. You get one row per code with its format, quantity and scan times. With a USB scanner you can also scan straight into Excel: click a cell, scan, and Enter moves to the next row.

### Why does Excel remove the leading zeros from my barcodes?

Excel treats a cell like 012345000058 as a number and drops the zero. The .xlsx file from this page stores each code as text, so the zeros stay. If you scan directly into Excel, select the column first and set Format Cells › Text.

### Why do my barcodes show as 9.52012E+12 in Excel?

Long numbers in a General-format cell are displayed in scientific notation, and Excel only keeps 15 significant digits, so 18 to 20 digit codes like SSCCs lose their last digits. Text cells avoid both problems; the .xlsx download already uses them.

### Is CSV or Excel better?

Excel (.xlsx) if you’ll open the file in Excel or Numbers, because the code column stays as text. CSV is better for importing into other software, but opening a CSV by double-clicking it in Excel will strip leading zeros unless you import it with Data › From Text/CSV and set the column to Text.

### Can I count quantities?

Yes. Tick **Count repeat scans as quantity**, or use the + and − buttons next to each row. The quantity column is a number in Excel, so you can total it with SUM.

### Will I lose my list if I close the page?

No. The list is saved in this browser on this device until you click Clear. It isn’t uploaded anywhere, so export it before switching devices.

### Can I use a USB barcode scanner with this page?

Yes. Click the “Type a code, or scan with a USB scanner” box and scan. Each scan is added to the same list as camera scans.

## Related free tools

[**Scan Barcodes to Google Sheets**Batch scan and paste a ready-made table into Sheets.](https://barcodejar.com/scan-barcodes-to-google-sheets)[**Inventory Scanner**Count stock with your phone: scan, count, export.](https://barcodejar.com/inventory-scanner)[**Barcode Scanner Test**Test a USB or Bluetooth scanner and diagnose setup problems.](https://barcodejar.com/usb-barcode-scanner-test)[**Barcode Scanner for PC**Scan with a webcam on Windows or Chromebook, or test a USB scanner.](https://barcodejar.com/barcode-scanner-for-pc)[**Bulk Barcode Generator**Paste a list or CSV, download hundreds as ZIP or PDF.](https://barcodejar.com/bulk-barcode-generator)[**Free Barcode API**Barcode images by URL for img tags, Google Sheets and Excel.](https://barcodejar.com/barcode-api)[**Online Barcode Scanner**Scan any barcode with your phone or webcam camera.](https://barcodejar.com/barcode-scanner)
