SkuWorth
Barcodes

Barcode Generator

Generate print-ready UPC-A, EAN-13, Code 128, ITF-14, and Code 39 barcodes 100% in your browser. Instant GS1 check-digit validation with vector SVG and 300 DPI PNG export.

Client-Side GS1 Engine
Valid Code 128 · 12 alphanumeric characters
Optical Geometry & Print Settings
Bar Width2px
Height80px
Quiet Zone15px
Show Text
Size:16px
Live Barcode Output StageOptical Scanner High-ContrastQuiet Zone Protected
Print Ready · 100% In-Browser

How It Works & Exact Technical Standard

Barcodes encode numerical and alphanumeric data into a sequence of parallel dark bars and light spaces of varying widths that optical scanning devices translate into digital characters. Different e-commerce and retail environments require distinct symbology standards:

UPC-A (GTIN-12)

Standard 12-digit format utilized across United States and Canadian retail POS. Consists of a 1-digit numbering system character, 5-digit manufacturer prefix, 5-digit item number, and 1 final Modulo-10 check digit.

EAN-13 (GTIN-13)

The international standard for global point-of-sale scanning outside North America. Encodes 13 digits: a 2 or 3-digit country prefix, followed by manufacturer and item numbers, concluded with a Modulo-10 check digit.

Code 128 (High-Density ASCII)

The dominant logistics standard for Amazon FNSKU product barcodes, shipping labels, and internal inventory bin tracking. Supports uppercase, lowercase, punctuation, and digits at high data density.

ITF-14 (Interleaved 2 of 5)

Engineered specifically for printing on corrugated cardboard master shipping cartons. Features a large tolerance for low-grade ink absorption and incorporates a Modulo-10 checksum across 14 digits.

The GS1 Modulo-10 Check-Digit Formula

To prevent scanning errors caused by smudges or operator entry mistakes, GS1 standard symbols utilize a mathematical checksum calculated from the preceding data digits:

Step-by-Step Modulo-10 Algorithm:
  1. Enumerate data digits from right to left (position 1 is immediately adjacent to check digit).
  2. Multiply digits in odd positions (1, 3, 5, 7, 9, 11...) by 3.
  3. Multiply digits in even positions (2, 4, 6, 8, 10, 12...) by 1.
  4. Sum all resulting products together: Sum = Σ(Odd × 3) + Σ(Even × 1).
  5. Check Digit = (10 - (Sum % 10)) % 10. If remainder is 0, check digit is 0.

Step-by-Step Instructions

  1. Choose the Matching Symbology: Select Code 128 for Amazon FNSKU, SKU labeling, or internal warehouse tracking. Choose UPC-A for North American retail checkout products, EAN-13 for international retail distribution, or ITF-14 for corrugated master case cartons.
  2. Input Your Data String: Enter your licensed GTIN or SKU code. For UPC-A (11 or 12 digits), EAN-13 (12 or 13 digits), and ITF-14 (13 or 14 digits), SkuWorth automatically computes the final Modulo-10 check digit if you omit it, or validates your provided check digit in real time.
  3. Calibrate Optical Geometry: Adjust bar width (typically 2px for standard thermal labels), height (minimum 80px recommended for high-speed conveyor scanning), and quiet-zone margins (minimum 15px to prevent scanner trigger faults).
  4. Export for Production: Click Download SVG for direct vector integration into professional packaging layouts or thermal label printer software (Zebra ZPL, Rollo, DYMO). Click Download PNG (300 DPI) for high-resolution graphics software.

Worked Real-World E-Commerce Example

Case Study: Private-Label Organic Coffee BrandRetail & Amazon FBA

An e-commerce coffee merchant holds a GS1 prefix and assigns item number 012345678905. To retail the 12oz whole bean bag internationally, an EAN-13 barcode is required:

Raw Prefix Digits: 0 1 2 3 4 5 6 7 8 9 0 5 (12 digits)
Odd Position Sum (×3): (5 + 9 + 7 + 5 + 3 + 1) × 3 = 30 × 3 = 90
Even Position Sum (×1): (0 + 8 + 6 + 4 + 2 + 0) × 1 = 20
Total Sum: 90 + 20 = 110
Modulo-10 Check Digit: (10 - (110 % 10)) % 10 = 0
Final Scannable GTIN-13: 0123456789050

The merchant exports the Vector SVG with a 15px quiet zone, ensuring Zebra thermal label printers produce crisp edges at 203 DPI that scan instantaneously at retail checkout. For the fulfillment center bin, they create a secondary Code 128 label: WH-A04-SH02.

Frequently Asked Questions

What is the difference between UPC-A, EAN-13, and Code 128 barcodes?
UPC-A is a 12-digit numeric barcode primarily used for retail point-of-sale checkout in the United States and Canada. EAN-13 is a 13-digit superset of UPC-A used across international retail markets outside North America. In contrast, Code 128 is a high-density alphanumeric symbology capable of encoding all 128 ASCII characters (letters, numbers, and symbols). Code 128 is not typically used for direct retail item checkout; instead, it serves as the industry standard for logistics, shipping cartons, warehouse bin locations, and Amazon FNSKU item labels.
How does the GS1 Modulo-10 check digit calculation work?
The GS1 Modulo-10 algorithm calculates an error-detection check digit across all data digits. Working from right to left (excluding the check digit position), digits in odd positions are multiplied by 3, while digits in even positions are multiplied by 1. All products are summed together. The check digit is the smallest number required to round the sum up to the nearest multiple of 10, formulated mathematically as (10 - (sum % 10)) % 10. If the sum is already a multiple of 10, the check digit is 0.
Are barcodes generated on SkuWorth free to use for commercial products?
Yes. SkuWorth does not claim any intellectual property, licensing rights, or royalties over barcodes generated on our platform. The generated vector SVG files and high-resolution PNG images are 100% royalty-free for commercial use on physical retail product packaging, master logistics cartons, Amazon listings, and warehouse labeling. However, you must ensure that any GTIN, UPC, or EAN number you print is legitimately licensed to your business through GS1 or an authorized reseller.
Do I need to register with GS1 to sell products on Amazon or in retail stores?
Major retail marketplaces — including Amazon, Walmart, Target, and regional grocery chains — require verifiable Global Trade Item Numbers (GTINs) issued under an authentic GS1 Company Prefix registered directly to your brand. While SkuWorth provides the exact mathematical rendering engine to generate the scannable visual symbol and verify check digits, it does not assign or register official GS1 numbers. For commercial retail distribution, always obtain your prefix through GS1 (gs1.org).
Why should I download SVG instead of PNG for thermal barcode label printing?
Scalable Vector Graphics (SVG) format defines lines and spaces using mathematical vectors rather than fixed pixels. When printed on thermal direct or thermal transfer label printers (such as Zebra, Rollo, or DYMO), vector SVGs render at the printer's exact native resolution (203 DPI, 300 DPI, or 600 DPI) without antialiasing blur or jagged edges. PNG images, while high resolution, are raster bitmaps that can suffer edge interpolation or print scaling distortion if sized incorrectly.
What is a barcode quiet zone and why does my scanner fail without it?
A barcode quiet zone is the unprinted, solid white blank margin preceding the first bar and following the final bar of the symbol. Optical laser and CCD camera scanners require this unprinted buffer (typically at least 10 times the width of the narrowest bar, or a minimum of 0.25 inches) to calibrate background reflectance and synchronize decoding timers before reading the bars. If text, graphics, or packaging box borders intrude into the quiet zone, scanners fail to recognize the symbol start/stop patterns.

Related E-Commerce Tools

Cross-Silo Utilities