01What is BIP39 Generator?
BIP39 is the Bitcoin Improvement Proposal that turns random bits into a list of ordinary words, the seed phrase most wallets ask you to write down. This tool follows that spec so you can produce test phrases and watch the encoding happen. Pick 12, 15, 18, 21 or 24 words and click Generate Phrase. The code fills 128 to 256 bits of entropy with crypto.getRandomValues, which is the browser's cryptographic random source. It then hashes the entropy with SHA-256 and appends the first few bits of that hash as a checksum. That is one checksum bit per 32 bits of entropy, so 4 bits for 12 words and 8 bits for 24. The combined bit string is cut into 11-bit chunks. Each chunk is a number from 0 to 2047 that picks a word from the official English wordlist, which runs from "abandon" to "zoo". The last word therefore mixes the final entropy bits with the checksum, and wallets use it to catch a typo. Below the word grid, a small table lists the word count, entropy bits, checksum bits and total bits. We tested the code with fixed entropy to see if it lines up with the standard test vectors. Sixteen zero bytes give "abandon" eleven times followed by "about", which is the first vector in the Trezor reference set. Sixteen bytes of 0x7f give "legal winner thank year wave sausage worth useful legal winner thank yellow", also a match. Those checks tell you the wordlist order and checksum logic are right. The scope is narrow on purpose. It does not check a phrase you paste in, and it does not turn a phrase into a seed, keys or addresses. There is no field for the optional BIP39 passphrase either. Use a library such as @scure/bip39 or your wallet SDK for those steps. The phrase is built in this tab and nothing is uploaded, but it is still displayed on a screen that extensions, screen recorders and clipboard managers can read. So treat every phrase here as a test value. Money should only ever sit behind a seed that a hardware wallet generated offline.
Wallet and blockchain developers who need valid test mnemonics and want to see exactly how BIP39 builds them. The tool runs entirely in your browser, so your data never leaves your device.
02How to use BIP39 Generator
- Next to Word Count, pick 12, 15, 18, 21 or 24.
- Click Generate Phrase to draw fresh entropy and build the mnemonic.
- Read the numbered words under Mnemonic Phrase and the entropy, checksum and total bits beneath them.
- Click the copy button to grab the phrase for your test, or generate again for a new one.
03Worked examples
- Input:
12 words, entropy 00000000000000000000000000000000 - Result:
abandon abandon abandon abandon abandon abandon abandon abandon abandon abandon abandon about - Produced by the tool's own function with the random source fixed to zeros. Matches the first BIP39 reference vector.
- Input:
12 words, entropy 7f7f7f7f7f7f7f7f7f7f7f7f7f7f7f7f - Result:
legal winner thank year wave sausage worth useful legal winner thank yellow - The repeating byte shows as a repeating word pattern until the checksum changes the last word.
- Input:
12 words, entropy ffffffffffffffffffffffffffffffff - Result:
zoo zoo zoo zoo zoo zoo zoo zoo zoo zoo zoo wrong - All ones pick word 2047 (zoo). The final word carries the 4-bit checksum.
- Input:
24 words, entropy of 32 zero bytes - Result:
abandon (x23) art - Trimmed: the first 23 words are all abandon. The 8 checksum bits turn the last word into art.
- Input:
15 words, entropy 8080808080808080808080808080808080808080 - Result:
letter advice cage absurd amount doctor acoustic avoid letter advice cage absurd amount doctor accident - 160 bits of entropy plus a 5-bit checksum gives 165 bits, or 15 words.
04Common use cases
- Creating throwaway 12- and 24-word phrases to test a wallet app's import and recovery screens
- Producing fixtures for unit tests of your own BIP39 encoder or decoder
- Walking a workshop through how entropy, checksum bits and the wordlist fit together
- Checking that a mobile wallet rejects a phrase after you swap its last word
- Filling a staging environment with distinct test wallets that will never hold real funds
- Comparing phrase length options before deciding which ones your app should accept
05Tips
- Total bits always equal word count times 11: 128 + 4 = 132 for 12 words and 256 + 8 = 264 for 24.
- Only 1 in 16 random 12-word combinations has a valid checksum, so swapping one word is a quick way to test your wallet's error message.
- Phrases made from all-zero entropy, like abandon x11 + about, are public knowledge. Never fund a wallet derived from one.
- The same words with a different BIP39 passphrase lead to an entirely separate wallet. This tool doesn't apply one, so add it in your wallet or library.
06Related concepts
BIP39, Entropy, SHA-256 checksum, Seed phrase, HD wallet derivation.
Frequently Asked Questions
What is BIP39 Generator?
BIP39 Generator is a free, browser-based developer tool on AIDToolStack. Generate BIP39 mnemonic seed phrases with configurable word count. It requires no installation or sign-up and works entirely in your browser.
Is BIP39 Generator free to use?
Yes. No sign-up, no fees and no usage cap.
Does BIP39 Generator store my data?
No. It runs in your browser; nothing is uploaded.