Barcode Generator.
Generate Code 128, EAN, UPC, ITF-14, and QR codes in your browser.
- Utilities
- Runs 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
- Open Barcode Format and choose a 1D or 2D option.
- Type the payload in Content (use the format example as a length guide).
- Optional: open Settings for bar width, height, font size, QR size, margin, or Show Text.
- 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.
| Format | Type | Typical use | Example content |
|---|---|---|---|
| Code 128 | 1D | General purpose labels | ABC-123456 |
| EAN-13 | 1D | International retail (GS1) | 5901234123457 |
| EAN-8 | 1D | Compact retail | 96385074 |
| UPC | 1D | US retail products | 123456789012 |
| Code 39 | 1D | Industry and logistics | ABC-1234 |
| ITF-14 | 1D | Shipping / packaging levels | 12345678901231 |
| QR Code | 2D | High-capacity 2D data | https://example.com |
| URL QR Code | 2D | QR optimized for URLs | https://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.
- 01
Select a barcode or QR format from the Barcode Format list.
- 02
Enter the content to encode (use the format example as a length guide).
- 03
Optional: open Settings to change bar width, height, font size, QR size, margin, or Show Text.
- 04
Download the preview (SVG for 1D barcodes, PNG for QR codes).
Features
1D barcodes and QR codes.
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.
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.
Age Calculator
Calculate age from birth date
Arraygen
Generate arrays for development projects
Asciify
Convert text to ASCII art
Binary Operations
Perform operations on binary numbers
Binary Zero Counter
Count zeros in binary sequences
Birthday Countdown
Track birthdays with countdown timer, age calculator, and zodiac signs
Calorie Calculator
Calculate daily calorie requirements accurately
Cat Age Calculator
Convert cat years to human years with lifestyle adjustments
Built by Infyways
Need more than a tool.
These utilities are made by the Infyways studio. When a free tool is not enough, we build the real thing.