Barcode Generator & Reader

Generate Code 128 barcodes and read existing barcodes using your camera or an uploaded image. All processing happens in your browser.

Generate a barcode

Code 128

Enter a value to create a linear barcode. The generator runs in your browser and does not use a barcode-generation API.

Use printable ASCII characters, such as letters, numbers, spaces, and standard symbols. Maximum 80 characters.

12 / 80

100 px

Displayed beneath the barcode in the preview and downloaded images. This label is not encoded.

Preparing your barcode preview…

Preview

SVG output

For reliable scanning, use a high-contrast print and avoid shrinking the downloaded barcode too much. Code 128 is a general-purpose format, not a UPC/EAN retail product code.

Read / Scan barcode

Scan using your camera or upload an image. Decoding happens locally in your browser.

Camera scanner

Camera is off

Start scanning to request camera access.

Scan an image

Supports formats recognized by ZXing, including Code 128, EAN/UPC and QR codes. Results depend on image quality.

Ready to scan.

Decoded result

Detected format

—

Encoded content

Nothing decoded yet.

Camera scanning and decoding barcodes from uploaded images will be implemented in the next milestone.

✦ Gerardo ICS

© 2026 Gerardo Rodriguez

LinkedinGitHub