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?

Tap Play with this on any row to load the example into the generator and create its QR code.

Bitcoin address - e.g. 1A1zP1eP5QGefi2DMPTfTL5SLmv7DivfNa (the Genesis address)
NWC string - e.g. nostr+walletconnect://… Connects a wallet to apps and devices that support Nostr Wallet Connect.
Lightning Address - e.g. oink@lightningpiggy.com. A reusable, human-friendly identifier that resolves to LNURL-pay.
Extended public key - xpub…, 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 with the LNbits URL during setup.
Nostr public key (npub) - e.g. npub1y2qcaseaspuwvjtyk4suswdhgselydc42ttlt0t2kzhnykne7s5swvaffq (this one is Lightning Piggy's).