Encoding

SegWit encode

Encode a native SegWit address using Bech32 or Bech32m as required by witness version.

How To Use It

Paste witness program hex, set the HRP, and set the witness version.

Example

HRP bc; version 0; program 751e76e8199196d454941c45d1b3a323f1433bd6

Runs locally in WebAssembly

Live Tool

Inputs stay in this browser tab. No transaction broadcast or remote Bitcoin API calls are used.