I tried to use the
www.bitaddress.org wallet details tool but the private key of segwit address is not supported.
You could try
https://www.segwitaddress.org/ instead and see if that works...
It doesn't appear to support displaying bech32 addresses... but you get the WIF and public key and redeem script, along with a P2SH-P2WPKH (need to scroll to the bottom and use the "Details" section)
Additionally, you can apparently use Electrum to achieve the conversion between bech32 and P2SH-P2WPKH:
bech32 format bc1...:
bitcoin.address_from_private_key("p2wpkh:Kkzs8XrJNAmf9......")
p2sh format 3...:
bitcoin.address_from_private_key("p2wpkh-p2sh:Kkzs8XrJNAmf9......")
I tested this with a dummy SegWit key, generated from SegWitAddress.org:
>> bitcoin.address_from_private_key("KzZhv1rFnhuFrohwpcDgwYcAnQzN69DXi49pd26uA3a9W2Pbmjxx")
'16bsiN56xw91CW3H1GNKK8JXJxvEEtnBdc'
>> bitcoin.address_from_private_key("p2wpkh:KzZhv1rFnhuFrohwpcDgwYcAnQzN69DXi49pd26uA3a9W2Pbmjxx")
'bc1q84c344n90x35u0hjzhukm8u7gt9ujmg7ntpyj0'
>> bitcoin.address_from_private_key("p2wpkh-p2sh:KzZhv1rFnhuFrohwpcDgwYcAnQzN69DXi49pd26uA3a9W2Pbmjxx")
'371fV4VwQ3pAem979s6as5kdWdDd3kD9fB'
>>
You just need to make sure you feed it the correct key type (note that P2SH-P2WPKH is actually entered as "p2wpkh-p2sh")... and it'll generate the appropriate output. That's pretty nifty!
![Cool](https://bitcointalk.org/Smileys/default/cool.gif)