ZBar is an Open-source Barcode and QR Code Reader

ZBar is an Open-source Barcode and QR Code Reader
Photo by sentidos humanos / Unsplash

ZBar is an open source software suite for reading bar codes from various sources, such as video streams, image files and raw intensity sensors. It supports many popular symbologies (types of bar codes) including EAN-13/UPC-A, UPC-E, EAN-8, Code 128, Code 39, Interleaved 2 of 5 and QR Code.

The flexible, layered implementation facilitates bar code scanning and decoding for any application: use it stand-alone with the included GUI and command line programs, easily integrate a bar code scanning widget into your Qt, GTK+ or PyGTK GUI application, leverage one of the script or programming interfaces (Python, Perl, C++) ...all the way down to a streamlined C library suitable for embedded use.


  • Cross platform - Linux/Unix, Windows, iPhone®, embedded...
  • High speed - real time scanning from video streams
  • Small memory footprint
  • Small code size - the core scanner and EAN decoder represent under 1K lines of C code
  • Not limited to images
  • No floating point operations
  • Suitable for embedded applications using inexpensive processors/hardware
  • Modular components can be used together or separately


  • Retail
  • Automated document processing
  • Inventory tracking
  • Mobile applications


  • Windows
  • Linux: Debian, Fedora, Gentoo, Ubuntu,
  • macOS
  • Android
  • iOS
  • iOS SDK


ZBar is licensed under the GNU LGPL 2.1 to enable development of both open source and commercial projects.

Resources & Download

ZBar bar code reader

Read more