Private Key and Seed Phrase Demo

Learn the structure of private keys, Bitcoin WIF, and BIP39 seed phrases using educational examples only.

Do not enter private keys or seed phrases for real assets. This page does not accept such data. Generated examples are for educational use only and must not be used to receive funds, imported into production wallets, or used to store real assets.

Random Format Example

The button uses the browser's cryptographic random number API to generate a 32-byte number within the secp256k1 range. Each generation replaces the previous result; examples are not saved or uploaded, and no network connection is used.

No example generated yet.

Why Is a Private Key 64 Characters Long?

Common Bitcoin and Ethereum private keys can be represented as 32-byte integers. Each byte is written as two hexadecimal characters, for a total of 64 characters. Ethereum tools often prepend 0x, which is a display prefix, not part of the key. A valid value must be greater than zero and less than the order of the secp256k1 group; 64 hexadecimal characters do not necessarily form a valid private key.

WIF Is Not Encryption

Bitcoin WIF encodes a version byte, a 32-byte private key, an optional 01 compressed-public-key flag, and a four-byte checksum using Base58Check. The mainnet version byte is 80 (hexadecimal). The compressed format usually starts with K or L, while the uncompressed format usually starts with 5. The compression flag describes the public key format; it does not compress the private key.

Version 8032-byte Private Key01 Flag4-byte ChecksumBase58Check

WIF can be decoded to recover the private key and provides no password protection. Possessing the WIF is equivalent to possessing the corresponding key.

BIP39: From Random Numbers to Words

BIP39 combines random entropy with checksum bits, mapping each 11-bit group to an entry in a 2048-word list. A 12-word phrase represents 128 bits of entropy and 4 checksum bits; a 24-word phrase represents 256 bits of entropy and 8 checksum bits. Other standard lengths are 15, 18, and 21 words.

BIP39 Structure Reference
Word CountEntropy BitsChecksum Bits
121284
151605
181926
212247
242568

Public test vector: the words below are known to everyone and must never be used to receive funds.

abandon abandon abandon abandon abandon abandon abandon abandon abandon abandon abandon about

It corresponds to 128 bits of all-zero test entropy. The seed phrase and an optional passphrase are processed with PBKDF2-HMAC-SHA512 (2048 iterations) to produce a 64-byte seed, from which the wallet generates keys along derivation paths. Passing the checksum only confirms structural validity; it does not prove sufficient randomness, a safe source, or the presence of assets. Different passphrases generate different seeds, and a mistyped passphrase may produce another valid wallet.

Recommendations for Offline Use

  1. Download the complete site's HTML and assets directory, and verify the download source.
  2. Disconnect from the network, then open this page as a local file; all required scripts are included with the site.
  3. Use only this page's examples, and do not paste real secrets into other input fields.
  4. Create real wallets with trusted wallet software or hardware devices, and back them up offline following the device's procedure. Being offline alone cannot fix tampered software.

References:BIP39 SpecificationWIF Encoding Guide