LNURL Encoder

Convert callback URLs or Lightning Addresses into LNURL strings — 5 sats

About

Encode a callback URL into a bech32 lnurl1... string. You can pass either a direct URL or a Lightning Address to derive and encode its LNURLp URL automatically.

Try It

5 sats via L402.

API Usage

curl -X POST https://maximumsats.com/api/lnurl-encode \
  -H "Content-Type: application/json" \
  -d '{"url":"https://example.com/.well-known/lnurlp/max"}'

Sample Response

{
  "ok": true,
  "source": "url",
  "url": "https://example.com/.well-known/lnurlp/max",
  "lnurl": "lnurl1..."
}
Also available via MCP as lnurl_encode at maximumsats.com/mcp