Free barcode generator. Generate Code128 and EAN-13 barcodes for any text or number. Download as PNG. Works in your browser using JsBarcode. Instant generators for passwords, QR codes, barcodes, and more. TekPulse's Barcode Generator is completely free — no signup, no ads in results, and no data stored on our servers.
Check digit (EAN-13/UPC-A) = 10 − [(Σ odd-position digits + 3 × Σ even-position digits) mod 10]
Different barcode symbologies encode data differently. Code128 (the default here) can encode any ASCII text or number using a variable-width bar pattern, making it the most flexible choice for general use. EAN-13 and UPC-A are fixed-length numeric formats used on retail products: you enter 12 digits and the library computes a 13th 'check digit' using a weighted checksum (odd-position digits counted once, even-position digits counted ×3, summed and taken mod 10) so a scanner can detect a single misread digit. Code39 is an older alphanumeric format still used in logistics and ID badges; ITF-14 is used on shipping cartons; Pharmacode is a specialized format for pharmaceutical packaging verification.
Example: for UPC-A content 03600029145, the checksum of odd/even positions (weighted 1×/3×) determines the final check digit 2, giving the complete 12-digit UPC 036000291452 — if a scanner misreads any single digit, the checksum won't match and the read is rejected rather than silently accepted as wrong data.
Help others discover this free tool. Share it or embed it on your website.
Free to embed with attribution link to tekpulse.in
Was this tool helpful?