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;
57 <div class=
"container">
59 <h1 class=
"text-center">Mnemonic Code Converter
</h1>
62 <div class=
"col-md-12">
64 <form class=
"form-horizontal" role=
"form">
65 <div class=
"col-sm-2"></div>
66 <div class=
"col-sm-10">
67 <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>
68 <p>For more info see the
<a href=
"https://github.com/bitcoin/bips/blob/master/bip-0039.mediawiki" target=
"_blank">BIP39 spec
</a></p>
70 <div class=
"form-group">
71 <label class=
"col-sm-2 control-label"></label>
72 <div class=
"col-sm-10">
73 <div class=
"form-inline">
74 <div class=
"input-group-inline">
75 <button class=
"btn generate">Generate
</button>
77 <select id=
"strength" class=
"strength form-control">
78 <option value=
"3">3</option>
79 <option value=
"6">6</option>
80 <option value=
"9">9</option>
81 <option value=
"12">12</option>
82 <option value=
"15" selected
>15</option>
83 <option value=
"18">18</option>
84 <option value=
"21">21</option>
85 <option value=
"24">24</option>
87 word mnemonic, or enter your own below.
92 <div class=
"form-group">
93 <label class=
"col-sm-2 control-label"></label>
94 <div class=
"col-sm-10 languages">
95 <a href=
"#english">English
</a>
96 <a href=
"#japanese" title=
"Japanese">日本語
</a>
97 <span title=
"Pending availability of BIP39 unit tests">Experimental:
</span>
98 <a href=
"#spanish" title=
"Spanish">Español
</a>
99 <a href=
"#chinese_simplified" title=
"Chinese (Simplified)">中文(简体)
</a>
100 <a href=
"#chinese_traditional" title=
"Chinese (Traditional)">中文(繁體)
</a>
101 <a href=
"#french" title=
"French">Français
</a>
102 <a href=
"#italian" title=
"Italian">Italiano
</a>
105 <div class=
"form-group">
106 <label for=
"phrase" class=
"col-sm-2 control-label">BIP39 Mnemonic
</label>
107 <div class=
"col-sm-10">
108 <textarea id=
"phrase" class=
"phrase form-control"></textarea>
111 <div class=
"form-group">
112 <label for=
"passphrase" class=
"col-sm-2 control-label">BIP39 Passphrase (optional)
</label>
113 <div class=
"col-sm-10">
114 <textarea id=
"passphrase" class=
"passphrase form-control"></textarea>
117 <div class=
"form-group">
118 <label for=
"seed" class=
"col-sm-2 control-label">BIP39 Seed
</label>
119 <div class=
"col-sm-10">
120 <textarea id=
"seed" class=
"seed form-control" readonly=
"readonly"></textarea>
123 <div class=
"form-group">
124 <label for=
"network-phrase" class=
"col-sm-2 control-label">Coin
</label>
125 <div class=
"col-sm-10">
126 <select id=
"network-phrase" class=
"network form-control">
127 <!-- populated by javascript -->
131 <div class=
"form-group">
132 <label for=
"root-key" class=
"col-sm-2 control-label">BIP32 Root Key
</label>
133 <div class=
"col-sm-10">
134 <textarea id=
"root-key" class=
"root-key form-control"></textarea>
144 <div class=
"col-md-12">
145 <h2>Derivation Path
</h2>
146 <ul class=
"derivation-type nav nav-tabs" role=
"tablist">
147 <li id=
"bip44-tab" class=
"active">
148 <a href=
"#bip44" role=
"tab" data-toggle=
"tab">BIP44
</a>
151 <a href=
"#bip32" role=
"tab" data-toggle=
"tab">BIP32
</a>
154 <div class=
"derivation-type tab-content">
155 <div id=
"bip44" class=
"tab-pane active">
156 <form class=
"form-horizontal" role=
"form">
158 <div class=
"col-sm-2"></div>
159 <div class=
"col-sm-10">
160 <p>For more info see the
<a href=
"https://github.com/bitcoin/bips/blob/master/bip-0044.mediawiki" target=
"_blank">BIP44 spec
</a></p>
162 <div class=
"form-group">
163 <label for=
"purpose" class=
"col-sm-2 control-label">
164 <a href=
"https://github.com/bitcoin/bips/blob/master/bip-0044.mediawiki#purpose" target=
"_blank">Purpose
</a>
166 <div class=
"col-sm-10">
167 <input id=
"purpose" type=
"text" class=
"purpose form-control" value=
"44">
170 <div class=
"form-group">
171 <label for=
"coin" class=
"col-sm-2 control-label">
172 <a href=
"https://github.com/bitcoin/bips/blob/master/bip-0044.mediawiki#registered-coin-types" target=
"_blank">Coin
</a>
174 <div class=
"col-sm-10">
175 <input id=
"coin" type=
"text" class=
"coin form-control" value=
"0">
178 <div class=
"form-group">
179 <label for=
"account" class=
"col-sm-2 control-label">
180 <a href=
"https://github.com/bitcoin/bips/blob/master/bip-0044.mediawiki#account" target=
"_blank">Account
</a>
182 <div class=
"col-sm-10">
183 <input id=
"account" type=
"text" class=
"account form-control" value=
"0">
186 <div class=
"form-group">
187 <label for=
"change" class=
"col-sm-2 control-label">
188 <a href=
"https://github.com/bitcoin/bips/blob/master/bip-0044.mediawiki#change" target=
"_blank">External / Internal
</a>
190 <div class=
"col-sm-10">
191 <input id=
"change" type=
"text" class=
"change form-control" value=
"0">
194 <div class=
"form-group">
195 <label for=
"bip44-path" class=
"col-sm-2 control-label">BIP32 Derivation Path
</label>
196 <div class=
"col-sm-10">
197 <input id=
"bip44-path" type=
"text" class=
"path form-control" value=
"m/44'/0'/0'/0" readonly=
"readonly">
202 <div id=
"bip32" class=
"tab-pane">
203 <form class=
"form-horizontal" role=
"form">
205 <div class=
"col-sm-2"></div>
206 <div class=
"col-sm-10">
207 <p>For more info see the
<a href=
"https://github.com/bitcoin/bips/blob/master/bip-0032.mediawiki" target=
"_blank">BIP32 spec
</a></p>
209 <div class=
"form-group">
210 <label for=
"bip32-path" class=
"col-sm-2 control-label">BIP32 Derivation Path
</label>
211 <div class=
"col-sm-10">
212 <input id=
"bip32-path" type=
"text" class=
"path form-control" value=
"m/0">
215 <div class=
"form-group">
216 <div class=
"col-sm-2"></div>
217 <label class=
"col-sm-10">
218 <input class=
"hardened-addresses" type=
"checkbox">
219 Use hardened addresses
222 <div class=
"form-group">
223 <label class=
"col-sm-2 control-label">Hive Wallet
</label>
224 <div class=
"col-sm-10">
225 <p class=
"form-control no-border">
226 Use path
<code>m/
0'/
0</code>.
227 For more info see the
<a href=
"https://www.hivewallet.com/" target=
"_blank">Hive Wallet homepage
</a>
231 <div class=
"form-group">
232 <label for=
"mycelium-path" class=
"col-sm-2 control-label">Mycelium Wallet
</label>
233 <div class=
"col-sm-10">
234 <p class=
"form-control no-border">
235 Use path
<code>m/
44'/
0'/
0'/
0</code>.
236 For more info see the
<a href=
"http://www.mycelium.com/" target=
"_blank">Mycelium Wallet homepage
</a>
240 <div class=
"form-group">
241 <label for=
"core-path" class=
"col-sm-2 control-label">Bitcoin Core
</label>
242 <div class=
"col-sm-10">
243 <p class=
"form-control no-border">
244 Use path
<code>m/
0'/
0'
</code> with hardened addresses.
245 For more info see the
<a href=
"https://github.com/bitcoin/bitcoin/pull/8035" target=
"_blank">Bitcoin Core BIP32 implementation
</a>
249 <div class=
"form-group">
250 <label class=
"col-sm-2 control-label">Block Explorers
</label>
251 <div class=
"col-sm-10">
252 <p class=
"form-control no-border">
253 Use path
<code>m/
44'/
0'/
0'
</code>.
254 Only enter the
<code>xpub
</code> extended key into block explorer search fields, never the
<code>xpriv
</code> key.
261 <form class=
"form-horizontal" role=
"form">
262 <div class=
"form-group">
263 <label for=
"extended-priv-key" class=
"col-sm-2 control-label">BIP32 Extended Key
</label>
264 <div class=
"col-sm-10">
265 <textarea id=
"extended-priv-key" class=
"extended-priv-key form-control" readonly=
"readonly"></textarea>
268 <div class=
"form-group">
269 <label for=
"extended-pub-key" class=
"col-sm-2 control-label">BIP32 Extended Key (addresses only)
</label>
270 <div class=
"col-sm-10">
271 <textarea id=
"extended-pub-key" class=
"extended-pub-key form-control" readonly=
"readonly"></textarea>
281 <div class=
"col-md-12">
282 <h2>Derived Addresses
</h2>
283 <p>Note these addreses are derived from the
<strong>BIP32 Extended Key
</strong></p>
284 <table class=
"table table-striped">
287 <div class=
"input-group">
289 <button class=
"index-toggle">Toggle
</button>
293 <div class=
"input-group">
295 <button class=
"address-toggle">Toggle
</button>
299 <div class=
"input-group">
300 Private Key
301 <button class=
"private-key-toggle">Toggle
</button>
305 <tbody class=
"addresses">
306 <tr><td> </td><td> </td><td> </td></tr>
307 <tr><td> </td><td> </td><td> </td></tr>
308 <tr><td> </td><td> </td><td> </td></tr>
309 <tr><td> </td><td> </td><td> </td></tr>
310 <tr><td> </td><td> </td><td> </td></tr>
315 <span>Show next
</button>
316 <input type=
"number" class=
"rows-to-add" value=
"20">
317 <button class=
"more">Show
</button>
322 <div class=
"col-md-12">
324 <h3>BIP39
<span class=
"small">Mnemonic code for generating deterministic keys
</span></h3>
327 <a href=
"https://github.com/bitcoin/bips/blob/master/bip-0039.mediawiki">official BIP39 spec
</a>
329 <h3>BIP32
<span class=
"small">Hierarchical Deterministic Wallets
</span></h3>
332 <a href=
"https://github.com/bitcoin/bips/blob/master/bip-0032.mediawiki" target=
"_blank">official BIP32 spec
</a>
334 <a href=
"http://bip32.org/" target=
"_blank">bip32.org
</a>
336 <h3>BIP44
<span class=
"small">Multi-Account Hierarchy for Deterministic Wallets
</span></h3>
339 <a href=
"https://github.com/bitcoin/bips/blob/master/bip-0044.mediawiki" target=
"_blank">official BIP44 spec
</a>
341 <h3>Private Keys
</h3>
344 <a href=
"https://web.archive.org/web/20150707020924/https://brainwallet.org/" target=
"_blank">brainwallet.org
</a>,
345 but be careful - it can be easy to make mistakes if you
346 don't know what you're doing
354 <div class=
"col-md-12">
356 <h2>Offline Usage
</h2>
359 You can use this tool without having to be online.
362 In your browser, select file save-as, and save this page
366 Double-click that file to open it in a browser
367 on any offline computer.
370 Alternatively, download it from
371 <a href=
"https://github.com/iancoleman/bip39">
372 https://github.com/iancoleman/bip39
381 <div class=
"col-md-12">
383 <h2>This project is
100% open-source code
</h2>
386 <span>Get the source code at -
</span>
387 <a href=
"https://github.com/iancoleman/bip39" target=
"_blank">
388 https://github.com/iancoleman/bip39
395 <span>BitcoinJS -
</span>
396 <a href=
"https://github.com/bitcoinjs/bitcoinjs-lib" target=
"_blank">
397 https://github.com/bitcoinjs/bitcoinjs-lib
402 <span>jsBIP39 -
</span>
403 <a href=
"https://github.com/iancoleman/jsbip39" target=
"_blank">
404 https://github.com/iancoleman/jsbip39
410 <a href=
"https://github.com/bitwiseshiftleft/sjcl" target=
"_blank">
411 https://github.com/bitwiseshiftleft/sjcl
416 <span>jQuery -
</span>
417 <a href=
"https://jquery.com/" target=
"_blank">
423 <span>Twitter Bootstrap -
</span>
424 <a href=
"http://getbootstrap.com/" target=
"_blank">
425 http://getbootstrap.com/
434 <div class=
"feedback-container">
435 <div class=
"feedback">Loading...
</div>
438 <script type=
"text/template" id=
"address-row-template">
440 <td class=
"index"><span></span></td>
441 <td class=
"address"><span></span></td>
442 <td class=
"privkey"><span></span></td>
445 <script src=
"js/jquery.min.js"></script>
446 <script src=
"js/bootstrap.min.js"></script>
447 <script src=
"js/levenshtein.js"></script>
448 <script src=
"js/bitcoinjs-1-5-7.js"></script>
449 <script src=
"js/bitcoinjs-extensions.js"></script>
450 <script src=
"js/sjcl-bip39.js"></script>
451 <script src=
"js/wordlist_english.js"></script>
452 <script src=
"js/wordlist_japanese.js"></script>
453 <script src=
"js/wordlist_spanish.js"></script>
454 <script src=
"js/wordlist_chinese_simplified.js"></script>
455 <script src=
"js/wordlist_chinese_traditional.js"></script>
456 <script src=
"js/wordlist_french.js"></script>
457 <script src=
"js/wordlist_italian.js"></script>
458 <script src=
"js/jsbip39.js"></script>
459 <script src=
"js/index.js"></script>