Barcode Generator
Generate professional barcodes for products, inventory, and marketing. Supports 1D barcodes (UPC-A, EAN-13, Code 128, Code 39, ITF-14, Codabar) and 2D QR codes. Customize colors and size. Download as PNG or SVG.
1D Barcodes
2D Barcodes
Preview
Embed This Tool
Add this tool to your website with customizable styling
How to Use
- 1 Choose barcode type — Select from 1D barcodes (UPC-A, EAN-13, Code 128, etc.) or 2D QR Code depending on your needs.
- 2 Enter your value — Type the data to encode. For retail barcodes (UPC, EAN), enter the product code. For Code 128, any alphanumeric text works.
- 3 Customize appearance — Adjust width, height, colors, and whether to show the value text below the barcode.
- 4 Check validation — The generator validates your input and auto-calculates check digits for UPC and EAN codes.
- 5 Download or copy — Download your barcode as PNG (for web/print) or SVG (for scaling). You can also copy to clipboard or print directly.
Frequently Asked Questions
Which barcode type should I use?
For US/Canada retail products, use UPC-A (12 digits). For international products, use EAN-13 (13 digits). For shipping and logistics, Code 128 is most common. For general purposes or URLs, use QR codes.
What is a check digit?
A check digit is the last digit in UPC and EAN codes, calculated from the other digits to detect scanning errors. Our generator automatically calculates this for you.
Can I use these barcodes commercially?
The generated barcodes are free to use. However, for retail products, you'll need to register with GS1 to get official UPC/EAN numbers assigned to your company. The barcode itself is just the visual representation.
PNG vs SVG - which should I choose?
Use PNG for web, email, and standard printing. Use SVG for high-resolution printing, large format displays, or when you need to scale the barcode without losing quality.