loading prices...
prices by coingecko
onchain.search tools/free · no sign-up/links/about

home / bitcoin / bip340-tagged-hash-calculatorlocal

BIP340 Tagged Hash Calculator

Work out SHA256(SHA256(tag) || SHA256(tag) || data) for Taproot tags such as TapLeaf, TapBranch and TapTweak.

bip340-tagged-hash-calculatorready · runs in this browser

Runs locally in your browser. Nothing you type is sent anywhere.

bitcoin tools · free · runs in your browser · no sign-up · no wallet

01 // about this tool

Taproot and Schnorr hash with a tag in front so a hash made for one job can never be reused for another. This gives the tagged hash for any tag and data.

02 // how to use it

  1. Enter the tag.
  2. Paste the data as hex or text.
  3. Press Run.

03 // faq

Is the tag case-sensitive?

Yes. TapLeaf and tapleaf give different hashes.

Can the data be empty?

Yes, leave it blank.

04 // related tools

all 31 bitcoin tools →