Lightning
decoder.
▸ /notes
▸ /faq
Is it safe to paste an invoice here?
Yes: decoding runs entirely in your browser with no network requests, and an invoice is a payment request, not a secret. Whoever sees it can pay it, nothing worse. The preimage that releases the payment never appears in the invoice.
Why does the amount say "any amount"?
Invoices without an amount in the prefix are valid and common for donations: the payer chooses what to send. Amounts, when present, are encoded in the prefix down to millisatoshi precision.
What is the payment hash for?
It commits the route to a secret preimage held by the recipient. Every hop locks funds against the same hash, and revealing the preimage on settlement releases the whole path atomically. Your wallet shows the preimage as proof of payment afterward.
Why is there no destination address?
Lightning pays to a node public key, not an address. Many invoices omit even that field, because the key is recoverable from the invoice signature; this decoder shows the key when the field is present.