Barcode Generator
Free online barcode generator. Supports Code 128, Code 39, EAN-13, UPC, ITF, and more. Download as PNG or SVG. 100% browser-based.
Most common — any text
📊 What This Tool Does
Generate 1D barcodes in 9 different formats — including Code 128, Code 39, EAN-13, UPC-A, and more. Download as scalable SVG or high-res PNG. The barcode is generated entirely in your browser using the JsBarcode library.
📋 Format Guide
❓ FAQ
What barcode formats does this support?
Code 128 (most common 1D barcode for general use), Code 39, EAN-13 (13-digit European Article Number, used on consumer products worldwide), EAN-8 (8-digit compact version), UPC-A (12-digit North American standard), UPC-E (compressed UPC), ITF (Interleaved 2 of 5), MSI, and Pharmacode.
Which barcode format should I use?
Code 128 for general-purpose use (any text, short and efficient). EAN-13 or UPC-A for retail products (must be registered with GS1). Code 39 for logistics and inventory with only A-Z, 0-9, and some symbols. ITF for shipping cartons with numeric-only data.
Is my barcode data private?
Yes. The barcode is generated entirely in your browser using the JsBarcode library. Your data is never sent to any server — you can disconnect from the internet after the page loads and it still works.
Can I download the barcode?
Yes. Download as PNG (raster, good for printing and documents) or SVG (vector, infinitely scalable, best for design software and web use). Both are generated client-side and ready to use.
Why does my EAN-13 fail to generate?
EAN-13 requires exactly 13 digits (or 12 — the 13th is a check digit that gets calculated automatically). UPC-A needs exactly 12 digits. EAN-8 needs 8. Any other input is invalid. Try Code 128 if you want a format that accepts any text.
Can I print these barcodes for commercial use?
Yes, the barcode images are yours to use freely. However, if you plan to use EAN-13 or UPC-A on retail products, you must register your company with GS1 to get legitimate product codes. Random made-up EANs will not scan at point-of-sale.