Free • No account • No storage

Free barcode & QR code generator

Create barcode and QR code images in seconds. Generate CODE128, EAN-13, UPC-A, EAN-8, or ITF-14 barcodes, preview them, and download PNG or SVG files in your browser.

No account required Instant PNG/SVG export GS1-friendly formats

Live Preview

Generated QR code
Generate a code to preview and download.

Code Breakdown

How this barcode generator works

This free generator turns a number or text into a barcode or QR code image. Choose a format, enter the value, and download the image as PNG or SVG. It supports CODE128, EAN-13, UPC-A, EAN-8, ITF-14 and QR codes.

Your browser draws 1D barcodes with JavaScript, and the server stores no images. QR codes come from the QR Server service (api.qrserver.com), which receives the text of the QR code.

For retail use, choose the format your system requires. Then verify the number and its check digit before you print labels in volume. For standards and identifier licensing, follow official GS1 guidance for your region.

Last updated 2 December 2026.

How do I make a UPC code with a generator?

Choose UPC-A as the barcode format, type the 11 digits of your number and click Generate. The generator adds the 12th digit, the check digit, and draws the UPC-A barcode, which you download as PNG or SVG.

  1. Set "Generator type" to 1D Barcode and "Barcode format" to UPC-A.
  2. Type 11 digits in "Code value". If you already have all 12 digits, type them: the check digit must then be correct.
  3. Click Generate and read the preview. The "Code Breakdown" shows the check digit.
  4. Download the PNG or SVG file.

A generator draws a barcode from a number. It does not give you the right to use that number. For a product that you sell in shops or on a marketplace, the 11 digits must come from the GS1 Company Prefix of your company, or from a single GTIN that you license from GS1 (see GS1 US: how to get a UPC barcode). A made-up number can already belong to another product. For internal stock labels, use CODE128 with your own SKU instead. If you need to know what the numbers mean, read what a GTIN is, and for the 12th digit use the UPC check digit calculator.

Which barcode format should I use?

FormatWhat you enterCheck digitTypical use
EAN-1312 or 13 digitsDigit 13Retail products outside North America
UPC-A11 or 12 digitsDigit 12Retail products in the US and Canada
EAN-87 or 8 digitsDigit 8Small packages with little room
ITF-1413 or 14 digitsDigit 14Cartons and cases (GTIN-14)
CODE128Letters, digits and symbolsBuilt into the symbolInternal labels, SKUs, shipping

With the shorter length, the generator adds the check digit. With the full length, the check digit must be right, or the generator refuses the value. To work out or test a check digit yourself, use the GTIN check digit calculator or the barcode validator. The EAN-13 guide explains the 13 digits.

Retail & inventory labeling

Generate SKU and product ID labels for shelf tags, bin locations, receiving workflows, and POS systems. Keep the same format across your ERP, marketplace feed, and printed labels to reduce mismatches.

Marketing & QR destinations

Create QR codes for product pages, campaign links, menus, and app deep links. Use short URLs and test scan speed on low-light mobile cameras before printing at scale.

Barcode vs QR code: when to use each

  • 1D barcodes are best for product IDs, SKU workflows, POS scanning, and packaging labels.
  • QR codes are better for URLs, app links, contact cards, and marketing destinations.
  • Print with high contrast and leave enough quiet zone around the symbol, so scanners read it reliably.
  • Always test on the actual scanner hardware and mobile camera apps you expect users to use.

Print and scan quality checklist

  • Use dark symbols on a light background with high contrast.
  • Preserve quiet zones (empty margins) around the code edges.
  • Do not scale the image much after download. Export at the target size when you can.
  • For packaging, validate scans on both handheld scanners and mobile devices.
  • Recheck check digits and format rules before high-volume print runs.

Frequently asked questions

Which barcode format should I choose?

Use EAN-13 for retail products sold outside North America and UPC-A for retail products in the US and Canada. Use EAN-8 for very small packages and ITF-14 for cartons. Use CODE128 for internal labels, SKUs and shipping, because it takes letters and digits.

Does the generator calculate the check digit?

Yes. Enter 12 digits for EAN-13, 11 for UPC-A, 7 for EAN-8 or 13 for ITF-14, and the generator adds the last digit. If you enter the full length, the check digit must be correct, or the generator refuses the value.

Is a barcode from this generator valid for selling in shops or on Amazon?

The image is valid, but the number is not yours. Retailers and marketplaces expect a GTIN that GS1 licenses to your company. The generator draws the barcode of a number that you give it and does not issue numbers.

Is a UPC-A the same as an EAN-13?

A UPC-A is an EAN-13 with a leading zero. Both give the same GTIN, and scanners read both. Use the format that your buyer or marketplace asks for.

Is the generator free, and does it store my codes?

It is free and needs no account. The browser draws 1D barcodes, and the server stores nothing. QR codes are drawn by the QR Server service (api.qrserver.com), which receives the text of the QR code.

Should I download PNG or SVG?

Download SVG for print, because it scales without blur. Download PNG for web pages, documents and tools that do not take SVG. For print, export at the size you need and do not enlarge the file.

Which product is this barcode?

Checking a sneaker or streetwear barcode? Look it up to see the product it belongs to. Free, no account.

Have manufacturer style codes in a CSV? Enrich your catalogue in bulk. For a recurring integration, the barcode lookup API returns product, size and images for each code, with a 7-day free trial. The sneaker price API adds resale prices for the size of each barcode.

Learn more