ToolWeb Logo
Menu

Barcode Generator for EAN, UPC & Code 128

Make EAN-13, UPC-A, Code 128, Data Matrix and other barcodes with the check digit added for you. Download PNG or SVG, or make many barcodes and download them all as a ZIP or one PDF, all in your browser.

1. Format & data

Preview

Download

Generated on your device. Nothing is uploaded.

2. Appearance

Your barcodes

    How to use Barcode Generator

    1. 1

      Choose the barcode type. Pick one of 15 types, grouped as general purpose, retail products, shipping and logistics, specialty and 2D codes. A short note under the list explains where each type is used.

    2. 2

      Enter your data. Type the number or text, or press Use example to see a valid one. For EAN, UPC and ITF-14 you can leave out the last digit and the check digit is added for you. If you type it, it is verified.

    3. 3

      Adjust the look. Set the bar width, bar height, quiet zone, text size and colors, or hide the text under the bars. Warnings under the preview tell you about low contrast or a quiet zone that is too narrow.

    4. 4

      Download or copy. Download a PNG at 1×, 2× or 4× size, or a vector SVG, or copy the image to paste it into a document.

    5. 5

      Make more barcodes with the same look. Press Add another barcode. It starts with the default look, so you only type its value, and you can pick another type for it. Click any barcode in the list to edit it, then press Download all to get every barcode as PNG or SVG images in one ZIP, or as one PDF with a barcode on each page.

    By · Last updated

    Learn more about Barcode Generator

    How Do You Make a Barcode for Free?

    Direct Answer: Choose the barcode type, type your number or text, and download it as PNG or SVG. There is no sign-up and no watermark.

    The preview updates as you type. If the data doesn't fit the type, for example letters in an EAN-13 or an odd number of digits in Interleaved 2 of 5, a message explains what to change and nothing is drawn until it is fixed, so you can't download a barcode that won't scan.

    Which Barcode Type Should You Use?

    Direct Answer: EAN-13 or UPC-A for products sold in shops, Code 128 for labels and inventory, ITF-14 for shipping cartons, and Data Matrix or QR codes when you need to fit a lot of data in a small space.

    • EAN-13 is the retail barcode in most of the world, and UPC-A is used in the US and Canada. EAN-8 and UPC-E are shorter versions for small packs.
    • Code 128 encodes any letters, numbers and punctuation compactly, so it suits shipping labels, asset tags and stock numbers.
    • Code 39 and Code 93 are older alphanumeric codes still used in automotive, defense and ID badges.
    • ITF-14 goes on outer cartons, and Interleaved 2 of 5 is a numeric code for warehousing.
    • Codabar, MSI Plessey and Pharmacode are for libraries, shelf labels and pharmaceutical packaging.
    • Data Matrix, PDF417 and Aztec are 2D codes for parts marking, ID cards and tickets.
    Can You Make Your Own EAN or UPC Barcode?

    Direct Answer: You can draw any EAN or UPC barcode here, but to sell products in most shops the number itself must be a GTIN licensed from GS1.

    The barcode is only a picture of the number. Retailers and marketplaces check that the number belongs to your company in the GS1 database. For internal use, such as stock in your own shop or warehouse, any number works. The tool adds the check digit for you: type 12 digits for EAN-13 or 11 for UPC-A, or type the full number and the tool verifies the last digit.

    How Do You Make Many Barcodes at Once?

    Direct Answer: Set up the first barcode, press Add another barcode for each extra one, type its value, then press Download all.

    • Set the look once. Every new barcode starts with the default look, so you only type its value. Each barcode keeps its own type, so EAN-13 and Code 128 can be in the same list.
    • Edit any barcode. Click one in the list to load it into the editor, change its value or give it its own look.
    • Keep them matching. Set this look as default makes the current look the one new barcodes start with, and Apply default look to all gives every barcode that look while keeping its value and type.
    • Download all. Choose PNG images at 1×, 2× or 4×, SVG images, or one PDF with a barcode on each page, printed at 100% scale. Files are numbered in list order.

    You can make up to 500 barcodes. One without a valid value is marked Not finished in the list, and you're asked to finish or remove it before you download all.

    Tips for Barcodes That Scan Every Time

    Direct Answer: Print dark bars on a light background, keep the quiet zone, and don't squash the barcode.

    • Keep the quiet zone. Linear barcodes need empty space of about ten bar widths on each side. The tool warns you when it is narrower.
    • Use dark on light. Most scanners read black or dark blue bars on white. Red bars don't scan with red-light laser scanners.
    • Scale evenly. Resize the SVG or the PDF in proportion. Stretching only the width changes the bar ratios and can make the barcode unreadable.
    • Use SVG or PDF for print. They stay sharp at any size. For PNG, choose 4× for printing.
    • Test it. Scan the result with a phone or the QR & Barcode Scanner before you print a batch.

    Frequently Asked Questions

    Which barcode types can I make?
    Fifteen: Code 128, Code 39, Code 93, EAN-13, EAN-8, UPC-A, UPC-E, ITF-14, Interleaved 2 of 5, Codabar, MSI Plessey, Pharmacode, Data Matrix, PDF417 and Aztec.
    Do I need to enter the check digit?
    No. For EAN-13, EAN-8, UPC-A, UPC-E and ITF-14 you can leave out the last digit and it is calculated for you. If you type the full number, the check digit is verified and a wrong one is flagged.
    Can I use these barcodes on products I sell in shops?
    The barcode will scan, but most retailers and marketplaces also need the number itself to be a GTIN registered to your company with GS1. For your own stock, shelves or warehouse, any number works.
    Can I make many barcodes at once?
    Yes. Press Add another barcode for each extra one; it starts with the default look, so you only type its value, and types can be mixed. Then press Download all to get up to 500 barcodes as PNG (1×, 2× or 4×) or SVG images in one ZIP, or as one PDF with a barcode on each page.
    Is my data uploaded?
    No. Barcodes are drawn in your browser, and your numbers and text never leave your device.
    Why won't my barcode scan?
    The usual causes are low contrast, light bars on a dark background, or a quiet zone (the empty margin) that is too narrow. The tool warns you about all three. Also keep the barcode in proportion when you resize it, and use SVG, PDF or 4× PNG for printing.