qrcp is a command-line tool that lets you transfer files over Wi-Fi from your computer to a mobile device by scanning a QR code without leaving the terminal.
qrcp binds a web server to the address of your Wi-Fi network interface on a random port and creates a handler for it. The default handler serves the content and exits the program when the transfer is complete. When used to receive files, qrcp serves an upload page and handles the transfer.
The tool prints a QR code that encodes the text:
http://{address}:{port}/{random_path}
Most QR apps can detect URLs in decoded text and act accordingly (i.e. open the decoded URL with the default browser), so when the QR code is scanned the content will begin downloading by the mobile browser.
This is free and open source software.
Key Features
- Send multiple files at once – qrcp creates a zip archive of the files or folders you want to transfer, and deletes the zip archive once the transfer is complete.
- Receive files to the current directory or a specific directory.
- Works without any prior configuration, however, you can choose to configure to use specific values.
- Configuration wizard.
- Supports secure file transfers with HTTPS. To enable secure transfers you need a TLS certificate and the associated key.
- Tries to automatically find the suitable network interface to use for the transfers. If more than one suitable interface is found, it asks you to choose one.
- Comes with a built-in completion command that generates shell completion scripts.
- Cross-platform support – runs under Linux, macOS, and Windows.
Website: qrcp.sh
Support: GitHub Code Repository
Developer: Claudio d’Angelis
License: MIT License
qrcp is written in Go. Learn Go with our recommended free books and free tutorials.
Related Software
| Terminal-Based File Sharing Tools | |
|---|---|
| Croc | Securely transfer files and folders |
| Magic Wormhole | Provides a library and a command-line tool named wormhole |
| qrcp | Transfer files over Wi-Fi from your computer to a mobile device |
| FTS | Fast local-network file transfers and communication |
| ffsend | Securely share files from the command line |
| JocalSend | TUI LocalSend implementation |
| e2ecp | Cross-platform tool |
| LocalGo | LocalSend-compatible command-line file sharing |
Read our verdict in the software roundup.
Explore our carefully curated directory of recommended free and open source software, covering every major software category.The directory forms part of our extensive collection of articles for Linux enthusiasts. It includes hundreds of detailed reviews, together with free and open source alternatives to proprietary software from companies such as Google, Microsoft, Apple, Adobe, IBM, Cisco, Oracle, and Autodesk. LinuxLinks also covers interesting projects worth exploring, Linux-compatible hardware, free programming books and tutorials, and much more. Know a useful free and open source Linux application that we haven’t covered? Tell us about it using our submission form. |


Please read our Comment Policy before commenting.