Barcode Generator

Create Code 128, EAN-13, UPC-A and Code 39 barcodes in bulk. Download PNG or SVG, or print them as labels. Everything runs in your browser.

Barcodes are generated in your browser. Your data is never uploaded. For retail EAN/UPC codes, use numbers issued by GS1 for your products.

Free online barcode generator for labels, inventory and products

Create Code 128, EAN-13, UPC-A and Code 39 barcodes in seconds. Paste a list of values, preview every barcode instantly, then download PNG or SVG files or print them as labels. Everything runs in your browser, so your data stays on your device.

How to use the barcode generator

  1. Type or paste your values, one per line.
  2. Choose the barcode type: Code 128, EAN-13, UPC-A or Code 39.
  3. Adjust the bar width and height if needed. Invalid lines are marked with the reason.
  4. Download a single PNG or SVG, download everything as a ZIP, or click Print labels.

Which barcode type should I choose?

Type Best for Accepts
Code 128 Shipping, warehouse, inventory and asset labels Letters, digits and symbols (ASCII)
EAN-13 Retail products outside North America 12 digits plus a check digit
UPC-A Retail products in the US and Canada 11 digits plus a check digit
Code 39 Industrial and asset tags Capital letters, digits and - . $ / + % space

Tips for barcodes that scan the first time

  • Use black bars on a white background. Avoid colours, gradients and low-contrast labels.
  • Keep the blank margin on both sides. The generator adds it for you, so do not crop it off.
  • Do not stretch the image. Resize SVG files proportionally.
  • Print at high resolution and test with your real scanner before printing a full batch.

Barcodes for scanners and handheld devices

Working with barcode scanners, mobile computers or portable label printers? Browse our replacement batteries for barcode scanners and handhelds, including Zebra, Symbol, Honeywell and Intermec, or portable printer batteries.

Barcode generator FAQ

Is this barcode generator free?

Yes. It is completely free, with no sign-up, no watermark and no limit on downloads.

Are my barcode values uploaded to a server?

No. Every barcode is generated locally in your browser. Your values and images never leave your device.

What is the difference between Code 128, EAN-13, UPC-A and Code 39?

Code 128 is a compact code for letters, digits and symbols, widely used for shipping, warehouse and asset labels. EAN-13 and UPC-A are numeric retail product codes (EAN-13 is common outside North America, UPC-A in the US and Canada). Code 39 is an older code for capital letters, digits and a few symbols, still found on industrial and asset tags.

Do I need to type the check digit for EAN-13 or UPC-A?

No. Enter 12 digits for EAN-13 or 11 digits for UPC-A and the check digit is added automatically. If you enter the full 13 or 12 digits, the check digit is verified and you will see an error if it is wrong.

Can I use these EAN or UPC codes to sell products in stores?

Only if the numbers were issued to you by GS1, the organisation that manages retail product numbers. This tool draws the barcode but does not register numbers, and made-up numbers can clash with real products.

How many barcodes can I create at once?

Put one value on each line, up to 500 lines. You can download each barcode as PNG or SVG, or download all of them in one ZIP file.

Should I download PNG or SVG?

Use SVG for printing and resizing, because it stays sharp at any size. Use PNG for documents, spreadsheets and web pages.

Why won't my barcode scan?

Check that the barcode is black on a white background, large enough, and printed sharply with empty space on both sides. Do not stretch or crop it. Also make sure your scanner has that barcode type enabled, then test a printed copy rather than only the screen.

Does it make QR codes?

No. This tool creates linear (1D) barcodes only. QR codes are not supported.