Free barcode generator and QR code generator

Make a Code 128, EAN-13 or UPC-A barcode or a QR code in your browser and download it as SVG or PNG. No sign-up, no watermark, nothing uploaded.

Type

Letters, digits and symbols (plain ASCII).

How to make a barcode

  1. Choose the type. Code 128 for internal labels, EAN-13 or UPC-A for retail product numbers, QR for links and text.
  2. Enter the content. For EAN-13 type 12 digits and for UPC-A 11 digits: the check digit is calculated for you. Paste the full number to have the check digit verified instead.
  3. Adjust size. The module size is the width of the thinnest bar (or one QR square) in pixels. 2 to 4 px suits screens; for print, download SVG, or PNG at 6 px and above.
  4. Download as SVG for label and design software, or PNG for documents and quick printing.
  5. Test it. Scan the barcode on your screen with a phone before printing a batch.

Which barcode type to use

Code 128

The workhorse of warehouses and shipping. It encodes every printable ASCII character (letters, digits, punctuation) and switches to a compact double-density mode for runs of digits, so a long numeric code stays short. Use it for SKU labels, bin and shelf locations, asset tags and order numbers. Every barcode scanner, including the ScanKeys keyboard, reads it.

EAN-13

The 13-digit retail barcode used across Europe and most of the world, and on books as the ISBN-13 (starting 978 or 979). The first digits are a GS1 company prefix; the last is a check digit computed with a mod-10 weighting of 1 and 3. Only use EAN-13 numbers you have been assigned, or retailers and marketplaces such as eBay and Amazon may reject the product.

UPC-A

The 12-digit retail barcode of the US and Canada. A UPC-A is an EAN-13 with a leading zero, so scanners everywhere read it. As with EAN, the last digit is a check digit and the number should come from GS1 US. Shopify’s Barcode field takes UPC-A; see Shopify barcode scanning.

QR code

A 2D code that holds up to a few thousand characters: URLs, Wi-Fi details, contact cards or plain text. The error-correction level decides how much of the code can be damaged or covered and still read: Low keeps the code small, High lets you put a small logo in the middle. Phone cameras read QR codes natively; with ScanKeys, the content is typed straight into a field, see QR code to keyboard.

Printing tips

  • Keep the white quiet zone around the code: the generator adds it, so do not crop the image tightly.
  • Print black on white. Coloured or low-contrast barcodes and reversed (white on black) codes read poorly with many scanners.
  • Do not stretch a barcode in one direction only; resize proportionally, or change the module size and height here.
  • For thermal label printers, choose a module size that is a whole number of printer dots (for example 2 or 3 dots at 203 dpi) for crisp bars.
  • Scan a test print with your phone before printing hundreds.

Frequently asked questions

Is this barcode generator really free?
Yes. There is no sign-up, no watermark and no limit. Everything runs in your browser: the text you enter is not sent to a server.
Can I use the barcodes commercially?
Yes, the images you make are yours. Note that a retail UPC or EAN number must be licensed from GS1 if the product will be sold through retailers; the generator only draws the barcode for a number you already have.
Which format should I choose?
Code 128 for your own SKUs, bin and asset labels (letters, digits, dashes). EAN-13 or UPC-A for retail products with a GS1 number. QR for URLs, longer text and anything read by phones.
Why does EAN-13 change my last digit?
The 13th digit is a check digit calculated from the first 12. Enter 12 digits and it is added for you; enter 13 and the generator tells you if the last one is wrong.
SVG or PNG?
SVG is a vector file that stays sharp at any size: best for label software, print designers and documents. PNG is a picture at a fixed size: best for quick printing, emails and spreadsheets. Use a larger module size for PNG if it will be printed big.
How do I check the barcode works?
Scan it from your screen with a phone. With the ScanKeys keyboard, the decoded text is typed into a note, so you can compare it with what you entered.
Get ScanKeys on Google Play