Free barcode generator, EAN-13, UPC, Code 128
Make an EAN-13, EAN-8, UPC-A or Code 128 barcode, the check digit added for you, then download it as a PNG or an SVG file. Free, no account, in your browser.
This tool draws the barcode of a code you already have, it does not assign one. EAN or UPC codes for products sold in stores come from the organization that issues them.
Keep going in the editor, add text, a background, more images.
Open in the editorHow it works
-
Pick the standard
EAN-13, EAN-8, UPC-A or Code 128, depending on your use.
-
Type your code
The tool adds or checks the check digit.
-
Download it
As PNG or SVG, sharp in print, for a code you already have.
A barcode for a product, a label, an inventory
A barcode turns a number or a text into bars a register or a scanner can read. UPC-A marks products sold in stores in the United States, EAN-13 in Europe and most other countries, EAN-8 small packages. Code 128 serves labels, inventory, shipping and internal references.
Pick the type, then type the code
Four settings, the barcode appears right away.
- "Type", EAN-13, EAN-8, UPC-A or Code 128.
- "The code to draw", the digits or the text of the code.
- "Size", 80%, 100% or 150%.
- "Format", PNG or SVG.
The check digit, added for you
The last digit of a UPC or an EAN is a check digit, computed from the others. Type one digit less, the tool adds it and says so. Type a full code with a wrong check digit, the tool flags it and gives the right one. A code too short or too long is flagged too, with the length each type expects.
Code 128, for letters
UPC and EAN only encode digits. Code 128 encodes letters, digits and symbols without accents, 48 at most, a reference like SKU-2041 or a package number. For a run of digits, it gets shorter on its own.
The right size in print
At 100%, an EAN-13 is 37.3 mm wide, an EAN-8 26.7 mm, a UPC-A 37.3 mm. The SVG stays sharp at any size, for a printer or a layout program. The PNG is computed to stay sharp in print. "Download" gives you the file.
What the tool does not do
This tool draws the barcode of a code you already have, it does not assign one. EAN or UPC codes for products sold in stores come from the organization that issues them. For a book, the ISBN barcode generator does the same from the ISBN.
Everything stays with you
Everything happens in your browser. No code is sent anywhere, no account is needed, the tool is free. "Open in the editor" places the barcode on a label, a flyer, a menu or a gift certificate.
Frequently asked questions
What is the difference between UPC and Code 128?
UPC codes twelve digits for a product, Code 128 codes letters and digits for a label or inventory.
Does the tool give me a UPC code?
No. It draws a code you already have, it does not assign one.
PNG or SVG?
The SVG stays sharp at any size, the PNG works everywhere.
Do I get the tool for free?
Yes. It asks for no account and no payment.
Explore more
-
Free QR code generator, download as PNG or SVG
Make a free QR code for a link or some text, in your own colors, with an optional transparent background. Download it as PNG or SVG, no account, no expiry.
Try the tool -
Change image DPI to 300 for printing, free
Set a JPG or PNG image to 300, 150 or 72 DPI without touching its pixels, see its print size in inches and cm, turn pixels into inches. Free, no account.
Try the tool -
Color palette from an image, with HEX codes
Pull a palette of 4, 6 or 8 colors from a photo or a logo, then copy each HEX code with one click. Free, no account needed, your image stays on your device.
Try the tool
For authorsKDP coverKDP royaltiesISBN
Go further
-
Template
Gift certificate template for your business, free
Gift certificate templates for a spa, a restaurant or a boutique, with the amount, To and From lines, a number and a signature. Customize, print, then sell.
-
Template
Christmas menu template, free printable
A free printable Christmas menu template, evergreen with a gold frame, a sprig of holly and the courses of your Christmas dinner. A5, edit online, then a PDF.
-
Template
Christmas coupon template, 10% off, free
A Christmas coupon template, red with gold ornaments, "10% off" in bold, storewide until December 24, a promo code, then your store name.
Last updated: 12/01/2026