4 <meta charset=
"utf-8" />
5 <title>BIP39 - Mnemonic Code
</title>
6 <link rel=
"stylesheet" href=
"css/bootstrap.min.css">
7 <meta content=
"Mnemonic code for generating deterministic keys" name=
"description"/>
8 <meta content=
"width=device-width, initial-scale=1.0" name=
"viewport" />
9 <meta content=
"bitcoin mnemonic converter" name=
"description" />
10 <meta content=
"Ian Coleman" name=
"author" />
16 .form-control[readonly] {
29 background-color: orange;
33 border:
2px solid #
555;
35 border-bottom-left-radius:
20px
20px;
36 border-bottom-right-radius:
20px
20px;
40 box-shadow: inset
0 1px
1px rgba(
0,
0,
0,
.0);
41 -webkit-box-shadow: inset
0 1px
1px rgba(
0,
0,
0,
.0);
47 /* override mobile width from bootstrap */
48 width: auto!important;
49 display: inline-block;
55 font-family: monospace;
60 <div class=
"container">
62 <h1 class=
"text-center">Mnemonic Code Converter
</h1>
65 <div class=
"col-md-12">
67 <form class=
"form-horizontal" role=
"form">
68 <div class=
"col-sm-2"></div>
69 <div class=
"col-sm-10">
70 <p>You can enter an existing BIP39 mnemonic, or generate a new random one. Typing your own twelve words will probably not work how you expect, since the words require a particular structure (the last word is a checksum)
</p>
71 <p>For more info see the
<a href=
"https://github.com/bitcoin/bips/blob/master/bip-0039.mediawiki" target=
"_blank">BIP39 spec
</a></p>
73 <div class=
"form-group">
74 <label class=
"col-sm-2 control-label"></label>
75 <div class=
"col-sm-10">
76 <div class=
"form-inline">
77 <div class=
"input-group-inline">
78 <button class=
"btn generate">Generate
</button>
80 <select id=
"strength" class=
"strength form-control">
81 <option value=
"3">3</option>
82 <option value=
"6">6</option>
83 <option value=
"9">9</option>
84 <option value=
"12">12</option>
85 <option value=
"15" selected
>15</option>
86 <option value=
"18">18</option>
87 <option value=
"21">21</option>
88 <option value=
"24">24</option>
90 word mnemonic, or enter your own below.
95 <div class=
"form-group">
96 <label class=
"col-sm-2 control-label"></label>
97 <div class=
"col-sm-10 languages">
98 <a href=
"#english">English
</a>
99 <a href=
"#japanese" title=
"Japanese">日本語
</a>
100 <a href=
"#spanish" title=
"Spanish">Español
</a>
101 <a href=
"#chinese_simplified" title=
"Chinese (Simplified)">中文(简体)
</a>
102 <a href=
"#chinese_traditional" title=
"Chinese (Traditional)">中文(繁體)
</a>
103 <a href=
"#french" title=
"French">Français
</a>
104 <a href=
"#italian" title=
"Italian">Italiano
</a>
107 <div class=
"form-group">
108 <label for=
"phrase" class=
"col-sm-2 control-label">BIP39 Mnemonic
</label>
109 <div class=
"col-sm-10">
110 <textarea id=
"phrase" class=
"phrase form-control"></textarea>
113 <div class=
"form-group">
114 <label for=
"passphrase" class=
"col-sm-2 control-label">BIP39 Passphrase (optional)
</label>
115 <div class=
"col-sm-10">
116 <textarea id=
"passphrase" class=
"passphrase form-control"></textarea>
119 <div class=
"form-group">
120 <label for=
"seed" class=
"col-sm-2 control-label">BIP39 Seed
</label>
121 <div class=
"col-sm-10">
122 <textarea id=
"seed" class=
"seed form-control" readonly=
"readonly"></textarea>
125 <div class=
"form-group">
126 <label for=
"network-phrase" class=
"col-sm-2 control-label">Coin
</label>
127 <div class=
"col-sm-10">
128 <select id=
"network-phrase" class=
"network form-control">
129 <!-- populated by javascript -->
133 <div class=
"form-group">
134 <label for=
"root-key" class=
"col-sm-2 control-label">BIP32 Root Key
</label>
135 <div class=
"col-sm-10">
136 <textarea id=
"root-key" class=
"root-key form-control"></textarea>
146 <div class=
"col-md-12">
147 <h2>Derivation Path
</h2>
148 <ul class=
"derivation-type nav nav-tabs" role=
"tablist">
149 <li id=
"bip44-tab" class=
"active">
150 <a href=
"#bip44" role=
"tab" data-toggle=
"tab">BIP44
</a>
153 <a href=
"#bip32" role=
"tab" data-toggle=
"tab">BIP32
</a>
156 <div class=
"derivation-type tab-content">
157 <div id=
"bip44" class=
"tab-pane active">
158 <form class=
"form-horizontal" role=
"form">
160 <div class=
"col-sm-2"></div>
161 <div class=
"col-sm-10">
162 <p>For more info see the
<a href=
"https://github.com/bitcoin/bips/blob/master/bip-0044.mediawiki" target=
"_blank">BIP44 spec
</a></p>
164 <div class=
"form-group">
165 <label for=
"purpose" class=
"col-sm-2 control-label">
166 <a href=
"https://github.com/bitcoin/bips/blob/master/bip-0044.mediawiki#purpose" target=
"_blank">Purpose
</a>
168 <div class=
"col-sm-10">
169 <input id=
"purpose" type=
"text" class=
"purpose form-control" value=
"44">
172 <div class=
"form-group">
173 <label for=
"coin" class=
"col-sm-2 control-label">
174 <a href=
"https://github.com/bitcoin/bips/blob/master/bip-0044.mediawiki#registered-coin-types" target=
"_blank">Coin
</a>
176 <div class=
"col-sm-10">
177 <input id=
"coin" type=
"text" class=
"coin form-control" value=
"0">
180 <div class=
"form-group">
181 <label for=
"account" class=
"col-sm-2 control-label">
182 <a href=
"https://github.com/bitcoin/bips/blob/master/bip-0044.mediawiki#account" target=
"_blank">Account
</a>
184 <div class=
"col-sm-10">
185 <input id=
"account" type=
"text" class=
"account form-control" value=
"0">
188 <div class=
"form-group">
189 <label for=
"change" class=
"col-sm-2 control-label">
190 <a href=
"https://github.com/bitcoin/bips/blob/master/bip-0044.mediawiki#change" target=
"_blank">External / Internal
</a>
192 <div class=
"col-sm-10">
193 <input id=
"change" type=
"text" class=
"change form-control" value=
"0">
196 <div class=
"form-group">
197 <label for=
"bip44-path" class=
"col-sm-2 control-label">BIP32 Derivation Path
</label>
198 <div class=
"col-sm-10">
199 <input id=
"bip44-path" type=
"text" class=
"path form-control" value=
"m/44'/0'/0'/0" readonly=
"readonly">
204 <div id=
"bip32" class=
"tab-pane">
205 <form class=
"form-horizontal" role=
"form">
207 <div class=
"col-sm-2"></div>
208 <div class=
"col-sm-10">
209 <p>For more info see the
<a href=
"https://github.com/bitcoin/bips/blob/master/bip-0032.mediawiki" target=
"_blank">BIP32 spec
</a></p>
211 <div class=
"form-group">
212 <label for=
"bip32-path" class=
"col-sm-2 control-label">BIP32 Derivation Path
</label>
213 <div class=
"col-sm-10">
214 <input id=
"bip32-path" type=
"text" class=
"path form-control" value=
"m/0">
217 <div class=
"form-group">
218 <div class=
"col-sm-2"></div>
219 <label class=
"col-sm-10">
220 <input class=
"hardened-addresses" type=
"checkbox">
221 Use hardened addresses
224 <div class=
"form-group">
225 <label class=
"col-sm-2 control-label">Hive Wallet
</label>
226 <div class=
"col-sm-10">
227 <p class=
"form-control no-border">
228 Use path
<code>m/
0'/
0</code>.
229 For more info see the
<a href=
"https://www.hivewallet.com/" target=
"_blank">Hive Wallet homepage
</a>
233 <div class=
"form-group">
234 <label for=
"mycelium-path" class=
"col-sm-2 control-label">Mycelium Wallet
</label>
235 <div class=
"col-sm-10">
236 <p class=
"form-control no-border">
237 Use path
<code>m/
44'/
0'/
0'/
0</code>.
238 For more info see the
<a href=
"http://www.mycelium.com/" target=
"_blank">Mycelium Wallet homepage
</a>
242 <div class=
"form-group">
243 <label for=
"core-path" class=
"col-sm-2 control-label">Bitcoin Core
</label>
244 <div class=
"col-sm-10">
245 <p class=
"form-control no-border">
246 Use path
<code>m/
0'/
0'
</code> with hardened addresses.
247 For more info see the
<a href=
"https://github.com/bitcoin/bitcoin/pull/8035" target=
"_blank">Bitcoin Core BIP32 implementation
</a>
251 <div class=
"form-group">
252 <label class=
"col-sm-2 control-label">Block Explorers
</label>
253 <div class=
"col-sm-10">
254 <p class=
"form-control no-border">
255 Use path
<code>m/
44'/
0'/
0'
</code>.
256 Only enter the
<code>xpub
</code> extended key into block explorer search fields, never the
<code>xpriv
</code> key.
263 <form class=
"form-horizontal" role=
"form">
264 <div class=
"form-group">
265 <label for=
"extended-priv-key" class=
"col-sm-2 control-label">BIP32 Extended Key
</label>
266 <div class=
"col-sm-10">
267 <textarea id=
"extended-priv-key" class=
"extended-priv-key form-control" readonly=
"readonly"></textarea>
270 <div class=
"form-group">
271 <label for=
"extended-pub-key" class=
"col-sm-2 control-label">BIP32 Extended Key (addresses only)
</label>
272 <div class=
"col-sm-10">
273 <textarea id=
"extended-pub-key" class=
"extended-pub-key form-control" readonly=
"readonly"></textarea>
283 <div class=
"col-md-12">
284 <h2>Derived Addresses
</h2>
285 <p>Note these addreses are derived from the
<strong>BIP32 Extended Key
</strong></p>
286 <table class=
"table table-striped">
289 <div class=
"input-group">
291 <button class=
"index-toggle">Toggle
</button>
295 <div class=
"input-group">
297 <button class=
"address-toggle">Toggle
</button>
301 <div class=
"input-group">
302 Public Key
303 <button class=
"public-key-toggle">Toggle
</button>
307 <div class=
"input-group">
308 Private Key
309 <button class=
"private-key-toggle">Toggle
</button>
313 <tbody class=
"addresses monospace">
314 <tr><td> </td><td> </td><td> </td></tr>
315 <tr><td> </td><td> </td><td> </td></tr>
316 <tr><td> </td><td> </td><td> </td></tr>
317 <tr><td> </td><td> </td><td> </td></tr>
318 <tr><td> </td><td> </td><td> </td></tr>
323 <span>Show next
</button>
324 <input type=
"number" class=
"rows-to-add" value=
"20">
325 <button class=
"more">Show
</button>
330 <div class=
"col-md-12">
332 <h3>BIP39
<span class=
"small">Mnemonic code for generating deterministic keys
</span></h3>
335 <a href=
"https://github.com/bitcoin/bips/blob/master/bip-0039.mediawiki">official BIP39 spec
</a>
337 <h3>BIP32
<span class=
"small">Hierarchical Deterministic Wallets
</span></h3>
340 <a href=
"https://github.com/bitcoin/bips/blob/master/bip-0032.mediawiki" target=
"_blank">official BIP32 spec
</a>
342 <a href=
"http://bip32.org/" target=
"_blank">bip32.org
</a>
344 <h3>BIP44
<span class=
"small">Multi-Account Hierarchy for Deterministic Wallets
</span></h3>
347 <a href=
"https://github.com/bitcoin/bips/blob/master/bip-0044.mediawiki" target=
"_blank">official BIP44 spec
</a>
349 <h3>Private Keys
</h3>
352 <a href=
"https://web.archive.org/web/20150707020924/https://brainwallet.org/" target=
"_blank">brainwallet.org
</a>,
353 but be careful - it can be easy to make mistakes if you
354 don't know what you're doing
362 <div class=
"col-md-12">
364 <h2>Offline Usage
</h2>
367 You can use this tool without having to be online.
370 In your browser, select file save-as, and save this page
374 Double-click that file to open it in a browser
375 on any offline computer.
378 Alternatively, download it from
379 <a href=
"https://github.com/iancoleman/bip39">
380 https://github.com/iancoleman/bip39
389 <div class=
"col-md-12">
391 <h2>This project is
100% open-source code
</h2>
394 <span>Get the source code at -
</span>
395 <a href=
"https://github.com/iancoleman/bip39" target=
"_blank">
396 https://github.com/iancoleman/bip39
403 <span>BitcoinJS -
</span>
404 <a href=
"https://github.com/bitcoinjs/bitcoinjs-lib" target=
"_blank">
405 https://github.com/bitcoinjs/bitcoinjs-lib
410 <span>jsBIP39 -
</span>
411 <a href=
"https://github.com/iancoleman/jsbip39" target=
"_blank">
412 https://github.com/iancoleman/jsbip39
418 <a href=
"https://github.com/bitwiseshiftleft/sjcl" target=
"_blank">
419 https://github.com/bitwiseshiftleft/sjcl
424 <span>jQuery -
</span>
425 <a href=
"https://jquery.com/" target=
"_blank">
431 <span>Twitter Bootstrap -
</span>
432 <a href=
"http://getbootstrap.com/" target=
"_blank">
433 http://getbootstrap.com/
442 <div class=
"feedback-container">
443 <div class=
"feedback">Loading...
</div>
446 <script type=
"text/template" id=
"address-row-template">
448 <td class=
"index"><span></span></td>
449 <td class=
"address"><span></span></td>
450 <td class=
"pubkey"><span></span></td>
451 <td class=
"privkey"><span></span></td>
454 <script src=
"js/jquery.min.js"></script>
455 <script src=
"js/bootstrap.min.js"></script>
456 <script src=
"js/levenshtein.js"></script>
457 <script src=
"js/bitcoinjs-1-5-7.js"></script>
458 <script src=
"js/bitcoinjs-extensions.js"></script>
459 <script src=
"js/sjcl-bip39.js"></script>
460 <script src=
"js/wordlist_english.js"></script>
461 <script src=
"js/wordlist_japanese.js"></script>
462 <script src=
"js/wordlist_spanish.js"></script>
463 <script src=
"js/wordlist_chinese_simplified.js"></script>
464 <script src=
"js/wordlist_chinese_traditional.js"></script>
465 <script src=
"js/wordlist_french.js"></script>
466 <script src=
"js/wordlist_italian.js"></script>
467 <script src=
"js/jsbip39.js"></script>
468 <script src=
"js/index.js"></script>