Barcode Generator
Generate Code 128 barcodes from text. Customize bar width, height, colors, and text display. Download as PNG or copy to clipboard.
Supports printable ASCII characters (space through ~). Max recommended length: 80 characters.
Preview
How to Use Barcode Generator
- 1Enter text for your barcode.
- 2Customize bar width, height, and colors.
- 3See the live barcode preview.
- 4Download as PNG or copy to clipboard.
Zenovay
Privacy-first analytics for your website
Understand your visitors without invasive tracking. GDPR compliant, lightweight, and powerful.
Related Tools
CSS Gradient GeneratorCreate beautiful CSS gradients with a visual editor. Linear, radial, and conic gradients.
CSS Box Shadow GeneratorDesign CSS box shadows with visual controls. Adjust offset, blur, spread, and color.
CSS Border Radius GeneratorCreate custom border radius values with visual controls. Link or unlink corners for quick adjustment.
CSS Flexbox PlaygroundLearn and generate CSS Flexbox layouts visually. Adjust direction, alignment, wrapping, and gap in real time.
Frequently Asked Questions
What are barcodes?▾
Barcodes are machine-readable representations of data, typically displayed as a series of parallel black and white bars of varying widths. They encode information such as numbers or text that can be read by optical scanners or cameras. Barcodes are used to automate data entry, track inventory, identify products, and speed up checkout processes across retail, logistics, healthcare, and manufacturing.
What types of barcodes exist?▾
There are two main families: 1D (linear) barcodes and 2D barcodes. Common 1D formats include Code 128, EAN-13, EAN-8, UPC-A, Code 39, and ITF. 2D formats include QR Code, Data Matrix, PDF417, and Aztec Code. 1D barcodes encode data in horizontal bars only, while 2D formats encode data in both horizontal and vertical patterns, allowing much more data in less space.
What is the difference between Code 128 and EAN?▾
Code 128 is a high-density 1D barcode that can encode the full ASCII character set (128 characters), making it versatile for internal labeling, shipping labels, and inventory systems where the content is variable. EAN-13 and EAN-8 are fixed-length numeric-only barcodes standardized for retail products sold in stores — EAN-13 encodes a 12-digit number plus a check digit. Choose Code 128 for flexible internal use; choose EAN for consumer retail products that need a globally recognized identifier.
How does barcode scanning work?▾
A barcode scanner illuminates the barcode with a light source (laser or LED) and measures the reflected light. Dark bars absorb light; white spaces reflect it. The scanner converts the pattern of light and dark into an electrical signal, which a decoder interprets as a sequence of bar widths. Those widths are mapped to characters according to the barcode symbology's encoding table. The result is the original text or number, which is sent to the host system as keyboard input or a serial data stream.
What are barcodes used for?▾
Barcodes have a huge range of applications: retail point-of-sale checkout, inventory and warehouse management, shipping and logistics tracking (e.g., FedEx, UPS tracking numbers), airline boarding passes, library book management, hospital patient wristbands, asset tracking, document management, event ticketing, and supply chain traceability. They dramatically reduce manual data-entry errors and speed up operations wherever unique identification is needed.