Free Barcode Generator

Pick a barcode type, type your data and download a print-ready PNG or SVG.

Options
Keep dark bars on a light background so scanners can read the code.
Print size Free

Preview: Code 128

Drawing barcode…

Built by DevChecked against GS1 and ISO/IEC rulesLast reviewed:

  • Free, no sign-up
  • PNG and SVG download
  • Check digits added
  • Made in your browser

100% free No sign-up · No watermark · No limits on downloads

Premium barcode features, free for everyone

Tools that barcode apps often keep for paying users. Here they run in your browser at no cost.

  • FREE

    Exact print size

    GS1 sizes from 80% to 200%, or any width in mm, at 203, 300 or 600 DPI.

    Try it free →
  • FREE

    QR code designer

    Rounded dots, corner styles, your colors, your logo and a Scan me frame.

    Try it free →
  • FREE

    WiFi, vCard and WhatsApp QR

    Ready forms for WiFi, contacts, email, SMS, calls, WhatsApp and maps.

    Try it free →
  • FREE

    Bulk and sequences

    500 barcodes at once from a list, a CSV file or a number sequence.

    Try it free →
  • FREE

    Label sheet designer

    Standard or custom sheets with a title and price on every label.

    Try it free →
  • FREE

    ZIP with index.csv

    Every PNG named in list order, plus a CSV to match images in Excel.

    Try it free →
  • FREE

    Barcode scanner

    Test your printed barcode with your phone camera or a photo.

    Try it free →
  • FREE

    Convert and check

    UPC-A, UPC-E, EAN-13 and ISBN conversions with GS1 check digits.

    Try it free →

This free barcode generator turns numbers or text into a scannable UPC-A, UPC-E, EAN-13, EAN-8, ITF-14, ISBN, Code 128, GS1-128, Code 39, Data Matrix, GS1 DataMatrix, QR Code or PDF417 barcode and lets you download it as PNG or SVG, with no sign-up and no watermark. The check digit is added for you on UPC, EAN, ITF-14 and ISBN, and the barcode is drawn in your browser, so your data stays on your device.

How to make a barcode

  1. Choose the barcode type. UPC-A and EAN-13 are for retail products, Code 128 is for shipping and inventory labels, and Data Matrix is for small parts.
  2. Type your data. For UPC-A, EAN-13, EAN-8 and ITF-14 you can leave out the last digit; the generator adds the check digit.
  3. Set the bar height, size and colors, then download the PNG or SVG file or print the barcode.

What is a barcode generator?

A barcode generator is a tool that converts data, such as a product number, a SKU or a link, into a barcode image that a scanner can read. Each barcode type, called a symbology, has its own rules for which characters it accepts and how the bars are drawn.

Barcodes come in two families. 1D (linear) barcodes, such as UPC-A and Code 128, store data in one row of bars and spaces. 2D barcodes, such as Data Matrix and QR Code, store data in a grid of square cells, so they hold far more data in a smaller area.

Which barcode type do you need?

Pick the type by where the barcode will be scanned. A retail checkout reads UPC and EAN; a warehouse scanner usually reads Code 128; a 2D scanner or phone app reads Data Matrix and QR Code.

TypeAcceptsLengthTypical use
UPC-ADigits11 digits + check digitRetail products in the United States and Canada
UPC-EDigits7 digits + check digitVery small retail packs
EAN-13Digits12 digits + check digitRetail products in most other countries
EAN-8Digits7 digits + check digitSmall retail packs
ITF-14Digits13 digits + check digitCartons and cases of products
ISBNDigits (978 or 979)ISBN-13 or ISBN-10Book covers
GS1-128GS1 application identifiersUp to 90 characters hereShipping and case labels with batch or date
Code 128Letters, digits, symbolsUp to 80 characters hereShipping labels, SKUs, asset tags
Code 39A to Z, 0 to 9, 7 symbolsUp to 40 characters hereOlder industrial and ID systems
Data MatrixAny textUp to 1,000 characters hereElectronic parts, small items
GS1 DataMatrixGS1 application identifiersUp to 200 characters hereMedical devices, pharmaceuticals
QR CodeAny text or linkUp to 1,000 characters hereLinks, menus, posters
PDF417Any textUp to 800 characters hereID cards, boarding passes, shipping documents

For one type in depth, use the UPC barcode generator, the Code 128 generator or the Data Matrix generator.

Features

  • Thirteen barcode types: UPC-A, UPC-E, EAN-13, EAN-8, ITF-14, ISBN, Code 128, GS1-128, Code 39, Data Matrix, GS1 DataMatrix, QR Code and PDF417.
  • GS1 check digit added or checked for UPC-A, UPC-E, EAN-13, EAN-8, ITF-14 and ISBN.
  • PNG download for documents and web pages, SVG download for sharp printing at any size.
  • Bar height, size, text under the bars, bar color and background color.
  • Print button for a quick paper copy.
  • Free, with no account, no email and no watermark.
  • Exact print size: GS1 magnification from 80% to 200% for UPC and EAN, or a width in millimetres, at 203, 300 or 600 DPI.
  • QR code designer with colors, rounded dots, a logo and a frame on the QR code generator page.
  • Recent barcodes saved in your browser, so you can open the last 20 again.
  • Free barcode scanner to test a printed barcode with your phone camera.

PNG or SVG: which file should you download?

SVG is a vector file: it describes the bars as shapes, so it stays sharp at any size. Use it for label software, packaging artwork and anything a printer will scale. PNG is a pixel image: it is ready to drop into Word, Excel, a web page or an email, but it blurs if you enlarge it.

Both downloads are free here. Many free generators offer PNG only, or keep SVG for paying users.

How to print barcodes that scan

A barcode scans when its bars are wide enough, its edges are clear and it has blank space around it. GS1, the organisation behind UPC and EAN, allows UPC and EAN barcodes to be printed from 80% to 200% of their standard size, which means a narrowest bar of 0.26 mm to 0.66 mm. At 100% a UPC-A or EAN-13 is 37.29 mm wide including its margins and 25.93 mm high.

  • Keep the quiet zone, the blank margin at each end. For UPC-A, GS1 asks for at least 9 times the narrowest bar width on each side.
  • Print dark bars on a light background. Black on white is the safest choice.
  • Do not stretch the image in one direction only. Resize the SVG evenly, or set the size here before you download.
  • Scan a test print with the scanner or app that will be used before you print a full run.

For the whole process, from choosing the type to a test print, read the step-by-step barcode guide.

To get the size right, tick Download at an exact print size. For UPC and EAN, pick a magnification and the SVG comes out at the exact GS1 size (37.29 mm wide at 100%). For other types, type the width in millimetres. The PNG is saved with its DPI, so Word and label software place it at the right size.

Where barcode numbers come from

The generator draws a correct barcode for any number you type, but it does not issue numbers. Retail barcodes (UPC and EAN) carry a GTIN, a product number that starts with a company prefix licensed from GS1. In the United States that is GS1 US. Internal barcodes, such as Code 128 labels for your own shelves, can use any numbering you choose.

To work out or confirm the last digit of a GTIN, use the check digit calculator.

Is it private?

Yes. The barcode is drawn by code running in your browser. The data you type is not sent to our server, and nothing is saved after you close the page.

Tips for barcodes that scan

  • Choose the type your scanner or retailer expects before you design the label.
  • Keep the text under the bars turned on for retail and shipping labels, so a person can type the number if a scan fails.
  • Use SVG when the barcode goes into print artwork.
  • Leave the margins in the downloaded file; they are the quiet zone.
  • Keep one master list of the numbers you encode, so no two products share a barcode.

Related tools

Frequently asked questions

Is this barcode generator free?

Yes. Every barcode type and every download is free, with no account, no email and no watermark.

Can I make up my own barcode numbers?

Yes, for internal use such as stock bins, asset tags and event tickets. For products sold in stores, retailers expect a UPC or EAN number licensed from GS1.

Can I make many barcodes at once?

Yes. The bulk barcode generator makes up to 500 barcodes from a list and downloads them in one ZIP file.

Can I use these barcodes on Amazon?

Yes, if the number is yours. Amazon asks for UPC or EAN numbers registered with GS1 to the brand on the product, and some products can apply for a GTIN exemption in Seller Central instead.

What is the difference between 1D and 2D barcodes?

A 1D barcode stores data in one row of bars. A 2D barcode, such as Data Matrix or QR Code, stores data in a grid of cells and holds much more data.

Guides