Free Lightning QR Code Generator
A Lightning QR code lets a Bitcoin Lightning wallet pay you. Paste one of three things: a BOLT 11 invoice from your wallet (lnbc…), an LNURL (lnurl1…), or a Lightning Address such as name@domain.com.
Lightning QR code designs
Samples in built-in themes. Each one scans, and none leads to a real account. Pick one to start from it in the playground.
How to create a Lightning QR code
An invoice can be paid once and expires, after an hour by BOLT 11's default, so a printed invoice code goes stale. For a sign, a sticker or anything else you print, use an LNURL or a Lightning Address: QRdx turns an address into its LNURL-pay, which wallets that support LNURL-pay scan.
- 1Copy an invoice, an LNURL or your Lightning Address from your wallet and paste it in.
- 2QRdx checks an invoice's or LNURL's checksum; only mainnet invoices (lnbc…) are accepted.
- 3Scan the preview with the wallet that will pay to check it.
- 4Download the code, and print a Lightning Address as text beside it.
Lightning QR code format
Format
lightning:<INVOICE> or LNURL1…Example
LNURL1DP68GURN8GHJ7CNFW33K76TW9EHHYEE09EMK2MRV944KUMMHDCHKCMN4WFK8QTMNV96X7UMGDY227A3J- An invoice is written lightning:<INVOICE> with the invoice in upper case, as BOLT 11 asks for QR codes. Its Bech32 checksum and prefix are checked, and only mainnet (lnbc) invoices are accepted.
- A Lightning Address is turned into its LNURL-pay (LUD-16 and LUD-01): https://domain/.well-known/lnurlp/name, Bech32-encoded. The example is satoshi@bitcoin.org.
- The code holds the bare upper case LNURL, which LNURL-pay wallets scan (LUD-06). No spec defines a QR form for name@domain itself.
- Invoices are 200 to 600 characters or more, so an invoice code is dense; print it larger.
Lightning QR code FAQ
Can I print an invoice code?
Not for long. An invoice can be paid once and expires, after an hour by BOLT 11's default. Use an LNURL or a Lightning Address for anything printed.
Why doesn't the code hold my Lightning Address?
No spec defines a QR form for name@domain, so QRdx writes the address's LNURL-pay, which LNURL-pay wallets scan. Print the address as text beside the code for people who'd rather type it.
Is my invoice sent to QRdx?
No. The code is made in your browser, and QRdx doesn't contact your Lightning Address's server to make it.