QRcode.show - Generate QR code easily for free - QR Code Generation as a Service
curl qrcode.show/INPUTcurl qrcode.show -d INPUTcurl qrcode.show -d @/PATH/TO/INPUTecho INPUT | curl qrcode.show -d @-curl qrcode.show/https://example.comcurl qrcode.show -d https://example.comcurl qrcode.show -d @/path/to/input.txtecho https://example.com | curl qrcode.show -d @-| Header | Description | Format / Options |
|---|---|---|
| accept | output type | application/octet-stream, text/plain, text/html, image/svg+xml, image/png, image/jpeg |
| x-qr-width | default width | |
| x-qr-height | default height | |
| x-qr-min-width | minimum width | |
| x-qr-min-height | minimum height | |
| x-qr-max-width | maximum width | |
| x-qr-max-height | maximum height | |
| x-qr-dark-color | dark color (hex) | rrggbb |
| x-qr-light-color | light color (hex) | rrggbb |
| x-qr-version-type | QR version type | normal, micro |
| x-qr-version-number | QR version number | 1 -> 40 for normal, 1 -> 4 for micro. |
| x-qr-ec-level | error checking level | L, M, Q, H |
| x-qr-quiet-zone | add quiet zone | true/ false |
curl qrcode.show/INPUT -H accept:image/svg+xmlShell functions that can be added to .bashrc or .bash_profle for
quickly generating QR codes from the command line. The command takes the
argument as input or reads from stdin if none was supplied and outputs
the QR code to stdout.
qrcode () {
local input="$*"
[ -z "$input" ] && local input="@/dev/stdin"
curl -d "$input" https://qrcode.show
}
qrsvg () {
local input="$*"
[ -z "$input" ] && local input="@/dev/stdin"
curl -d "${input}" https://qrcode.show -H accept:image/svg+xml
}
qrserve () {
local port=${1:-8080}
local dir=${2:-.}
local ip="$(ifconfig | grep -Eo '[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}' | fzf --prompt IP:)" \
&& echo http://$ip:$port | qrcode \
&& python -m http.server $port -b $ip -d $dir
}- No data collection or retention.
- Fast and simple API that works on both web and terminal.
- Supports GET and POST requests.
- Supports
acceptheader to control the output format.
- Main Library: https://github.com/kennytm/qrcode-rust
- Cloudflare Worker : https://github.com/cloudflare/workers-rs
- Alternate Web Server: https://github.com/tokio-rs/axum
NOTE: Only the direct dependencies for the core logic are listed here Please contact the project maintainer if you are missing from the list.
- Project Repository: https://github.com/sayanarijit/qrcode.show
- Project Maintainer: https://arijitbasu.in
© Arijit Basu 2026
