Barcode Generator

Create scannable barcodes and QR codes online for free. Enter your product code, label text, or URL, choose a format, then download PNG or SVG or print—everything runs in your browser.

Letters, numbers, and ASCII symbols — logistics, IDs, general labels

Up to 80 ASCII characters.

Buy me a Coffee

Enjoying this tool?

Donate via PayPal

What Is a Barcode?

A barcode is a machine-readable pattern of bars and spaces (1D) or modules (2D) that encodes data such as a product number, serial ID, or URL. Laser scanners and phone cameras read the pattern and pass the decoded value to checkout systems, inventory software, or mobile apps.

Businesses use barcodes to speed up retail checkout, track warehouse stock, label shipments, and link physical items to digital records. Choosing the right symbology matters: retail shelves usually need EAN or UPC, logistics cartons often use ITF-14, and general alphanumeric labels frequently use CODE 128.

How to Create a Barcode

  1. Select the barcode format that matches your use case (retail, logistics, or QR).
  2. Enter the exact value to encode—digits for EAN/UPC, text for CODE 128, URLs for QR codes.
  3. Review the live preview and fix any validation message before downloading.
  4. Adjust colors, size, and quiet zone if your printer or label stock requires it.
  5. Download PNG for quick sharing, SVG for professional printing, or print directly.

Barcode Formats

This generator supports the formats below. Only formats listed here are available in the tool.

CODE 128

A high-density 1D format that encodes the full ASCII character set. Common for shipping labels, internal asset tags, and supply-chain identifiers where alphanumeric data is required.

CODE 39

An older industrial symbology using uppercase letters, digits, and a limited set of symbols. Still found on warehouse badges, library systems, and legacy equipment labels.

EAN-13

The standard 13-digit retail barcode used across Europe and much of the world. Each code includes a check digit; scanners at checkout read it to look up price and product details.

EAN-8

A compact 8-digit retail barcode for small packages where a full EAN-13 will not fit—condiments, chewing gum, and similar items.

UPC-A

The 12-digit Universal Product Code used primarily in North America. Functionally similar to EAN-13 and ubiquitous on grocery and consumer goods packaging.

UPC-E

A zero-suppressed, six-digit UPC variant for very small retail packaging. Requires valid UPC-E numbering rules; use when your product GTIN is issued in compressed form.

ITF-14

Interleaved 2 of 5 barcode for outer cartons and logistics units. Encodes a 14-digit GTIN extension so warehouses can scan cases without opening retail inner packs.

QR Code

A 2D matrix code that stores URLs, plain text, Wi-Fi credentials, and more. QR codes are ideal when users will scan with a smartphone camera rather than a traditional laser scanner.

FormatTypeTypical useData
CODE 1281DLogistics / generalAlphanumeric
CODE 391DIndustrialAlphanumeric (uppercase)
EAN-131DRetail (global)Numeric (12–13 digits)
EAN-81DRetail (small packs)Numeric (7–8 digits)
UPC-A1DRetail (North America)Numeric (11–12 digits)
UPC-E1DRetail (small packs)Numeric (6–8 digits)
ITF-141DShipping / logisticsNumeric (13–14 digits)
QR Code2DURLs / general dataText (UTF-8)

How to Choose the Right Barcode

  • Retail products on shelf packaging → EAN-13 (international) or UPC-A (US/Canada). Obtain official numbers from your country's GS1 member organization.
  • Very small retail packs → EAN-8 or UPC-E when the full code will not fit.
  • Shipping cartons and pallets → ITF-14 with the case GTIN.
  • Internal labels, asset tags, mixed text → CODE 128 for flexibility.
  • Legacy industrial systems → CODE 39 when your spec requires it.
  • Marketing links, menus, event check-in → QR Code for phone scanning.

Need URL-friendly text instead of a barcode? Try the Slugify URL Generator or UTM Builder for campaign links.

Download and Print Your Barcode

PNG downloads are ideal for slides, email, and quick proofs. The image is raster, so enlarging far beyond the preview size can look soft—keep PNGs near their generated dimensions.

SVG is vector-based: bars and modules stay sharp at any print size. Use SVG for label printers, packaging mockups, and professional artwork. Open the file in Illustrator, Inkscape, or your label software.

Printing: Use the Print button for a clean single-barcode layout. For production labels, leave adequate quiet zone (margin) around the symbol—scanners need clear white space. Print at 100% scale; avoid stretching a barcode unevenly in Word or design tools.

Frequently Asked Questions

What is a barcode generator?

A barcode generator encodes text or numbers into a scannable barcode image. This tool creates CODE 128, CODE 39, EAN, UPC, ITF-14, and QR codes in your browser so you can download or print labels without desktop software.

Is this barcode generator free?

Yes. Case Modify’s barcode generator is free to use with no account required. Generation runs locally in your browser after the page loads.

Can I create a barcode online?

Yes. Enter your value, pick a format, preview the barcode instantly, then download PNG or SVG or print directly from the page.

What barcode format should I use?

Use EAN-13 or UPC-A for retail products, ITF-14 for cartons and logistics, CODE 128 for general alphanumeric labels, CODE 39 for industrial tags, and QR codes for URLs or longer text.

Can I download my barcode?

Yes. Download a PNG for slides and documents, or SVG for sharp printing at any size.

Can I print the barcode?

Yes. Use the Print button to open your browser print dialog with a clean preview of the current barcode.

Can I create a CODE 128 barcode?

Yes. Select CODE 128 and enter letters, numbers, or symbols supported by the format. The preview updates as you type.

Can I create an EAN-13 barcode?

Yes. Choose EAN-13 and enter 12 or 13 digits (including the check digit). The tool validates the length before rendering.

Can I create a UPC barcode?

Yes. Select UPC-A for standard North American retail barcodes (11 or 12 digits) or UPC-E for compressed 6–8 digit codes on small packages.

Can I add a logo to my QR code?

Yes. Upload a PNG, JPG, WebP, or SVG logo when QR Code is selected. The tool places it in the center and uses high error correction so the code stays scannable. Download PNG to keep the logo; SVG export is disabled when a logo is present.

What is the difference between a barcode and a QR code?

Traditional 1D barcodes (EAN, UPC, CODE 128) encode a short value read by laser scanners—ideal for checkout and inventory. QR codes are 2D and store more data (URLs, Wi-Fi, text) and are scanned with phone cameras.