qrtool is a command-line utility for encoding and decoding QR codes. It is designed for both interactive terminal use and incorporation into scripts that need to generate or interpret QR symbols.
The application supports several QR code variants, including conventional QR codes, Micro QR and rectangular Micro QR. It can produce image files for printing or sharing, as well as representations that can be displayed directly in a terminal.
One of qrtool’s strengths is its integration with standard Unix input and output streams. Text can be supplied through a pipeline, and generated images or decoded results can be redirected to files or passed to other programs.
This is free and open source software.
Key Features
- Encode text and other supported input into QR code symbols.
- Decode QR codes from image files.
- Support standard QR Code, Micro QR Code and rectangular Micro QR Code variants.
- Generate PNG, SVG, EPS and PIC output.
- Render QR codes directly in the terminal using ASCII and Unicode characters.
- Support ANSI, 256-colour and true-colour terminal output.
- Provide inverted terminal representations when needed.
- Specify foreground and background colours using CSS colour values.
- Read data from standard input and write results to standard output.
- Decode images in formats including PNG, JPEG, GIF, WebP, BMP and TIFF.
- Support additional image formats such as QOI, TGA and OpenEXR when the relevant decoding features are enabled.
- Detect input image formats automatically or accept an explicit format setting.
- Generate shell completion scripts for Bash, Elvish, Fish, Nushell, PowerShell and Zsh.
- Support integration with image optimisation utilities through shell pipelines.
- Offer optional PNG output optimisation when built with the corresponding feature.
- Cross-platform support – runs on Linux, macOS and Windows.
Website: github.com/sorairolake/qrtool
Support:
Developer: Shun Sakai
License: Apache License 2.0 or MIT License

qrtool is written in Rust. Learn Rust with our recommended free books and free tutorials.
Related Software
| QR Tools | |
|---|---|
| Zint | Barcode generating solution |
| CoBang | QR code and barcode scanner |
| Qreator | Easily create your own QR codes |
| Decoder | Fancy yet simple QR Codes scanner and generator |
| qrtool | Encode and decode QR code |
| QRab | QR code reader |
| qr-backup | Paper backup of files using QR codes |
| QR ScanGen | QR code scanner and generator |
| QR Scanner | QR scanner/generator app |
| libqrencode | Encoding data in a QR Code symbol |
| ClipQR | Scan QR codes on screen and from camera |
| Qrca | QR code scanner for Plasma Mobile |
| qr-rs | Encode URLs or text into QR codes |
| segno | Python library and CLI tool for generating QR Codes and Micro QR Codes |
| AR Tag | Minimalist image editor |
Read our verdict in the software roundup.
LinuxLinks helps you discover the best free and open source software for Linux. Explore our extensive collection of recommended applications, including alternatives to popular proprietary software.We also publish software reviews, Linux tutorials, hardware reviews, free programming books and articles covering the wider open source community. Browse our Linux resources to discover more. Know a useful free and open source Linux application we haven't covered? Suggest a program for inclusion. Has your software been featured on LinuxLinks? Display one of our Featured on LinuxLinks badges on your website or GitHub README. |


Please read our Comment Policy before commenting.