Bech32 Encoder Decoder
Decode a bech32 or bech32m string to see its prefix, variant and data as hex, or encode hex bytes with a prefix into a new bech32 string. The checksum is verified on decode, so typos are reported.
1 Paste your text and pick the options
2 Your answer
Your answer shows here as you type.
How to use the Bech32 Encoder Decoder
- Choose Decode to read a bech32 string, or Encode to turn a prefix and hex data into one.
- Paste the bech32 string, or type the prefix and the data as hex bytes.
- For encoding, pick Bech32 or Bech32m. Use Bech32m for Taproot-style addresses and newer formats.
- Read the prefix, variant and data. A checksum error means the string has a typo.
Frequently asked questions
What is bech32?
Bech32 is a text encoding defined in BIP 173. It uses a human-readable prefix, a separator character 1, base-32 data and a six-character checksum. Bitcoin segwit addresses such as bc1q... use it.
What is the difference between bech32 and bech32m?
Bech32m, defined in BIP 350, uses a different checksum constant. It fixes a weakness in the original checksum for witness version 1 and later, and Taproot addresses such as bc1p... use it.
Why is a bech32 string limited to 90 characters?
BIP 173 sets a 90 character maximum so the checksum can still detect errors reliably. Longer strings are rejected by this tool.
Does the decoder check for typos?
Yes. The checksum is recalculated from the prefix and data. If it does not match the expected constant, the string has a typo or was copied wrong.
Wrote something with AI? Slop Monkey rewrites it so it sounds like you, and keeps your facts.