E-commerce
Barcode Generator
Type a product number or SKU and get a barcode you can download as SVG or PNG, with the GS1 check digit handled for you.
Runs in your browser; nothing is uploaded. · Free, no account · 2 min
For the retail formats, leave the check digit off and the tool adds it, or include it and the tool checks it.
Importing a saved run into your account is coming soon. Until then, your last runs stay in this browser only, and you can download your files.
How to use
- Pick the format: EAN-13, UPC-A, EAN-8, ITF-14, Code 128 or Code 39.
- Type the number or text. For the retail formats, leave off the check digit and the tool adds it, or include it and the tool checks it.
- Set the bar width and height, and whether to print the number under the bars.
- Download the SVG for print, or the PNG for a quick preview, and test the printed code with a scanner.
What it checks and how it works
The bars are drawn in your browser by the JsBarcode library. For EAN-13, UPC-A, EAN-8 and ITF-14 the tool works out the GS1 check digit (weights 3 and 1 from the right of the number, summed, then rounded up to the next ten) and adds it, or verifies the one you typed. Code 128 takes any ASCII text and Code 39 takes capital letters, digits and a few symbols.
A barcode only carries a number. For goods sold through retail channels the number has to be one your company is licensed to use, issued through a GS1 member organisation, so a correct check digit does not make a number yours. The image is always black bars on a white background, whatever the page theme, because scanners need the contrast.
Sources
- JsBarcode documentation opened 29 Oct 2026
- GS1 General Specifications (check digit calculation, GTIN formats) opened 29 Oct 2026
Related tools
GTIN Check Digit Validator
Paste barcode numbers and see which ones have a correct GS1 check digit, which do not, and what the last digit should be.
QR Code Generator with UTM Tracking
Turn a web address into a QR code, with UTM tracking added so scans show up as their own campaign in your analytics.
Merchant Center Product Feed Checker
Paste your product feed and find the missing attributes, wrong values and malformed prices before Merchant Center does.
Questions
About this tool
Not safely. Retail numbers are issued under licence by GS1 member organisations so that no two products share one. A generated barcode with a made-up number can clash with someone else's product.
Use EAN-13 for most products sold outside North America and UPC-A for North America. Use Code 128 for your own SKUs and internal labels, and ITF-14 for outer cartons.
SVG stays sharp at any size and is the better file for print. PNG is a fixed-size picture, useful for a preview or a document.
Get started today
Find out where your brand stands in AI. Free.
Run a free AI visibility analysis on your domain. No credit card, results in minutes. See what AI engines say about your brand today.
Brands already measuring their AI visibility with Zaher.


