Skip to main content

Multi-Purpose QR Generator

Generate a QR code from a Bitcoin address, Lightning Address, NWC string, extended public key (xpub), Nostr public key (npub), LNbits node URL, or LNbits Invoice/Read key. Useful for receiving Bitcoin, sharing wallet details, accepting Lightning payments, importing a watch-only wallet, or configuring your Lightning Piggy.

Everything runs in your browser — no data is sent to any server.

What can I encode?

  • Bitcoin address — any format: legacy P2PKH (1…), P2SH (3…), SegWit bech32 (bc1q…), Taproot bech32m (bc1p…), or testnet/regtest variants. Plus BIP21 payment URIs like bitcoin:bc1q…?amount=0.001 for pre-filled amounts.
  • NWC string — e.g. nostr+walletconnect://… Used to connect a wallet to apps and devices that support Nostr Wallet Connect.
  • Lightning Address — e.g. satoshi@walletofsatoshi.com. A reusable, human-friendly identifier that resolves to LNURL-pay.
  • Extended public keyxpub…, ypub…, zpub…, or testnet variants (tpub/upub/vpub). Useful for importing a watch-only wallet into another app.
  • LNbits node URL — e.g. https://my.lnbits.com/. Scan during Lightning Piggy setup to enter your LNbits server URL without typing.
  • LNbits Invoice/Read key — a 32-character hex string, e.g. fd92e3f8168ba314dc22e54182784045. Used together with the LNbits URL during Lightning Piggy setup.
  • Nostr public key (npub) — e.g. npub1y2qcaseaspuwvjtyk4suswdhgselydc42ttlt0t2kzhnykne7s5swvaffq. Share your or someone else's Nostr identity (this one is Lightning Piggy's).