decode
Decode base-N, URL, IDNA, bech32, or hexdump strings to bytes or text. Choose output as UTF-8 text, hex, or base64 for binary payloads.
Instructions
Decode a base-N/URL/IDNA/bech32/hexdump string back to bytes or text.
The inverse of encode over the same scheme set. The recovered bytes are
rendered per output_format (text=UTF-8 | hex=bare, no 0x | base64); pick
hex/base64 for binary payloads that are not valid UTF-8. options carries
alphabet for base58/base62. bech32/bech32m additionally return their hrp.
base58/base58check/base45/idna need the encoding extra.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | Yes | ||
| scheme | Yes | ||
| output_format | No | text | |
| options | No |