Barcode Generator.

Generate Code 128, EAN, UPC, ITF-14, and QR codes in your browser.

Barcode Generator

Examples

Product UPC

Standard retail product barcode

123456789012

Retail Product

International retail product barcode (EAN-13)

5901234123457

ISBN

Book ISBN (EAN-13)

9780123456786

Website URL

URL encoded in QR code

https://example.com

Serial Number

Product serial number

SN-2024-1234-ABCD

vCard Contact

Contact information in QR code

BEGIN:VCARD VERSION:3.0 FN:Joh...

Shipping Label

Package tracking number

TN-987654321-US

Library Code

Library item identification

LIB-2024-5678

Wi-Fi Config

Wi-Fi network configuration

WIFI:T:WPA;S:NetworkName;P:Pas...

Document ID

Document reference number

DOC-2024-ABC-123

Short URL

Shortened URL in QR code

https://short.url/abc123

How it works

What a barcode generator does

A barcode generator encodes text or numbers into a scannable 1D barcode or 2D QR image. This tool runs in your browser with JsBarcode and the qrcode library: pick a format, enter Content, adjust bar or QR size if needed, then Download (SVG for 1D, PNG for QR).

How to use this barcode generator

  1. Open Barcode Format and choose a 1D or 2D option.
  2. Type the payload in Content (use the format example as a length guide).
  3. Optional: open Settings for bar width, height, font size, QR size, margin, or Show Text.
  4. Download the preview from Generated Barcode.

Formats this tool supports

Retail formats such as EAN-13 and UPC follow GS1 digit-length rules. Invalid lengths will fail to render; use the sample values below as a starting point.

Barcode and QR formats supported by this generator
FormatTypeTypical useExample content
Code 1281DGeneral purpose labelsABC-123456
EAN-131DInternational retail (GS1)5901234123457
EAN-81DCompact retail96385074
UPC1DUS retail products123456789012
Code 391DIndustry and logisticsABC-1234
ITF-141DShipping / packaging levels12345678901231
QR Code2DHigh-capacity 2D datahttps://example.com
URL QR Code2DQR optimized for URLshttps://example.com

Using codes in campaigns or packaging?

For landing pages and tracking that sit behind QR links, see our digital marketing services.

Use cases

Real-world uses.

Retail and inventory
Label products and stock with Code 128, EAN-13, UPC, or ITF-14 barcodes.
Marketing links
Encode a URL in a QR code for print, packaging, or event materials.
Logistics labels
Use Code 39 or Code 128 for warehouse and shipping identifiers.

How it works

Four steps.

  1. 01

    Select a barcode or QR format from the Barcode Format list.

  2. 02

    Enter the content to encode (use the format example as a length guide).

  3. 03

    Optional: open Settings to change bar width, height, font size, QR size, margin, or Show Text.

  4. 04

    Download the preview (SVG for 1D barcodes, PNG for QR codes).

Features

1D barcodes and QR codes.

Pick a format, enter content, adjust size settings, and download SVG or PNG.
  • Multiple 1D formats

    Code 128, EAN-13, EAN-8, UPC, Code 39, and ITF-14 for retail and logistics labels.

  • QR Code and URL QR

    Generate general QR payloads or URL-focused QR codes and download as PNG.

  • Size controls

    Adjust bar width, height, font size, QR size, and margin before you download.

FAQ

Questions.

Can't find an answer? Send us your question.

What barcode formats are supported?

Code 128, EAN-13, EAN-8, UPC, Code 39, ITF-14, QR Code, and URL QR Code.

Does generation run in my browser?

Yes. The tool uses JsBarcode and the qrcode library client-side. Content is not uploaded to Infyways for encoding.

What file type do I download?

1D barcodes download as SVG. QR Code and URL QR Code download as PNG.

Why will EAN-13 or UPC not render?

Those formats expect a fixed digit length (and check digits). Use the sample values in the format list as a starting point.

Can I hide the human-readable text under a 1D barcode?

Yes. Open Settings and turn off Show Text when you only want the bars.

Is this barcode generator free?

Yes. You can generate and download codes without creating an account.

Related tools

More Utilities tools.