Barcode Generator for Products

Putting a product on a shelf — or into a marketplace listing — usually means printing a machine-readable number on the packaging. That number is not something a generator invents for you: retail barcodes are issued by GS1 and belong to your company prefix, and the generator's job is to turn the digits you already own into a symbol a checkout scanner can read at speed. QRPixel does exactly that in the browser, with format validation, a live preview at the size you intend to print, and vector export so the bars stay razor sharp on a label press.

What you get

EAN-13, EAN-8, UPC-A and Code 128 symbologies for retail packaging

Live validation of digit counts and check digits before you print

Vector SVG export so bars stay sharp at any label size

Adjustable width, height and human-readable text placement

Runs entirely in your browser — product data never leaves the device

Choosing the right symbology for a retail product

EAN-13 is the default for products sold outside North America, and UPC-A covers the same job in the United States and Canada; both encode a GS1-issued number that identifies the manufacturer and the specific item. EAN-8 exists for packaging too small to carry a full thirteen-digit symbol, such as a lip balm or a single-serve sachet, and it needs its own separately allocated short number rather than a trimmed version of your EAN-13.

Code 128 is the right choice when the barcode is not going through a retail checkout — internal SKUs, case labels, marketplace fulfilment identifiers. It accepts letters as well as digits and packs them densely, which is why fulfilment centres tend to prefer it for carton labels while the consumer-facing unit keeps its EAN.

How to generate a product barcode step by step

Open the barcode generator, select the symbology that matches where the product will be scanned, then type or paste the number. For EAN-13 enter the first twelve digits and let the tool compute the thirteenth check digit, or paste all thirteen and confirm the tool accepts them — a mismatch means a transposed digit somewhere upstream in your product data.

Set the bar height and module width for the label you are printing, keep the quiet zone clear on both sides, and export SVG. Hand the SVG to your label printer or drop it into the packaging artwork; PNG is fine only when the artwork is destined for a screen mock-up rather than a plate.

Why the check digit matters more than the artwork

The final digit of an EAN or UPC is arithmetic, not decoration: it is derived from the preceding digits, and a scanner recalculates it on every read. If it does not match, the scan is rejected outright, which is why a barcode that looks perfect can still fail at the till after a single typo three digits earlier.

Generating from your master product spreadsheet rather than retyping numbers by hand is the single biggest reduction in barcode errors most small brands make. When you have dozens of SKUs to produce, export the codes in one pass and proof them against the source list before anything reaches a print run.

Practical examples from small product brands

A coffee roaster with eight blends allocated a GS1 prefix, generated eight EAN-13 symbols, and dropped each SVG into the existing bag artwork template — no repositioning needed because the vector scaled cleanly to the reserved panel. A candle maker selling through a regional grocery chain used EAN-8 on the small tins and EAN-13 on the boxed gift sets, since the chain's checkout accepts both.

A homeware brand shipping into a marketplace warehouse kept its retail EAN on the unit and printed a separate Code 128 label carrying the marketplace's own item identifier on the outer carton, which is the arrangement most fulfilment centres expect.

A short checklist before committing to a print run

Confirm every number came from your own GS1 allocation, confirm the check digit validates, print one label on the real substrate, and scan it with a real scanner — a phone camera is a useful smoke test but it is far more forgiving than a supermarket laser. Only then send the artwork to production.

Advertisement

Create Your QR Code

Frequently Asked Questions

Can this tool assign me a product barcode number?

No — EAN and UPC numbers are allocated by GS1 to your company prefix. QRPixel converts the number you already own into a scannable symbol; it cannot issue or reserve numbers on your behalf.

Should I use EAN-13 or UPC-A?

Use UPC-A if your primary market is the United States or Canada and EAN-13 elsewhere. Modern retail scanners read both, so the choice usually follows whichever number your GS1 member organisation issued you.

What if my packaging is too small for a full barcode?

Move to EAN-8, which is designed for small packs, rather than scaling an EAN-13 below its permitted magnification. EAN-8 numbers are allocated separately, so request one rather than shortening an existing code.

Which file format should I send to a printer?

SVG. It is a vector, so the bar edges stay crisp at any size and the print shop can place it without resampling. PNG is only appropriate for on-screen mock-ups.

Can I put a product barcode and a QR code on the same pack?

Yes, and many brands do — the barcode handles the checkout while the QR code links to product information. Keep them physically separated with clear quiet zones so a scanner does not catch both at once.

Is my product data uploaded anywhere?

No. Barcode rendering happens in your browser, so the numbers you type stay on your device and nothing is transmitted to a server.

Related pages and guides