Free Online Barcode Generator
This barcode generator produces scannable 1D symbols — Code 128 for arbitrary text and EAN/UPC for retail product numbers — as PNG or SVG.
Your data is processed entirely in your browser and never sent to any server.
Any ASCII text. Best for general use.
How to Use This QR Tool
- Pick the format that matches your use case.
- Enter the value — text for Code 128, digits for EAN/UPC.
- Invalid lengths or check digits surface as inline errors you can fix and retry.
- Click Download PNG for raster printing or SVG for vector artwork.
What Is a Barcode Generator?
1D barcodes are the parallel-line codes you see on retail packaging, inventory tags, shipping labels, and ID badges. Different formats trade character set against density:
• Code 128 encodes any ASCII text and dominates internal inventory and logistics labelling — variable length, three sub-modes (A, B, C) the encoder auto-selects. • EAN-13 / EAN-8 are the global retail standards on supermarket products outside North America. • UPC-A is the 12-digit North American sibling of EAN-13.
This tool validates the input for each format (length, digit-only where required, check digit for EAN/UPC) and renders the symbol locally with a pure-JavaScript encoder — nothing leaves the browser. For UPC-E specifically, use the dedicated UPC tool which exposes the compressed variant.
Frequently Asked Questions
What barcode formats are supported?
What's the difference from QR codes?
Can I use these for retail?
Published by the WeGotEveryTool team. We build and test every tool in-house and update pages when the underlying spec, formula, or recommendation changes.
Reviewed: May 2026. Disclaimer: this tool is provided as-is for general informational use. For decisions with material consequences (medical, legal, financial, security) verify results against a qualified professional source.
Related QR Codes
Create QR codes for URLs, text, WiFi, and more. Download as PNG or SVG. Free and instant.
Generate EAN-13 and EAN-8 barcodes. Standard for retail products worldwide.
Generate UPC-A and UPC-E barcodes. Standard for retail in North America.
Scan and decode QR codes from your device. Upload an image or use your camera. Works in browser.
Create a QR code that links to any URL. Perfect for menus, flyers, and marketing materials.