Barcode Generator
Generate various types of barcodes for products, inventory, and more.
Configuration
Example: Example123
Display Options
Preview
Generate and scan barcodes online — create QR codes, Code 128, EAN-13, UPC-A, Code 39, PDF417, and 20+ other barcode formats from any text or URL. Scan existing barcodes from images using your webcam or file upload. All processing runs in your browser.
Online Barcode Generator and Scanner for All Major 1D and 2D Formats
Barcodes are the universal language of physical products, supply chains, event management, and document tracking systems. Each barcode format is optimized for specific use cases: 1D linear barcodes like EAN-13 and UPC-A encode product identifiers for retail point-of-sale systems; Code 128 and Code 39 encode alphanumeric data for shipping labels and inventory management; 2D matrix barcodes like QR Code and Data Matrix encode URLs, contact information, and arbitrary binary data in a compact, error-tolerant format.
Generating barcodes that meet industry standards requires precise specification of symbology rules — check digit calculation, quiet zone requirements, module width specifications, and character encoding sets vary between formats. Amateur barcode generators often produce technically non-compliant barcodes that scan unpredictably in live environments. This generator uses the industry-standard JsBarcode and ZXing libraries to produce standards-compliant barcodes guaranteed to scan correctly in retail, logistics, and document management workflows.
The barcode scanner mode uses the ZXing multi-format barcode detection library to decode barcodes from uploaded images or live webcam feed. It detects barcodes at any orientation (rotated, skewed, or partially obscured) and identifies the barcode format alongside the decoded content, handling everything from well-lit Code 128 labels to challenging QR codes on curved surfaces.
Multi-Format Barcode Generation With Compliance Validation
This tool validates your input data against the requirements of each barcode format before generating. EAN-13 and UPC-A require numeric-only input of specific lengths with computed check digits — the generator calculates and appends check digits automatically. Code 128 automatically selects the most compact character encoding sub-set (A, B, or C) for your input string. QR Codes automatically choose the appropriate data mode (Numeric, Alphanumeric, Byte, or Kanji) and apply the selected error correction level (L, M, Q, or H — 7% to 30% error recovery). This validation prevents generating barcodes that appear correct but fail scanning in production environments.
Inventory and Asset Management Labels
Generate Code 128, Code 39, or QR Code barcodes for internal asset tracking, warehouse inventory systems, and physical product labeling that integrates with barcode scanner hardware.
Event Ticketing and Access Control
Create QR Code or PDF417 barcodes encoding ticket IDs for event entry scanning, conference badges, boarding passes, loyalty cards, and membership access systems.
Retail Product Labeling
Generate EAN-13, EAN-8, UPC-A, or UPC-E barcodes for product labels compliant with GS1 retail standards, ready for printing on label stock for retail point-of-sale scanning.
- 1
Select Barcode Format
Choose from 20+ supported formats including QR Code, Code 128, EAN-13, UPC-A, EAN-8, Code 39, ITF, Codabar, PDF417, Data Matrix, and Aztec. Each format shows its recommended use case and data encoding limits.
- 2
Enter Your Data and Configure Options
Type or paste the value to encode. For QR Codes, choose error correction level (L/M/Q/H) and output size. For linear barcodes, set bar width, height, and whether to display the human-readable number below the bars.
- 3
Preview and Validate
A live preview updates as you type. The validation status confirms your input meets the format requirements — check digit calculation, allowed character set, and maximum data capacity for the selected format.
- 4
Download Your Barcode
Download as SVG (infinitely scalable, ideal for print), PNG at your chosen resolution, or copy the SVG source as text. High-DPI PNG output eliminates pixelation at small print sizes.
20+ Barcode Formats Including QR Code and EAN-13
Covers all major 1D and 2D symbologies: QR Code, Code 128, EAN-13, UPC-A, Code 39, PDF417, Data Matrix, ITF, Codabar, Aztec, and more — in a single interface.
Standards-Compliant Generation With Check Digit Calculation
Automatically calculates EAN/UPC check digits, selects optimal Code 128 sub-sets, and validates input against each format's character set and data capacity requirements.
Barcode Scanner From Image or Webcam
Decode any barcode by uploading an image containing it or using your device camera for live scanning. The ZXing engine handles all orientations and partial obscuration.
SVG and High-DPI PNG Export
Download barcodes as crisp SVG for scalable print use or as high-resolution PNG. SVG barcodes can be embedded directly in HTML and scaled with CSS without any loss of quality.
Found this tool useful?
Share your experience and help others discover it.