Your pixels stay on your device.

Barcode Generator

UPC, EAN-13, Code 128 as PNG or SVG.

Loading workspace…

This free barcode generator makes scannable barcodes for products, shipping cartons, shelf labels and stock. Type a number or text, pick the barcode type, and get a print-ready SVG, PNG, PDF or EPS with the check digit worked out for you. Code 128, UPC-A, EAN-13, EAN-8, UPC-E, Code 39, ITF-14, Codabar, GS1-128, DataMatrix and PDF417 are all here.

Type one value into the box, paste a list with one value per line, or upload a CSV file to make up to 1,000 barcodes in one batch with the same settings. Runs in your browser. Nothing is uploaded.

Formats
CSV
A 12-digit product number is typed, the check digit appears, an EAN-13 barcode draws in and a scanner line confirms the read
A 12-digit product number is typed, the check digit appears, an EAN-13 barcode draws in and a scanner line confirms the read

How to Make a Barcode

  1. Choose the barcode type. Code 128 is the default and takes letters, digits and symbols. Pick UPC-A or EAN-13 for retail products, ITF-14 for outer cartons, or Code 39 if older equipment expects it.

  2. Enter the value. Type the number or text. For UPC and EAN you can leave out the last digit; the barcode generator calculates the check digit and adds it. A wrong length or a wrong check digit is flagged as you type.

  3. Set the size. Choose the bar width (module width) from 0.2 to 1 mm; 0.33 mm is the default and matches the standard retail size for EAN-13. Turn the human-readable digits under the bars on or off.

  4. Pick colors and resolution. Black on white is the default. For PNG, set the resolution from 72 to 1,200 DPI; 300 DPI suits most label printers.

  5. Download. SVG is the default because it prints sharp at any size. PNG, PDF and EPS are one click away, a batch comes as a ZIP, and you can copy the SVG code straight into a design file.

Barcode Generator Features

Check Digits Calculated and Verified

UPC, EAN, ITF-14 and GS1-128 barcodes end in a check digit that scanners use to catch misreads. Getting it wrong means the code scans as an error at the till. The barcode generator works it out from the other digits, and if you type a full number with the wrong final digit, it tells you instead of drawing a barcode that will fail. Each finished barcode is also read back by a built-in scanner in the preview, so you know it decodes to exactly what you typed.

The Barcode Types People Actually Use

Retail needs UPC-A (North America) or EAN-13 (most other countries), with EAN-8 and UPC-E for small packs. Warehouses and couriers use Code 128, GS1-128 and ITF-14 on cartons. Code 39 and Codabar still run in libraries, labs and older systems. DataMatrix and PDF417 store more data in a small square or stacked block. For accented or other non-ASCII text in Code 128, the generator suggests DataMatrix or a QR code.

Sizes That Scan When Printed

A barcode that looks fine on screen can fail on a label if the bars are too thin. Module width (0.2–1 mm) sets the narrowest bar, and height follows the type's proportions. SVG, PDF and EPS keep bar edges exact; PNG renders at your chosen DPI so bars align with printer dots. If a label printer rejects the file, the DPI converter changes its stored DPI.

Bulk Barcodes from a List or CSV

Paste a column of SKUs or upload a CSV, up to 1,000 values, and the barcode generator draws every one with the same type, size and colors. They download as one ZIP, each file named after its type and value, such as code128-SKU1042.svg, so you can match files to products without opening them.

Barcode Generator Use Cases

Product Barcodes for a Small Brand

A candle maker has bought GS1 numbers for her first retail order, and the stockist wants an EAN-13 barcode on every label. She enters the first 12 digits of each number, lets the barcode generator add the check digit, keeps the module width at 0.33 mm and downloads SVG files for her label designer. The preview scan confirms every number before anything goes to the printer, so no box is rejected at the warehouse.

Inventory Labels for a Stockroom

A shop manager is moving stock counts from paper to a handheld scanner. He exports his SKU list from the spreadsheet as a CSV, uploads all 640 rows, chooses Code 128 because his SKUs mix letters and digits, and sets PNG at 300 DPI for the thermal label printer. Each barcode is named after its SKU, so lining them up with shelf labels takes minutes instead of an afternoon.

Shipping Cartons for a Distributor

A wholesaler needs ITF-14 codes on outer cartons so the retailer's warehouse can scan whole cases. She types the 13-digit case number, the barcode generator adds the 14th check digit, and she exports a PDF at a wider module width, because cartons are printed on rough cardboard that spreads ink. The human-readable digits stay on so pickers can key the number in if a scan fails.

Library and Lab Sample Labels

A school librarian is labeling 300 donated books for a system that still reads Codabar. She pastes the accession numbers one per line, picks Codabar, and downloads a ZIP of PNG files to print on sticker sheets. The same approach works for a lab tagging sample tubes with Code 39. For labels that also need a link to a catalogue page, she adds a code from the QR code generator.

UPC vs EAN-13: Which Barcode Do You Need?

UPC-A EAN-13 Code 128
Digits 12 13 Any length, letters too
Where it is used Retail in the US and Canada Retail in most other countries Shipping, warehouses, internal stock
Needs a GS1 number Yes, for selling in shops Yes, for selling in shops No, for internal use
Check digit Yes, added automatically Yes, added automatically Built in

Scanners worldwide read both UPC-A and EAN-13, and a UPC number becomes an EAN-13 by adding a leading zero. Use the one your retailer asks for. For anything that stays inside your business, such as stock or asset tags, Code 128 needs no registration at all.

Is the Barcode Generator Private?

Yes. The barcode generator draws and checks every barcode in your browser. Your product numbers, SKU lists and CSV files stay on your device; nothing is sent to a server and nothing is stored after you close the tab. There is no account and no watermark on any barcode.

Barcode Generator FAQ

Can I make a barcode online for free?

Yes. Choose the barcode type, type the number or text, and download an SVG or PNG. There is no sign-up, no watermark and no limit on how many you make, and you can use the barcodes commercially. What may cost money is a registered product number from GS1 if you sell through retailers, not this barcode generator. The page also runs in a current mobile browser.

How do I get a barcode for my product?

To sell in shops or on most marketplaces, buy a company prefix or individual numbers from GS1, the organization that issues UPC and EAN numbers. Then enter each number in this barcode generator to make the image. This tool does not assign or register numbers. A made-up UPC may clash with another company's product. For internal stock, tickets or assets, you can choose your own values and use Code 128 or Code 39 without registering them.

Should I use EAN or UPC?

Use UPC-A (12 digits) for the US and Canada, and EAN-13 (13 digits) in most other countries. Modern scanners read both, and a UPC can be written as an EAN-13 with a leading zero. They are not the same format, even though they belong to the same GTIN family. Ask your retailer which one their system expects.

Can you convert EAN to UPC?

Only when the EAN-13 starts with a leading zero: that extra zero is a padded UPC-A, so you can drop it and encode the remaining 12 digits as UPC-A. An EAN-13 that starts with any other digit is not a UPC and should stay as EAN-13. This barcode generator will not invent a new number for you; it only draws the type and digits you enter, including the check digit.

Can I use EAN in the USA?

Yes, in many cases. US scanners generally read EAN-13 as well as UPC-A, and a 12-digit UPC can be written as a 13-digit EAN with a leading zero. Some older retail systems still expect a 12-digit UPC. If you sell mainly in the United States, confirm with the retailer or marketplace before you print packaging.

What is a Code 128 barcode used for?

Code 128 encodes letters, digits and symbols in a compact barcode, so it is the usual choice for shipping labels, warehouse locations, order numbers and inventory SKUs. Its GS1-128 variant carries extra details such as batch numbers and expiry dates on logistics labels. It is not a substitute for a registered UPC or EAN on a retail product.

Can I create barcodes from Excel?

This barcode generator does not open an Excel workbook. Save the column as a CSV file, or copy the column and paste it into the box with one value per line. Up to 1,000 values become barcodes with the same settings and download as one ZIP. Avery label sheets are not part of this tool.

Can I turn text into a barcode?

Yes. Choose Code 128 (or Code 39 for a simpler character set), type or paste the text, and download the barcode. Text-to-barcode is for internal labels, tickets and asset tags. Retail product codes still need a GS1 UPC or EAN number, not a made-up word.

Can I download an EAN-13 barcode as SVG?

Yes. SVG and PDF keep every bar exact at any print size, which is the safer choice for packaging. PNG is available when a label printer or a website needs an image; use 300 DPI or higher for print. The same formats apply to UPC-A and Code 128, not only EAN-13.

Is there a free barcode generator available?

Yes. This barcode generator is free to use in your browser, with no account and no watermark. It can draw UPC-A, EAN-13, Code 128 and the other types listed on the page. Nothing you type is uploaded, and the files download as SVG, PDF, EPS or PNG.

What to Do Next After Making a Barcode

Most barcodes end up on a label or a package, so these are the usual next steps.

  • Image to PDF

    put a batch of barcode images into one PDF for the printer.

02Put It on a Label or Package

  • Sticker Maker

    turn a barcode and a product name into a printable sticker.

03Convert the Barcode File

04Other Codes

All tools