Barcode Generator
Generate scannable 1D/linear barcodes (Code128, EAN-13, UPC-A, ITF-14, GS1-128, Codabar, MSI, Pharmacode) with live preview, PNG/SVG/PDF export, bulk CSV batches, label sheets, and a camera scan-test — fully in-browser.
About Barcode Generator
Generate scannable 1D/linear barcodes (Code128, EAN-13, UPC-A, ITF-14, GS1-128, Codabar, MSI, Pharmacode) with live preview, PNG/SVG/PDF export, bulk CSV batches, label sheets, and a camera scan-test — fully in-browser. Everything runs locally in your browser — your data never leaves your device.
How to use
- Enter your input in the tool above.
- Adjust any options to your preference.
- Use the Copy or Download buttons to save the result.
- Everything happens locally — your data never leaves your browser.
FAQ
Which barcode formats does this tool support?
1D/linear: Code128 (with auto A/B/C subset switching), Code39, Code93, EAN-13, EAN-8, UPC-A, UPC-E, ITF-14, GS1-128 (with application-identifier helper), Codabar, MSI, Pharmacode. Bonus 2D formats: QR Code, DataMatrix, PDF417, Aztec. All powered by bwip-js.
Is anything uploaded to a server?
No. Rendering uses bwip-js entirely in your browser. The scan-test feature uses your device camera via getUserMedia and processes frames locally with @zxing/browser — no frame ever leaves your device. Works fully offline after first load.
Can I generate hundreds of barcodes in bulk?
Yes. Paste a CSV or upload a CSV file, pick a format, and click Generate. Batches larger than 100 barcodes run in a Web Worker so the UI stays responsive. You can download the result as a ZIP of PNG/SVG files, a print-ready label sheet (Avery 5160 / L7160 templates or a custom spec), or a manifest CSV with metadata for every barcode.
How does the scan-test feature work?
After generating a barcode, click Scan-test to open your camera. The tool decodes the on-screen or printed barcode using @zxing/browser and reports whether it is readable. The last 10 scan-test results are kept in a history panel. Camera access requires HTTPS — already the case on Cloudflare Pages.
Are checksums calculated automatically?
Yes. For EAN-13, EAN-8, UPC-A, UPC-E, ITF-14 and MSI the check digit is auto-computed and appended. If you type a value with the wrong length or wrong check digit the tool shows an inline error explaining the reason — it never renders a broken image.
Can I print labels on Avery / L7160 sheets?
Yes. Pick a built-in template (Avery 5160, Avery L7160, etc.) or define a custom label sheet (columns, rows, margins, label size, gaps). The tool produces a print-ready PDF with crop marks and a live print-preview modal showing the layout grid for A4, Letter or Legal paper.
What extras are included beyond the core feature set?
Ten bonus features: (1) 2D formats QR/DataMatrix/PDF417/Aztec, (2) bulk manifest CSV/JSON export, (3) print-preview modal with paper sizes + layout grid, (4) custom label-template library saved to localStorage, (5) copy-as-data-URI for HTML/email embedding, (6) sequence generator for product runs (start/step/count), (7) color-contrast checker that warns when colors won't scan, (8) symbology cheat-sheet tooltips, (9) quiet-zone auto-calculator per ISO/IEC, (10) scan-test history panel of last 10 codes.
Related tools
APNG Maker
Create Animated PNG (APNG) files from multiple PNG frames. Frame delay, loop count, optimization.
App Icon Generator
Generate iOS/Android app icons in all required sizes from one source. 100% private. 100% private.
App Icon Generator (iOS/Android)
Generate app icons for iOS and Android from a single source image. All required sizes in one click.