Barcode Generator
Make a print-quality barcode in seconds — Code 128 for your own SKUs, EAN-13 and UPC-A for retail products, Code 39 and ITF-14 for the warehouse. Check digits are calculated and verified for you, downloads are clean PNG and SVG files, and there is no sign-up, no watermark and no upload: the code is drawn on your own device.
Test before you print a run: scan the downloaded PNG with a free barcode-scanner app on your phone and check it reads back exactly WIDGET-001. Keep the white space around the bars — scanners need that quiet zone.
How to make a barcode
- Pick the type. Code 128 for anything internal; EAN-13 / UPC-A only with a number from your GS1 prefix.
- Type the value. For EAN-13 you can enter 12 digits and let the tool add the check digit, or paste the full 13 and let it verify.
- Set the size. Scale 3+ and about 15 mm bar height covers most product and shelf labels; taller bars scan more forgivingly.
- Download the PNG or SVG. SVG is the sharper choice if the barcode is going into a design or straight onto packaging.
- Scan-test it. Point a free scanner app at the file on screen or a test print and confirm it reads back the exact number.
Worked example
A candle maker sells through her own website and a Saturday market, and
keeps stock in labelled bins at home. She does not need retail barcodes —
she needs her till app and her stock list to agree. She chooses Code 128,
types her SKU CND-SOY-SM, downloads the PNG at scale 4, and
prints it onto the bin label and the product's base sticker. A month
later she registers a GS1 prefix for a shop consignment, gets her first
EAN block, and comes back to this page: she types the first 12 digits of
a number, 590123412345, and the generator appends the check
digit 7 and prints 5901234123457 — which she verifies by
scanning it with her phone before the labels go to the printer.
Choosing a symbology without the jargon headache
Every barcode type — symbology, in the trade's word — is a bargain between what it can encode and who agrees to read it. Code 128 is the general-purpose workhorse: the full ASCII set in a compact pattern, readable by every scanner and app, and completely unregulated. If the code only has to work inside your business — SKUs, bin locations, asset tags, loyalty cards, return labels — it is almost always the right answer, and it is the only type on this page you can invent values for freely. Code 39 is its older, simpler cousin: uppercase letters, digits and a few symbols, very tolerant of battered print, which is why warehouses and the military still use it.
EAN-13 and UPC-A are the same system wearing regional clothes — a UPC-A is an EAN-13 with a leading zero, and modern tills read both. These are not really a print format so much as a licensing scheme with a print format attached: the number identifies your company and product in a global registry run by GS1. That registry is what lets any shop on earth scan your product and find its name and price. It is also why the numbers cannot be improvised. ITF-14 completes the family: the same product number, in a tougher, larger pattern designed to print directly onto corrugated cardboard cartons.
Whichever type you print, three physical rules decide whether it scans. Contrast: black bars on white is the standard for a reason; red bars are invisible to red-light scanners, and bars printed over photos or dark packaging fail in proportion to how clever the design looked. Quiet zones: the blank space either side of the pattern is part of the code — let a label edge, a fold or another graphic eat into it and reads become unreliable. Size: every symbology has a comfortable range, and below it the bars merge under real-world printing. Keep to the ranges in the FAQ, print one test, and scan it with the cheapest device you own: if that reads it, everything will.
Related tools
- Bulk Barcode Generator — a barcode for every row of your CSV, with bad rows reported instead of breaking the batch.
- Label Maker — put these barcodes onto print-accurate Avery and thermal label sheets.
- Bulk QR Code Generator — the same CSV workflow for QR codes, for when customers rather than tills do the scanning.
- QR Code Generator — static QR codes for URLs, text and more.
Frequently asked questions
Which barcode type should I use?
For your own SKUs, shelf edges, bins and asset tags, use Code 128 — it encodes anything and needs no permission from anyone. For products you sell through shops or marketplaces that ask for a retail barcode, you need an EAN-13 (most of the world) or UPC-A (US and Canada) whose number comes from your GS1 company prefix. ITF-14 is for the outer shipping carton, not the item itself, and Code 39 survives mainly in warehouses and asset tagging.
Can I just invent my own EAN-13 number?
You can type one and this tool will draw it, but you should not put it on products for resale. EAN and UPC numbers are licensed through GS1: the first digits identify the company that registered them. An invented number can collide with a real product, and marketplaces like Amazon check numbers against the GS1 database and can reject or delist listings. For anything internal — stockrooms, samples, your own market stall — Code 128 with your own SKU codes does the same job with zero licensing.
Why did the generator add a digit to my number?
That is the check digit, a built-in typo catcher. EAN-13, UPC-A and ITF-14 all end with a digit calculated from the others; scanners recompute it on every read and reject the code if it does not match. If you enter the short form (12 digits for EAN-13), we calculate and append it. If you enter the full code with a wrong final digit, we stop and tell you what it should be, because a barcode with a bad check digit will not scan anywhere.
Will these barcodes scan at a shop till?
If the number itself is a valid one assigned to your product, yes — the patterns here are drawn by the same encoder library used by commercial tools, with correct check digits. The usual causes of scan failures are printing problems, not the file: shrinking an EAN below about 80% of its standard size, printing black bars on a dark or busy background, or cropping the white quiet zone at the sides. Test with a phone scanner app before a print run.
What size should I print an EAN-13?
The nominal EAN-13 size is 37.29 mm × 25.93 mm including the quiet zones, and the accepted range is roughly 80% to 200% of that. In this generator, pick a bar height around 15 mm and scale 3 or higher for a crisp PNG, or download the SVG and size it exactly in your design tool — vector output never blurs.
Are my barcodes tracked or watermarked?
No. The barcode is drawn in your browser from the value you type; nothing is uploaded, stored or registered anywhere, and the downloaded PNG and SVG carry no watermark. The number in the bars is exactly the number you entered, plus its check digit where the format has one.