Bitcoin QR Code Generator

Make a QR code for a Bitcoin address, a Lightning invoice, a Lightning Address or an LNURL. It's made in your browser, and the exact text inside the code is shown under it.

The generator needs JavaScript, because the QR code is made in your browser and not on our server. What it makes, and how to check a QR code, are below.

What you can turn into a QR code

  • A Bitcoin address (1…, 3…, bc1q… or bc1p…), with an optional amount in BTC or sats, a label and a message. The code holds a BIP 21 payment link: bitcoin:<address>?amount=0.001&label=…&message=…
  • A Lightning invoice (lnbc…). The generator shows its amount and how long it has left. An invoice is paid once and it expires, so its code is for one payment.
  • A Lightning Address (name@domain), encoded as lightning:name@domain. One code works for every payment. You can check the address first with the Lightning Address Tester.
  • An LNURL (lnurl1…), encoded in upper case.

An address with a typo gets no code, and neither does an address from another chain, such as Ethereum or TRON. The generator says what it found, and the Bitcoin Address Checker explains it in full.

You get the code as an image you can save (PNG or SVG), a copy of the text it contains, and a page to print.

Check a QR code before you trust it

Nobody can read a QR code by eye, and fake generators rely on that: you paste your address, and the code they show pays someone else. So check every code, from any generator:

  1. Read the text under the code. It is exactly what the code contains, with the first and last 6 characters of your address highlighted.
  2. Scan it with your own wallet, or your phone's camera, and compare the address it shows with the one you pasted.
  3. Check again after printing, before the code goes on a counter, a website or an invoice.

This generator runs in your browser. No request from the page contains your address or invoice, and once the page has loaded it keeps working with your internet connection switched off.

Never paste a seed phrase or a private key here, or into any website. A code for receiving bitcoin only needs an address.

Bitcoin QR codes: questions

How do I make a QR code for my Bitcoin address?
Paste the address into the box above and press Make QR code. The generator checks the address's checksum first, so a mistyped address gets no code. You can add an amount, a label and a message, then copy the text, download the code as a PNG or SVG file, or print it.
Is it safe to use an online Bitcoin QR code generator?
Only if you check the result. Fake generators exist: you paste your address, and the code they show pays someone else. Nothing in the picture gives that away. This generator makes the code in your browser, and no request from the page contains your address or invoice. It also shows the exact text inside the code, with the first and last 6 characters of your address highlighted. Whichever generator you use, scan the code with your own wallet and compare the address before you print or share it.
Can a Bitcoin QR code include an amount?
Yes. With an amount, the code holds a payment link in the BIP 21 format, bitcoin:<address>?amount=0.001, where the amount is in BTC. A wallet that scans it fills in both the address and the amount. A label (who is being paid) and a message (what the payment is for) are added the same way.
Does a Bitcoin QR code expire?
A QR code for a Bitcoin address doesn't expire, although most wallets give you a new address for each payment. A Lightning invoice is different: it's paid once and it expires, often within an hour. The generator shows how long an invoice has left, and makes no code for one that has already expired. A Lightning Address, like name@domain, can be paid again and again.
Why is the address in the QR code in capital letters?
An address that starts with bc1 means the same thing in upper or lower case, and all capitals makes a smaller QR code that scans more easily. So a bc1 address with no amount is encoded as BITCOIN:BC1Q…. It's still your address. Addresses that start with 1 or 3 are case-sensitive, and the generator never changes them.
What's the difference between a Bitcoin QR code and a Lightning QR code?
A Bitcoin address QR code asks for an on-chain payment, which waits for a block and pays a network fee (see what that costs right now). A Lightning QR code holds either an invoice, for one payment, or a Lightning Address, which works for any amount, every time. Lightning payments usually settle in about a second.
Can I print the QR code?
Yes. Print gives you a page with only the code, its label and the text it contains. Print a code for a Bitcoin address or a Lightning Address. Don't print a Lightning invoice: it stops working once it has been paid or has expired.