Privatool

Barcode Generator Online Free — Code 128, EAN-13, UPC, QR Code

Generate professional barcodes in all major formats — Code 128, EAN-13, EAN-8, UPC-A, UPC-E, Code 39, ITF-14, and MSI. Customize bar width, height, colors, and margins. Download as SVG for print or PNG for digital use. All processing in your browser — no upload required.

100% private. All barcode generation runs locally in your browser. No data is uploaded or collected.

Loading barcode generator…

Frequently Asked Questions

What barcode format should I use?

Code 128 is the most versatile — use it for general-purpose barcodes (logistics, inventory, ID cards) that can contain any text or numbers. EAN-13 and UPC-A are required for retail products sold in stores. EAN-8 and UPC-E are compact versions for small packages. Code 39 is used in older industrial systems and supports uppercase letters. ITF-14 is for shipping cartons.

What is a check digit and how is it calculated?

A check digit is the final digit of an EAN-13, EAN-8, UPC-A, or ITF-14 barcode, calculated mathematically from the other digits. It allows scanners to verify the barcode was scanned correctly. This tool auto-calculates the check digit — just enter the required number of input digits (12 for EAN-13, 11 for UPC-A, 7 for EAN-8) and the check digit is appended automatically.

What is the difference between SVG and PNG download?

SVG (Scalable Vector Graphics) is resolution-independent — it prints at any size without pixelation. Use SVG for packaging, print materials, or anywhere you need a crisp, scalable barcode. PNG is a raster image at fixed resolution. Use PNG for websites, digital documents, and online display. For professional printing, always prefer SVG.

Can I use these barcodes for retail products?

The barcode format (EAN-13, UPC-A) is correct for retail, but the numbers inside must be officially registered with GS1 (the global barcode authority). You cannot use random numbers for retail products — you need a valid GS1 Company Prefix. This tool is suitable for internal inventory, prototypes, personal use, and testing. For commercial retail barcodes, register at gs1.org.

Why does my EAN-13 barcode show an error?

EAN-13 requires exactly 12 input digits (the 13th is the check digit, auto-calculated). Make sure you have entered exactly 12 numeric digits. Leading zeros are significant — for example, most European barcodes start with a country code (978 for books, 500-509 for UK products, etc.). Common errors: entering 13 digits instead of 12, including letters, or using a country code that starts the sequence incorrectly.

What width and height settings should I use for printing?

For most uses, width 2 and height 100px produces a standard barcode. For labels that will be laser-printed at small sizes, increase the width to 3 for better scanner reliability. The minimum readable height for retail barcodes is typically 69% of the symbol width. Always test-scan barcodes before printing in bulk.

Share

Related Tools

Related guides