Bech32 Decoder

Decode Bech32 using the selected format options.

Input: TextResult: Text

Text input

Run to see the result

Examples

AGE private key 1 (HRP: Hex)

Input

AGE-SECRET-KEY-1Z5N23X54Y4E9NLMPNH6EZDQQX9V883TMKJ3ZJF5QXXMKNZ2RPFXQUQF74G

Expected answer

age-secret-key-: 1526a89a95257259ff619df5913400315873c57bb4a229268031b76989430a4c
Encoding
Auto-detect
Output Format
HRP: Hex
AGE private key 2 (HRP: Hex)

Input

AGE-SECRET-KEY-137M0YVE3CL6M8C4ET9L2KU67FPQHJZTW547QD5CK0R5A5T09ZGJSQGR9LX

Expected answer

age-secret-key-: 8fb6f23331c7f5b3e2b9597eab735e484179096ea57c06d31678e9da2de51225
Encoding
Auto-detect
Output Format
HRP: Hex
AGE public key 1 (HRP: Hex)

Input

age1kk86t4lr4s9uwvnqjzp2e35rflvcpnjt33q99547ct23xzk0ssss3ma49j

Expected answer

age: b58fa5d7e3ac0bc732609082acc6834fd980ce4b8c4052d2bec2d5130acf8421
Encoding
Auto-detect
Output Format
HRP: Hex
AGE public key 1 (JSON)

Input

age1kk86t4lr4s9uwvnqjzp2e35rflvcpnjt33q99547ct23xzk0ssss3ma49j

Expected answer

JSON
{
  "hrp": "age",
  "encoding": "Bech32",
  "data": "b58fa5d7e3ac0bc732609082acc6834fd980ce4b8c4052d2bec2d5130acf8421"
}
Encoding
Auto-detect
Output Format
JSON
AGE public key 2 (HRP: Hex)

Input

age1nwt7gkq7udvalagqn7l8a4jgju7wtenkg925pvuqvn7cfcry6u2qkae4ad

Expected answer

age: 9b97e4581ee359dff5009fbe7ed648973ce5e676415540b38064fd84e064d714
Encoding
Auto-detect
Output Format
HRP: Hex
auto-detect Bech32 (Raw)

Input

bc1fpjkcmr0gzsgcg

Expected answer

Hello
Encoding
Auto-detect
Output Format
Raw
auto-detect Bech32m (Raw)

Input

bc1fpjkcmr0a7qya2

Expected answer

Hello
Encoding
Auto-detect
Output Format
Raw
BIP-0173 A12UEL5L (empty data)

Input

A12UEL5L

Expected answer

Empty result
Encoding
Bech32
Output Format
Hex
BIP-0173 a12uel5l lowercase

Input

a12uel5l

Expected answer

Empty result
Encoding
Bech32
Output Format
Hex
BIP-0173 abcdef with data

Input

abcdef1qpzry9x8gf2tvdw0s3jn54khce6mua7lmqqqxw

Expected answer

abcdef: 00443214c74254b635cf84653a56d7c675be77df
Encoding
Bech32
Output Format
HRP: Hex

Bech32m (BIP-0350) is an updated version used for Bitcoin Taproot addresses. Auto-detect will attempt Bech32 first, then Bech32m if the checksum fails. Output format options allow you to see the Human-Readable Part (HRP) along with the decoded data.

Format reference: From Bech32 background and specification

Related tools

Browse data format tools