Business tools · barcodes · nothing uploaded

EAN-13 barcode generator

Enter 12 digits and the check digit is added, or all 13 and it is verified. Download an exact-size SVG, PNG or PDF, free and without a watermark.

This tool draws barcodes for numbers you already own; it cannot issue them. To sell through retailers and most marketplaces, EAN, UPC, ITF-14 and GS1-128 numbers must come from a GS1 licence (GS1 Australia, GS1 US or your country's GS1 office). For your own stock and shelves, use Code 128 with your own SKUs. See do I need a GS1 barcode?

12 digits (the check digit is added) or all 13

Text, colour, quiet zone and rotation

Free, no watermark. SVG and PDF are vector and print sharp at any size; the PDF page is exactly the barcode's size.

Many barcodes at once: a ZIP of PNG or SVG files
Or load a CSV: the first column is used. Free up to 20; lifetime licence up to 5,000.

Files are named after each value and use the size, colours and options above. Invalid values are skipped and listed in errors.txt.

Print-ready sheets and bigger batches: A$4.99 for 30 days or A$19 lifetime

Free, always

Every symbology, every single-barcode download (SVG, PNG, PDF) with no watermark, ZIPs of up to 20 barcodes, and the label-sheet preview and calibration page.

Lifetime, for small businesses

A$19

Everything in print-ready sheets, for good, plus ZIPs of up to 5,000 barcodes.

Buy lifetime

What an EAN-13 encodes

An EAN-13 carries a 13-digit Global Trade Item Number (GTIN-13). It identifies one product variant: one size, flavour and pack of one product from one brand owner. It contains no price, description or stock level; the retailer's system looks those up from the number. It is the standard retail barcode in Australia, New Zealand, Europe and most of the world, and it scans at almost every checkout.

The structure of the number

The 13 digits are a GS1 company prefix, an item reference and a check digit. The prefix starts with a GS1 country code (93 for Australia, 94 for New Zealand, 50 for the UK) that shows which GS1 office issued it, not where the product is made. The length of the company prefix depends on how many numbers the company licensed; the item reference fills the rest. The final digit is the check digit.

The check digit

Starting from the right of the first 12 digits, multiply the digits alternately by 3 and 1, add the results, and take the number needed to reach the next multiple of 10. For 400638133393: the weighted sum is 89, so the check digit is 1, giving 4006381333931. A single wrong digit, and most swapped pairs, change the sum, so the scanner rejects the read instead of finding the wrong product. Enter 12 digits and the tool adds the check digit; enter 13 and it confirms it, and if it does not match it says what it should be.

Size and quiet zones

GS1 defines EAN-13 at 100% magnification as 0.330 mm per module, 37.29 mm wide including the quiet zones, with bars 22.85 mm tall (not counting the digits). The permitted range is 80% to 200%: at 80% the module is about 0.264 mm. The quiet zone is 11 modules on the left and 7 on the right. The tool sizes the barcode by magnification so these rules are followed; it warns if you go below 80%. Larger is better for scanning, and GS1 offices recommend more than the minimum where packaging allows.

Where to put it

On packaging, place the barcode on the back or base, away from seams, folds and edges, with the bars vertical (picket fence) on flat surfaces. On curved packs, rotate it so the bars run around the curve. Avoid placing it under a flap or wrap, or where a price sticker is likely to go.

Printing tips

Why barcodes fail to scan

Which download to use

To make many at once, use the ZIP option below the generator: paste one value per line or load a CSV and download PNG or SVG files named after each value.

How this tool works

Barcodes are drawn in your browser with bwip-js, an open-source (MIT) port of Barcode Writer in Pure PostScript, and PDFs are written with pdf-lib. Nothing you type is uploaded, and the page works offline after the first visit. Single barcodes are free in every format with no watermark. Paid licences cover print-ready label sheets and large batches; see the box above.

Frequently asked questions

Can I make up an EAN-13 number?

Not for products sold through retailers or marketplaces. EAN-13 numbers identify the brand owner and must come from a GS1 licence. For internal use, Code 128 with your own codes is the right choice.

What is the check digit?

The last digit, calculated from the first 12 so a scanner can catch misreads. The tool calculates it for you, or tells you if the one you entered is wrong.

What size should an EAN-13 be?

At 100% magnification it is about 37.29 mm wide (including the quiet zones) with 0.33 mm modules and bars 22.85 mm tall. GS1 allows 80% to 200%.

Can I shorten the bars?

Reducing bar height (truncation) makes the barcode harder to scan at the checkout. Avoid it on retail products unless a GS1 office has advised otherwise.

Why does the barcode have a > sign?

It marks the right-hand quiet zone, the clear space a scanner needs. Keep it clear of other artwork; you can turn quiet zones off in the options if your layout already provides the space.

Is EAN-13 the same as a UPC?

They are compatible. A 12-digit UPC-A becomes an EAN-13 by adding a leading zero, and scanners worldwide read both.

Sources

Rules on this page last verified against these sources on 29 October 2026. This is general information, not tax or legal advice.

Related