BIP39 Mnemonic Generator & Validator | Seed Phrase Checker & Multi-Chain Wallet

Token Generation
100% client-side. Processed locally in your browser using the Web Crypto API. Nothing is sent to any server.

How It Works

Never enter real mnemonics into any web tool. This tool runs 100% client-side — no data leaves your browser — but as a security rule: real wallet mnemonics should only be entered on air-gapped hardware wallets or offline tools. Use this for education, testing, or generating new mnemonics only.

What Is BIP39?

BIP39 is a protocol for generating deterministic keys from mnemonic phrases — human-readable word sequences (12, 15, 18, 21, or 24 words) selected from a standardized 2048-word list. The mnemonic encodes entropy with a checksum, making it resistant to typos. From the mnemonic, a 512-bit seed is derived via PBKDF2-HMAC-SHA512 (2048 iterations), which then feeds into BIP32/BIP44 hierarchical deterministic (HD) key derivation to generate wallet addresses for multiple blockchains.

When to Use BIP39

  • Wallet backup & recovery — BIP39 mnemonics are the standard backup format for cryptocurrency wallets (MetaMask, Ledger, Trezor)
  • Multi-chain wallet generation — a single mnemonic can derive addresses for Bitcoin, Ethereum, Solana, and 15+ other chains via BIP44 paths
  • Hardware wallet integration — hardware wallets use BIP39 mnemonics as the master seed for all derived keys
  • Passphrase protection — an optional "25th word" passphrase modifies the seed, creating a completely different wallet from the same mnemonic
  • Validating seed phrases — check checksum integrity before restoring a wallet to catch transcription errors

BIP39 Word Count & Entropy

WordsEntropy (bits)Checksum (bits)Total (bits)Use case
121284132Standard wallet (most common)
151605165Medium security
181926198High security
212247231Very high security
242568264Maximum security (hardware wallets)

Bitcoin Address Derivation Paths

FormatPrefixBIP44 PathRecommendation
Legacy1...m/44'/0'/0'/0/0Legacy compatibility only
SegWit3...m/49'/0'/0'/0/0Good, but Native SegWit better
Native SegWitbc1q...m/84'/0'/0'/0/0Recommended (lower fees)
Taprootbc1p...m/86'/0'/0'/0/0Newest, best privacy

Standards Compliance

  • BIP39 — Mnemonic code for generating deterministic keys
  • BIP32 — Hierarchical Deterministic Wallets (xprv/xpub key derivation)
  • BIP44 — Multi-account hierarchy for multiple coins (m/44'/coin'/account'/change/address_index)
  • SLIP-0010 — Ed25519 key derivation (used by Solana, Cardano, etc.)
  • PBKDF2 — NIST SP 800-132 — Password-Based Key Derivation Function (2048 iterations, SHA-512)

Last updated:

Code Examples

JavaScript (Browser — PBKDF2 Seed Derivation)

// BIP39 seed derivation (PBKDF2-HMAC-SHA512)
const mnemonic = 'abandon abandon ... about';  // 12 words
const passphrase = '';  // optional "25th word"
const encoder = new TextEncoder();
const password = encoder.encode(mnemonic.normalize('NFKD'));
const salt = encoder.encode(('mnemonic' + passphrase).normalize('NFKD'));
const key = await crypto.subtle.importKey(
  'raw', password, 'PBKDF2', false, ['deriveBits']
);
const seed = await crypto.subtle.deriveBits(
  { name: 'PBKDF2', salt, iterations: 2048, hash: 'SHA-512' },
  key, 512
);
console.log(Array.from(new Uint8Array(seed))
  .map(b => b.toString(16).padStart(2, '0')).join(''));  // 64-byte hex

Python

import hashlib

# Mnemonic checksum validation
words = 'abandon abandon ... about'.split()
wordlist = open('english.txt').read().split()
idx = [wordlist.index(w) for w in words]
bits = ''.join(bin(i)[2:].zfill(11) for i in idx)
entropy_bits = bits[:128]  # for 12 words
checksum_bits = bits[128:]  # last 4 bits
expected = hashlib.sha256(bytes.fromhex(
    hex(int(entropy_bits, 2))[2:].zfill(32)
)).digest()[0] >> 4
assert checksum_bits == bin(expected)[2:].zfill(4)
print('Checksum valid')

Go

package main

import (
    "crypto/sha256"
    "fmt"
)

func validateChecksum(words []string, wordlist []string) bool {
    var bits string
    for _, w := range words {
        for i, wl := range wordlist {
            if wl == w {
                bits += fmt.Sprintf("%011b", i)
                break
            }
        }
    }
    entropyBits := bits[:len(bits)-len(words)/3]
    checksumBits := bits[len(bits)-len(words)/3:]
    entropy, _ := strconv.ParseUint(entropyBits, 2, 256)
    hash := sha256.Sum256([]byte{byte(entropy)})
    expected := fmt.Sprintf("%08b", hash[0]>>(8-len(checksumBits)))
    return checksumBits == expected
}

func main() { /* ... */ }

Rust

use sha2::{Sha256, Digest};
use pbkdf2::pbkdf2_hmac;

fn derive_seed(mnemonic: &str, passphrase: &str) -> [u8; 64] {
    let mut seed = [0u8; 64];
    let salt = format!("mnemonic{}", passphrase);
    pbkdf2_hmac::<Sha256>(
        mnemonic.as_bytes(),
        salt.as_bytes(),
        2048,
        &mut seed,
    );
    seed
}

fn main() {
    let mnemonic = "abandon abandon ... about";
    let seed = derive_seed(mnemonic, "");
    println!("Seed: {:x?}", seed);
}

Node.js

const crypto = require('crypto');

function deriveSeed(mnemonic, passphrase = '') {
  const salt = 'mnemonic' + passphrase;
  return crypto.pbkdf2Sync(
    mnemonic.normalize('NFKD'),
    salt.normalize('NFKD'),
    2048,
    64,
    'sha512'
  ).toString('hex');
}

const mnemonic = 'abandon abandon ... about';
console.log('Seed:', deriveSeed(mnemonic));

Common Pitfalls

Entering real mnemonics online. Even though this tool runs 100% client-side, never enter real wallet mnemonics into any web tool. Use air-gapped hardware wallets or offline tools for production secrets.
Losing the passphrase. The BIP39 passphrase ("25th word") modifies the seed derivation. The same mnemonic with different passphrases produces completely different wallets. Losing the passphrase means losing access to the wallet permanently.
Confusing xprv with the mnemonic. The extended private key (xprv) can derive all child private keys. Treat it with the same secrecy as the mnemonic itself — anyone with the xprv controls all funds.
Using wrong word count. BIP39 mnemonics must be 12, 15, 18, 21, or 24 words. Other word counts are invalid. The checksum in the last few bits catches typos — if validation fails, check each word against the BIP39 wordlist.
Mixing wordlists across languages. BIP39 defines wordlists for multiple languages. Words from different language wordlists are not interchangeable — use the correct language wordlist for your mnemonic.

Security Notes

Checksum catches typos. BIP39 includes a checksum in the last few bits of the mnemonic. If you mistype a word, validation fails immediately — the checksum is your first line of defense against backup errors.
Passphrase is a second factor. The optional BIP39 passphrase creates a completely different wallet from the same mnemonic. This provides plausible deniability — an attacker who finds your mnemonic cannot access the passphrase-protected wallet.
HD wallets derive unlimited addresses. From a single BIP39 seed, BIP32/BIP44 can derive billions of addresses across multiple accounts and chains — all backed up by your 12-24 word mnemonic.
Native SegWit recommended for Bitcoin. For new Bitcoin wallets, use Native SegWit (bc1q...) addresses — they have lower transaction fees and better privacy than Legacy (1...) or SegWit (3...) addresses.

Disclaimer

This tool is provided for educational and development purposes. Never enter real wallet mnemonics into any web tool — use air-gapped hardware wallets or offline tools for production secrets. All computation occurs entirely in your browser using the Web Crypto API.

Further Reading

Related Concepts

Related Tools

Need to generate the random entropy for a custom mnemonic? Use the Random Byte Generator. For human-readable secrets instead of raw bytes, try the Passphrase Generator. To check the strength of your passphrase, see the Entropy Calculator.

Frequently Asked Questions

How do I generate a new mnemonic?

With the tool in Generate mode, choose your word count (12, 15, 18, 21, or 24) using the "Word count" selector and click "Generate N-Word Mnemonic". The phrase lands in its own read-only box, so it can never overwrite words you pasted in Validate mode — switch to Validate if you need to edit words by hand. Set any passphrase in the field below, then press "Validate & Compute Seed". Generation uses cryptographically secure random entropy from the Web Crypto API, entirely in your browser.

What is the 512-bit seed?

The seed is computed via PBKDF2-HMAC-SHA512 with 2048 iterations, using the mnemonic as the password and "mnemonic" + passphrase as the salt. This 64-byte seed is the root input to BIP32 hierarchical deterministic key derivation, which generates all wallet addresses from a single seed.

What are xprv and xpub extended keys?

xprv (extended private key) and xpub (extended public key) are Base58Check-encoded serializations of BIP32 key material. The xpub lets you derive all child public keys and addresses without exposing the private key. The xprv encodes the full private key chain — treat it with the same secrecy as your mnemonic.

What is a passphrase ("25th word")?

A BIP39 passphrase is an optional string added to the PBKDF2 salt; it never changes the mnemonic words themselves, only the seed they produce. Two different passphrases with the same mnemonic open completely different wallets, and a mistyped one silently opens a third — which is why this tool asks you to enter the passphrase twice before it computes a seed, and warns you when an edit invalidates the results on screen. The passphrase field sits under the phrase in both Generate and Validate mode, so you can set it while creating a wallet or type the one you used years ago; leave it empty if you never set a passphrase.

Is it safe to enter my real mnemonic here?

This tool runs entirely in your browser — no data is transmitted to any server. All computation (generation, validation, seed derivation, BIP32 key derivation) uses the Web Crypto API and local JavaScript. However, as a general security practice, avoid entering real mnemonics into any web tool. For maximum security, use an offline or air-gapped device.

Why would a mnemonic fail validation?

Common reasons: a typo in one or more words, wrong word count (not 12/15/18/21/24), words from a different language wordlist, or an incorrect checksum. The validator tells you exactly which check failed so you can fix the issue.

Why does Bitcoin have multiple address formats?

Bitcoin supports four address types: Legacy (P2PKH, 1...), SegWit (P2SH-P2WPKH, 3...), Native SegWit (P2WPKH, bc1q...), and Taproot (P2TR, bc1p...). Each uses a different BIP44 derivation path (m/44', m/49', m/84', m/86'). Native SegWit is recommended for most users — it has lower fees and better privacy. Our tool lets you derive all four formats from the same mnemonic.

Which address format should I use?

For Bitcoin: Native SegWit (bc1q...) is recommended — it's the modern standard with lower transaction fees. For Ethereum and EVM chains (BSC, Polygon, Avalanche): there's only one format (0x...). For Litecoin: Native SegWit (ltc1q...) is recommended. Our tool pre-selects the recommended formats by default.

Privacy: This tool runs entirely in your browser — nothing is uploaded or stored. · Disclaimer: For educational purposes only. Not professional security advice.

More in Tokens

Learn More