Guide
Barcode generator online (Code128, EAN, UPC)
Create 1D barcode PNGs for SKUs and retail in your browser on Tools by RS - Code128, EAN, UPC, Code39, with clear guidance on when to use QR instead.
Published 2026-09-28

Warehouse labels, retail packaging, and internal SKU stickers usually need a 1D barcode that linear scanners read. Marketing links and event check-ins are better as QR codes. Picking the right symbology avoids unscannable labels on the floor.
Choose a symbology
- Code128 for general alphanumeric SKUs and internal inventory strings.
- EAN-13 or UPC for retail digit lengths with valid check digits.
- Code39 when a partner spec still expects that legacy format.
Generate and verify
- Open Barcode Generator and enter the exact value your scanner expects.
- Select the symbology that matches your hardware or retailer rules.
- Download the PNG and test with a physical scanner before a large print run.
- Keep a text backup of every encoded value in your inventory system.
When to use QR instead
URLs, Wi-Fi hints, and campaign deep links belong on QR Code Generator. See Download a QR code as PNG for transparent exports and print checks.
Try these tools
Frequently asked questions
Does Barcode Generator upload my product codes?
No. Barcode Generator renders PNGs with bwip-js in your browser. Values are not posted to our servers.
Should I use Barcode Generator or QR Code Generator?
Use Barcode Generator for linear 1D codes (Code128, EAN, UPC, Code39). Use QR Code Generator for square QR PNGs that encode URLs or short text.
More long-form writing may also appear on blog.rsroshi.dev.