· 5 min read
How to Generate Barcodes for Free, No Signup
Heshan Fernando
Co-founder & COO
You’re listing a small batch of handmade products and need real barcodes for the packaging, or you’re setting up an internal inventory system and want Code128 labels for bins that never touch a retail shelf. Either way, you need a scannable barcode image now, not a subscription to barcode-design software you’ll use twice a year.
Barcodes look simple — black and white bars — but the actual encoding follows a strict standard per format. EAN-13, EAN-8, UPC-A, and Code128 each have their own structure, check-digit rules, and bar widths, and getting any of that wrong produces an image that looks like a barcode but won’t actually scan.
What generating a barcode actually involves
A barcode encodes a number (or, for Code128, a broader set of characters) as a specific pattern of bar widths that a scanner can decode back into the original value. EAN and UPC formats are built around product numbers assigned through GS1, with a check digit calculated from the other digits to catch scanning errors. Code128 is more flexible — it can encode letters and numbers, not just digits — which makes it common for internal tracking rather than retail products.
Getting the check digit right matters more than it might seem: a barcode with an incorrect check digit can look visually correct but will fail validation on a proper scanner, even if a casual glance can’t tell the difference.
Why people get stuck here
- Format confusion. EAN-13 versus UPC-A versus Code128 aren’t interchangeable — picking the wrong one for your use case can mean a barcode that scans but encodes the wrong kind of data for the system reading it.
- Manual check-digit math is error-prone. Calculating a check digit by hand for even one barcode is tedious; doing it correctly for a batch of them by hand invites mistakes.
- Design software is overkill for one label. Full graphic design tools can generate barcodes, but launching one just to make a single label is a lot of setup.
- Export format matters for the end use. A barcode meant for print needs to stay crisp at small sizes (which favors SVG), while a barcode going into a digital document is often easier to place as a PNG.
What a good barcode generator looks like
Support for the formats you actually need
Retail products typically need EAN or UPC; internal inventory or asset tracking is often more flexible with Code128. A generator covering all of these means you’re not switching tools depending on the job.
Correct, automatic check digits
The tool should calculate the check digit for you based on the standard’s formula, removing the most common source of a barcode that looks right but doesn’t scan.
Both vector and raster export
SVG export keeps barcodes sharp at any print size; PNG export is often more convenient for pasting directly into a document or web page. Having both covers most real use cases.
Common mistakes to avoid
- Using an EAN-13 generator for a product number that was actually assigned as UPC-A, producing a barcode that doesn’t match what your retailer’s system expects.
- Shrinking a barcode below the minimum readable size for its format, which causes scan failures even though the encoding itself is correct.
- Forgetting that EAN and UPC codes need to be officially assigned (through GS1) for real retail use — generating the image is separate from having the rights to that specific product number.
- Exporting as a low-resolution PNG for a print job, causing blurry bars that scanners struggle with.
- Not testing a generated barcode with an actual scanner or scanning app before printing a full batch of labels.
How to do it with Barcode Generator
Online Tool Store’s Barcode Generator runs entirely in your browser — nothing is uploaded, and there’s no signup.
- Choose your format: EAN-13, EAN-8, UPC-A, or Code128.
- Enter the number (or, for Code128, the text) you want encoded.
- Preview the generated barcode, with the check digit calculated automatically.
- Download it as an SVG for print-quality scaling, or a PNG for quick digital use.
Since everything runs locally, you can generate a whole batch of labels one at a time without waiting on uploads or worrying about product numbers passing through a third-party server.
Frequently asked questions
Can I use a generated EAN or UPC barcode for real retail products?
You need a properly assigned product number from GS1 (or a regional equivalent) for retail use — the generator creates a correctly encoded image from whatever number you provide, but it doesn’t assign or register that number for you.
What’s the difference between EAN-13 and UPC-A?
UPC-A is a 12-digit format used primarily in North America; EAN-13 is a 13-digit format used internationally and is effectively a superset — most EAN-13 scanners can also read UPC-A. Which one you need usually depends on where your product number was assigned.
Why would I use Code128 instead of EAN or UPC?
Code128 can encode letters as well as numbers and doesn’t require a GS1-assigned product number, which makes it a common choice for internal inventory, asset tags, or shipping labels rather than retail shelf products.
Final thought
A barcode is only useful if it actually scans, so the check digit and format matter as much as the number itself. Generate it, test it with a real scanner before printing a full run, and pick the format that matches how the code will actually be used.