A barcode generator creates machine-readable barcodes for retail, shipping, inventory, and logistics. Generate Code128, Code39, Code93, ITF-14, Codabar, UPC-A, EAN-13, and EAN-8 barcodes instantly — download as SVG or PNG, batch generate from CSV, and scan with your camera to verify.
How to Use the Barcode Generator
This professional barcode generator supports all major barcode formats used in retail, shipping, healthcare, and inventory management. All processing happens in your browser — no data is sent to any server.
Choosing the Right Barcode Format
Use Code128 for general-purpose alphanumeric barcodes — it's the most versatile format for shipping labels and inventory. Use UPC-A for US retail products (enter 11 digits and the check digit is added automatically). Use EAN-13 for international products. Use Code39 or Code93 for industrial and healthcare applications. Use ITF-14 for outer carton shipping labels. Use Codabar for libraries and blood banks.
Customizing Your Barcode
Adjust bar width (1–5) to match your printer resolution. Set height (40–200px) based on your label size — wider labels benefit from taller barcodes. Choose bar and background colors for branded labels. Set text position to top, bottom, or none depending on your design requirements. Font size controls the human-readable number below the bars.
Batch Generation from CSV
For bulk label printing, upload a CSV file or paste values (one per line) in the batch section. Select the format and click "Generate Batch." Each barcode can be downloaded individually as SVG or you can download them all at once. Ideal for generating product labels, asset tags, or shipping labels in bulk.
Scanning and Verification
After generating a barcode, verify it actually scans correctly using the built-in camera scanner. Click "Scan Barcode" to open your camera viewfinder — the scanner detects barcodes automatically. If camera access is unavailable, upload an image of the printed barcode. A green badge confirms the decoded value matches your input.
FAQ
What barcode formats does this generator support?
This tool supports 8 barcode formats: Code128 (general-purpose alphanumeric), Code39 (uppercase + digits), Code93 (alphanumeric with higher density), ITF-14 (retail shipping cartons), Codabar (libraries and blood banks), UPC-A (US retail), EAN-13 (international retail), and EAN-8 (small packages).
Why does Code93 use a different rendering engine?
JsBarcode, the primary barcode library, does not support Code93. This tool uses bwip-js specifically for Code93 to ensure accurate rendering. The output is a PNG via canvas instead of an SVG file, but download and print functions still work correctly.
Are check digits calculated automatically?
Yes. For UPC-A enter 11 digits, EAN-13 enter 12 digits, and EAN-8 enter 7 digits — the tool calculates and appends the check digit automatically. ITF-14 also handles check digit calculation.
Can I generate multiple barcodes at once?
Yes. Use the Batch Generate section — paste values (one per line) or upload a CSV file. All barcodes render instantly and can be downloaded individually or in bulk.
How does the camera scanner work?
Click 'Scan Barcode' to open your device camera. The scanner detects barcodes automatically using the html5-qrcode library. If camera access is unavailable, upload an image of the barcode instead. Detection works for linear barcodes (Code128, EAN, UPC, etc.) and QR codes.
Is this barcode generator free?
Yes, completely free with no signup required. All processing happens in your browser — no data is sent to any server.
What file formats can I download barcodes in?
Download as SVG (scalable vector, prints at any size without pixelation) or PNG (raster image, works in any document or design tool). Code93 barcodes export as PNG only due to canvas rendering.
What is the difference between Code128 and Code39?
Code128 is more compact and supports the full ASCII character set, making it ideal for variable-length alphanumeric data. Code39 is simpler and older — it only supports uppercase letters, digits, and a few special characters, but is widely supported in industrial environments.