Free · No sign-up · Runs in your browser

Free Barcode Generator for UPC, EAN & Code 128

Create scannable barcodes in seconds. This barcode generator adds the check digit for you, previews every change live and exports sharp SVG or PNG files for labels, packaging and inventory.

  • 6 barcode formats
  • Automatic check digit
  • SVG & PNG download
  • Bulk mode and print sheets
1. Barcode type

Letters, numbers and symbols from a standard keyboard, up to 80 characters.

3. Size and colors
2 px
90 px
10×
16 px

Live preview

Your barcode preview will appear here.

Why it is different

Why this barcode generator beats the usual tools

Most free barcode sites send every request to a server, show one format per page and hide exports behind forms. This one is built for speed, accuracy and print quality.

Instant live preview

Every keystroke redraws the barcode in your browser. There is no generate button to press and no page reload between codes.

Check digits done right

GS1 Mod 10 for EAN, UPC and ITF-14, plus optional Mod 43 for Code 39. A wrong check digit is flagged and fixed before you print.

Print-ready output

Download vector SVG that stays crisp at any size, or PNG at up to 4× resolution for 300 dpi labels and documents.

Bulk mode built in

Paste up to 300 values at once. Print them as a label sheet or export a CSV with every full code and check digit.

Private by design

Your product numbers never leave your device. Nothing is uploaded, logged or stored, so it is safe for unreleased SKUs.

Scanner-safe styling

Quiet zones are kept, guard bars are drawn to spec, and you get a warning if your colors are too low in contrast to scan.

How to use

How to create a barcode online in 4 steps

You can make a barcode for a product, shelf label or shipping box in under a minute.

  1. Choose a barcode type

    Pick Code 128 for general labels, EAN-13 or UPC-A for retail products, or ITF-14 for shipping cartons.

  2. Enter your data

    Type or paste your value. The preview updates instantly and any check digit is added for you.

  3. Adjust size and colors

    Set bar width, height, quiet zone and label size. Keep dark bars on a light background for reliable scans.

  4. Download or print

    Save SVG for print, PNG for documents and websites, or print directly. Test one label with your scanner first.

Formats

Which barcode type should you use?

The right symbology depends on where the barcode will be scanned. Use this table to match the format to the job.

FormatCharactersLengthBest for
Code 128Letters, digits and symbolsVariableInventory, SKUs, asset tags and shipping labels
EAN-13Digits only13 (12 + check)Retail products worldwide, including books (ISBN)
UPC-ADigits only12 (11 + check)Retail products in the US and Canada
EAN-8Digits only8 (7 + check)Small packs with little label space
Code 39A to Z, 0 to 9 and 7 symbolsVariableIndustrial parts, ID badges and older systems
ITF-14Digits only14 (13 + check)Outer cases and cartons in warehouses

Code 128 vs Code 39

Code 128 encodes the full keyboard character set and switches to a compact numeric mode for long runs of digits. As a result, it produces a much shorter barcode than Code 39 for the same data. Choose Code 39 only when an older scanner or a customer specification requires it.

EAN, UPC and ITF-14 explained

EAN-13, UPC-A, EAN-8 and ITF-14 all carry a GTIN, the global product number managed by GS1. EAN and UPC go on the item a shopper buys. ITF-14 goes on the outer carton, and it prints well on corrugated cardboard.

Benefits

Benefits of using an online barcode maker

For small businesses, sellers and warehouse teams, a browser tool removes the cost and setup of label software.

  • Save money. Skip paid label software for everyday barcode jobs.
  • Work faster. No forms, no uploads and no waiting between barcodes.
  • Avoid costly reprints. Format checks and automatic check digits catch typos before anything is printed.
  • Use any device. It works on phones, tablets and desktops, even if your connection drops after the page loads.
  • Keep labels consistent. The same size settings apply to every barcode in a bulk batch.

How the check digit is calculated

Starting from the right, multiply the digits by 3 and 1 in turn, add the results, then find the number that brings the total up to the next multiple of 10.

Data: 590123412345

Weighted sum from the right = 83

Next multiple of 10 = 90

Check digit = 90 − 83 = 7

Full EAN-13: 5901234123457

Tips for barcodes that scan first time

  • Print dark bars on a white or light background. Red and yellow bars are hard for laser scanners to read.
  • Keep the quiet zone, the blank margin on each side, free of text and graphics.
  • Resize SVG files freely, but never stretch a PNG unevenly. Uneven scaling changes bar widths.
  • For retail EAN and UPC codes, stay within 80% to 200% of the standard size.
  • Scan a test print with a phone or handheld scanner before a full print run.
FAQ

Barcode generator FAQs

Is this barcode generator free for commercial use?

Yes. The barcode generator is free with no sign-up, watermark or usage cap. The images you create are yours to use on products, labels and documents. Everything is drawn in your browser, so your data is never uploaded.

Can I use these barcodes to sell on Amazon or in retail stores?

The tool creates a valid, scannable UPC or EAN image for any number you enter. However, retailers and marketplaces require a GTIN licensed to your company by GS1. Get your number from GS1 in your country, such as GS1 India or GS1 US, then generate the barcode image here.

What is the difference between UPC-A and EAN-13?

UPC-A has 12 digits and is used mainly in the US and Canada. EAN-13 has 13 digits and is used worldwide. A UPC-A code is an EAN-13 code with a leading zero, and modern retail scanners read both.

Which barcode type is best for inventory or asset labels?

Use Code 128 for most internal labels. It encodes letters, numbers and symbols and packs data densely, so labels stay short. Choose Code 39 only when an older scanner or system requires it.

Do I need to enter the check digit?

No. For EAN-13, UPC-A, EAN-8 and ITF-14, type the number without its last digit and the check digit is calculated for you. If you enter the full number, the tool verifies the check digit and corrects it if it is wrong.

What size should a printed barcode be?

At 100% magnification, an EAN-13 or UPC-A barcode is about 37 mm wide and 26 mm tall, and GS1 allows 80% to 200% of that size. Always keep the blank quiet zones on both sides. For printing, download the SVG because it stays sharp at any size.

Can I generate barcodes in bulk?

Yes. Open the Bulk generator tab and paste up to 300 values, one per line. You get a grid of barcodes, a printable label sheet and a CSV that lists each full code with its check digit.

Can this tool create QR codes?

No. QR codes are 2D codes and need a different encoder. Use our free QR code generator for links, Wi-Fi details and contact cards.

Make your first barcode now

Pick a format, type your number and download a print-ready barcode in seconds. It is free, private and ready for retail, inventory and shipping.

Open the barcode generator
Scroll to Top