/ wif-to-hex

WIF - HEX

Converts between WIF and HEX private key formats.

Converts a Bitcoin private key between WIF (Wallet Import Format) and raw HEX, in both directions.

What it does

  • Decodes a Base58Check-encoded WIF string into its underlying 32-byte key.
  • Encodes a raw HEX private key back into WIF, with a compressed/uncompressed toggle.
  • All conversion happens client-side; nothing is transmitted.

Use cases

  • Move a key between tools/wallets that expect different formats.
  • Inspect what a WIF string actually encodes.
  • Understand the compressed vs. uncompressed public key flag embedded in WIF.

This tool runs entirely in your browser. Nothing you enter is sent to or stored on any server.