Free Tools

How to Generate Barcodes Online for Free (For Products, Stock and Labels)

By Asad Ali ·

You can generate a barcode online for free in under a minute: choose the barcode type, type the number or code, and download a scannable image for your label. This guide explains which type to pick — Code 128 for internal stock, EAN/UPC for retail — and the print rules that make barcodes scan first time.

10 min readLast updated

How to generate barcodes online for free for products, stock and labels

You can generate a barcode online for free in under a minute: open the Barcode Generator, choose a barcode type, enter your code, and download the image ready for a label or document. No software to install and no design skills — the precision work of calculating bar widths and check digits is done for you.

The part that needs your judgement is everything around the generator: which barcode standard to use, what number you are legally entitled to put in it, and how to print it so scanners actually read it. A barcode that does not scan is worse than none — it slows the till or the stock check it was meant to speed up. This guide covers those decisions in order.

Just need the barcode? Open the free Barcode Generator — choose a type, enter your code and download a print-ready barcode in under a minute.

Generate a Barcode in 3 Steps

  1. Open the generator. Go to the Barcode Generator in your browser.
  2. Choose the type and enter your code. Code 128 for internal labels (it accepts letters and numbers); EAN-13 or UPC for retail products, using your assigned product number — see the section below before inventing one.
  3. Download, print and test. Print at final label size and scan the printed barcode with a phone app before producing a batch. Testing one label costs a minute; reprinting a batch costs real money.

Which Barcode Type Should You Choose?

Barcode types (symbologies) differ in what they can encode and who accepts them. Code 128 is the flexible all-rounder for internal use — stock bins, asset tags, order paperwork — encoding letters, numbers and symbols densely. EAN-13 is the retail standard outside North America: 13 digits, used on products sold in shops across Europe, Asia and most of the world. UPC-A is its 12-digit North American counterpart. Code 39 is an older, simple standard still found in some industrial and library systems.

Just as important is what a barcode is not: it is not a QR code. Barcodes store a short identifier in one dimension; QR codes store much more — URLs, Wi-Fi credentials, menus — in two. For anything a customer should scan with a phone to open a link, use a QR code instead; our guide to creating QR codes online covers that job. The table below summarises the choice.

TypeEncodesUse it for
Code 128Letters, numbers, symbolsInternal stock, assets, paperwork
EAN-1313 digitsRetail products outside North America
UPC-A12 digitsRetail products in the USA and Canada
Code 39Uppercase, numbers, a few symbolsLegacy industrial and library systems
QR code (not a barcode)URLs and longer dataCustomer-facing links, menus, payments

What a barcode can hold: typical data capacity by type (characters, indicative) — hover or tap each bar for details.

EAN-13EAN-13: 1313UPC-AUPC-A: 1212Code 128Code 128: 40+40+QR codeQR code: 100s100s

The Number Question: You Cannot Just Invent a Retail Barcode

If you are asking how to get a barcode for a product you plan to sell, start here — because this is the mistake that costs businesses real money. The digits in an EAN or UPC are not random — they are assigned through GS1, the global standards body, which licenses each company a prefix so every product number is unique worldwide. Retailers and marketplaces check these numbers; a made-up EAN on a product listing or a shop shipment can be rejected outright.

For internal use, none of that applies: your stockroom codes are yours to invent, so Code 128 labels with your own numbering (SKU-0001 and up) are perfectly legitimate. The rule is simple — barcodes that leave your business and enter retail systems need GS1-assigned numbers; barcodes that stay inside it do not.

The Check Digit: The Last Number Is Not Yours to Choose

In EAN-13 and UPC, the final digit is a check digit — it is calculated from the other digits with a fixed weighting formula, so that a scanner (or a shop's system) can instantly tell whether the number was read or typed correctly. A widely used teaching example makes this concrete: the twelve digits 590123412345 produce a check digit of 7, completing the valid EAN 5901234123457. Change any digit — or get the check digit wrong — and the symbol is invalid, however perfect it looks printed.

Two practical consequences. If you license numbers from GS1, the check digit arrives as part of the assigned number; never retype it from memory. And when a barcode you generated "does not work" in a shop's system despite scanning cleanly, a check-digit mismatch is the first suspect — re-enter the full number digit by digit rather than adjusting the graphic. This is also why the generator step insists you use your assigned product number exactly as issued.

Print Rules That Make Barcodes Scan First Time

Scanners read contrast and proportions, not the image as a picture. Keep bars black (or very dark) on white or a light background — never reverse a barcode to white-on-dark unless your scanner is specified for it, and never print bars in red, which many scanners literally cannot see. Respect the quiet zone: the blank margin around the barcode is part of the symbol, so a label design that crowds it with borders or text causes failures.

Size matters too: shrinking a barcode below its standard minimum to fit a small label is the classic cause of till-side frustration. If space is tight, shorten the data (a short internal code instead of a long one) rather than squeezing the symbol. Finally, print quality: a fuzzy inkjet edge reads worse than a crisp one, so for production labels use the highest print quality setting and test-scan from the actual printer.

Worked Example: Labelling a Small Stockroom Shelf Run

A home-goods seller outgrows handwritten shelf labels. The fix takes one afternoon and two label types, both Code 128. Location labels go on the shelving itself, one per shelf section, encoding a position code the seller invents: AISLE-BAY-LEVEL, so A2-B07-L1 is aisle 2, bay 7, level 1. Product labels go on bins and boxes, encoding the product's SKU from the store system — SKU-0143 and up — with the product name printed as readable text beneath.

Picking then becomes a two-scan job: scan the bin's location label, scan the product, and a mismatch between what the paperwork expects and what was scanned surfaces immediately instead of at the customer's door. Nothing here needs GS1 or anyone's permission — the codes never leave the building. When the same seller later lists a product with a retailer, that product gets its licensed EAN as a separate, additional label, rather than the internal code being promoted into a job it was never assigned.

Barcodes for Small Online Sellers

If you sell through your own online store, barcodes still earn their keep behind the scenes: pick-and-pack checks, returns handling and stock counts all speed up once each product and bin location carries a scannable code. Pair the barcode with the human-readable product name and SKU printed as text under it, so staff can work even when a scanner is unavailable. Our WooCommerce product upload template in the shop is built for organising exactly this product data — SKUs included — before it reaches your store, and more utilities are on the free tools page.

Five Barcode Mistakes That Waste Labels

  1. Inventing an EAN for a retail product. It may scan beautifully and still be rejected by the retailer or marketplace, because the number belongs to someone else — or to nobody. License the number first.
  2. Printing bars in colour, or reversed. Red bars are invisible to many scanners and white-on-dark reversals fail unless the scanner is specified for them. Black on white is boring and works.
  3. Shrinking the symbol to fit the label. Below the standard minimum, scanners guess. Shorten the encoded data instead — a short internal code beats a squeezed long one.
  4. Crowding the quiet zone. Borders, logos and text touching the barcode's blank margins break scans as surely as bad bars. The empty space is part of the symbol.
  5. Printing the batch before test-scanning one. Generate, print one at final size on the real printer, scan it with a phone. The batch only prints after that label passes.

Setting up product data for a new store? The Asad Webs blog covers store costs, platforms and product workflows for small sellers in the USA, UAE, Saudi Arabia and Spain.

Labelling products for a shop or warehouse? Barcodes work best when the store system behind them is set up properly. Book a free consultation — we build online stores with product data, SKUs and labelling workflows done right.

Frequently Asked Questions

Is the barcode generator free?

Yes. The Barcode Generator is free and runs in your browser — enter a code, choose the type, and download the image.

How to get a barcode?

For a product you will sell in shops or on marketplaces, you get a barcode by licensing a company prefix and product numbers from GS1, the global standards body — the section above explains why those assigned numbers are the only ones retailers and marketplaces accept. For labels that stay inside your own business, no licence is needed: invent your own codes and generate Code 128 barcodes free with the Barcode Generator. What you cannot do is invent an EAN or UPC for retail — those numbers are verified, and made-up ones get rejected.

Can I make up my own EAN barcode number?

Not for retail. EAN and UPC numbers are assigned by GS1 so they are globally unique, and retailers verify them. For internal stock labels, invent your own codes freely with Code 128.

Why won't my printed barcode scan?

The usual causes are low contrast (coloured or reversed bars), a missing quiet-zone margin, printing below the minimum size, or a fuzzy print. Reprint black-on-white at standard size and test again.

What is the difference between a barcode and a QR code?

A barcode stores a short ID in parallel lines and is read by scanners at tills and in warehouses. A QR code stores much more — including URLs — and is designed for phone cameras.

What size should I print a barcode?

Keep retail barcodes at their standard size or larger, and never shrink below roughly 80% of standard. For internal labels, test-scan a sample at your intended size before printing a batch.

Can I print barcodes on a normal home or office printer?

Yes, for internal labels — a laser printer at its highest quality setting produces crisp bars that scan well. For product packaging sold in shops, use the printer's best settings, keep the symbol at standard size, and test-scan a proof; high-volume packaging usually goes to a professional printer who works with barcodes daily.

How do I add a barcode to my product packaging?

License the product number from GS1 first, then generate the barcode from that full number (check digit included) at its standard size. Give your designer the generated image with clear instructions: do not stretch, recolour or crop it, and keep the quiet zone empty. Proof the printed packaging with a scanner or phone app before the full print run.

Category: Free Tools

Tags: barcode generator · barcode · product labels · free tools · inventory

About Asad Webs

Asad Ali is a graphics designer with 20+ years of experience (working since 2003), based in Pakistan. He runs Asad Webs and writes its articles.

KEEP READING

Next guide

How to Check If a PDF Is Valid or Corrupted Online for Free →

Related articles

Join the conversation

No account needed. Comments appear only after approval. Your email address will not be published.

Be the first to share a useful question or thought.

You won’t be subscribed to any mailing list.
WELCOME BACK

Sign in

Access your orders, saved products and account.