A command-line utility for encoding and decoding QR codes with support for multiple formats and variants.
qrtool is a versatile command-line utility for generating and reading QR codes. It provides a simple yet powerful interface for encoding text into QR codes and decoding them from various image formats, making it suitable for automation and integration into workflows.
Developers, system administrators, and automation engineers who need to programmatically generate or read QR codes as part of scripts, CI/CD pipelines, or command-line workflows.
Developers choose qrtool for its extensive format support, Unix philosophy adherence, and pipeline-friendly design, offering a reliable alternative to tools like qrencode and zbarimg with modern features like color customization and shell completions.
A command-line utility for encoding and decoding QR code
Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.
Supports encoding to PNG, SVG, EPS, and terminal outputs like ANSI/Unicode, and decoding from over 15 image formats including WebP and TIFF, making it highly versatile for different workflows.
Designed for pipeline integration, reading from stdin and writing to stdout, which allows seamless combination with tools like ImageMagick for format conversion, as shown in the README examples.
Generates Micro QR and rMQR codes in addition to standard QR codes, providing options for space-constrained applications that many other tools lack.
Allows setting foreground and background colors using CSS color strings like 'brown' or hex codes, enabling visual customization beyond basic black and white QR codes.
Output images are not optimized by default; the README explicitly recommends using external tools like oxipng or svgcleaner for size reduction, adding extra steps to workflows.
Decoding from SVG requires enabling the 'decode-from-svg' feature at compile time, and other formats can be individually disabled, which complicates setup for users needing specific functionality.
Even with the optional 'optimize-output-png' feature, optimization is basic compared to dedicated tools, and the README cautions about potential lossy color conversion depending on output formats.