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=
"DC POS" 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);
44 /* override mobile width from bootstrap */
45 width: auto!important;
46 display: inline-block;
51 <div class=
"container">
53 <h1 class=
"text-center">Mnemonic Code Converter
</h1>
56 <div class=
"col-md-12">
58 <form class=
"form-horizontal" role=
"form">
59 <div class=
"col-sm-2"></div>
60 <div class=
"col-sm-10">
61 <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>
62 <p>For more info see the
<a href=
"https://github.com/bitcoin/bips/blob/master/bip-0039.mediawiki" target=
"_blank">BIP39 spec
</a></p>
64 <div class=
"form-group">
65 <label class=
"col-sm-2 control-label"></label>
66 <div class=
"col-sm-10">
67 <div class=
"form-inline">
68 <div class=
"input-group-inline">
69 <button class=
"btn generate">Generate
</button>
71 <select id=
"strength" class=
"strength form-control">
72 <option value=
"3">3</option>
73 <option value=
"6">6</option>
74 <option value=
"9">9</option>
75 <option value=
"12">12</option>
76 <option value=
"15" selected
>15</option>
77 <option value=
"18">18</option>
78 <option value=
"21">21</option>
79 <option value=
"24">24</option>
81 word mnemonic, or enter your own below.
86 <div class=
"form-group">
87 <label for=
"phrase" class=
"col-sm-2 control-label">BIP39 Mnemonic
</label>
88 <div class=
"col-sm-10">
89 <textarea id=
"phrase" class=
"phrase form-control"></textarea>
92 <div class=
"form-group">
93 <label for=
"passphrase" class=
"col-sm-2 control-label">BIP39 Passphrase (optional)
</label>
94 <div class=
"col-sm-10">
95 <textarea id=
"passphrase" class=
"passphrase form-control"></textarea>
98 <div class=
"form-group">
99 <label for=
"seed" class=
"col-sm-2 control-label">BIP39 Seed
</label>
100 <div class=
"col-sm-10">
101 <textarea id=
"seed" class=
"seed form-control" readonly=
"readonly"></textarea>
104 <div class=
"form-group">
105 <label for=
"network-phrase" class=
"col-sm-2 control-label">Coin
</label>
106 <div class=
"col-sm-10">
107 <select id=
"network-phrase" class=
"network form-control">
108 <!-- populated by javascript -->
112 <div class=
"form-group">
113 <label for=
"root-key" class=
"col-sm-2 control-label">BIP32 Root Key
</label>
114 <div class=
"col-sm-10">
115 <textarea id=
"root-key" class=
"root-key form-control"></textarea>
125 <div class=
"col-md-12">
126 <h2>Derivation Path
</h2>
127 <ul class=
"derivation-type nav nav-tabs" role=
"tablist">
128 <li id=
"bip44-tab" class=
"active">
129 <a href=
"#bip44" role=
"tab" data-toggle=
"tab">BIP44
</a>
132 <a href=
"#bip32" role=
"tab" data-toggle=
"tab">BIP32
</a>
135 <div class=
"derivation-type tab-content">
136 <div id=
"bip44" class=
"tab-pane active">
137 <form class=
"form-horizontal" role=
"form">
139 <div class=
"col-sm-2"></div>
140 <div class=
"col-sm-10">
141 <p>For more info see the
<a href=
"https://github.com/bitcoin/bips/blob/master/bip-0044.mediawiki" target=
"_blank">BIP44 spec
</a></p>
143 <div class=
"form-group">
144 <label for=
"purpose" class=
"col-sm-2 control-label">
145 <a href=
"https://github.com/bitcoin/bips/blob/master/bip-0044.mediawiki#purpose" target=
"_blank">Purpose
</a>
147 <div class=
"col-sm-10">
148 <input id=
"purpose" type=
"text" class=
"purpose form-control" value=
"44">
151 <div class=
"form-group">
152 <label for=
"coin" class=
"col-sm-2 control-label">
153 <a href=
"https://github.com/bitcoin/bips/blob/master/bip-0044.mediawiki#registered-coin-types" target=
"_blank">Coin
</a>
155 <div class=
"col-sm-10">
156 <input id=
"coin" type=
"text" class=
"coin form-control" value=
"0">
159 <div class=
"form-group">
160 <label for=
"account" class=
"col-sm-2 control-label">
161 <a href=
"https://github.com/bitcoin/bips/blob/master/bip-0044.mediawiki#account" target=
"_blank">Account
</a>
163 <div class=
"col-sm-10">
164 <input id=
"account" type=
"text" class=
"account form-control" value=
"0">
167 <div class=
"form-group">
168 <label for=
"change" class=
"col-sm-2 control-label">
169 <a href=
"https://github.com/bitcoin/bips/blob/master/bip-0044.mediawiki#change" target=
"_blank">External / Internal
</a>
171 <div class=
"col-sm-10">
172 <input id=
"change" type=
"text" class=
"change form-control" value=
"0">
175 <div class=
"form-group">
176 <label for=
"bip44-path" class=
"col-sm-2 control-label">BIP32 Derivation Path
</label>
177 <div class=
"col-sm-10">
178 <input id=
"bip44-path" type=
"text" class=
"path form-control" value=
"m/44'/0'/0'/0" readonly=
"readonly">
183 <div id=
"bip32" class=
"tab-pane">
184 <form class=
"form-horizontal" role=
"form">
186 <div class=
"col-sm-2"></div>
187 <div class=
"col-sm-10">
188 <p>For more info see the
<a href=
"https://github.com/bitcoin/bips/blob/master/bip-0032.mediawiki" target=
"_blank">BIP32 spec
</a></p>
190 <div class=
"form-group">
191 <label for=
"bip32-path" class=
"col-sm-2 control-label">BIP32 Derivation Path
</label>
192 <div class=
"col-sm-10">
193 <input id=
"bip32-path" type=
"text" class=
"path form-control" value=
"m/0">
196 <div class=
"form-group">
197 <div class=
"col-sm-2"></div>
198 <label class=
"col-sm-10">
199 <input class=
"hardened-addresses" type=
"checkbox">
200 Use hardened addresses
203 <div class=
"form-group">
204 <label class=
"col-sm-2 control-label">Hive Wallet
</label>
205 <div class=
"col-sm-10">
206 <p class=
"form-control no-border">
207 Use path
<code>m/
0'/
0</code>.
208 For more info see the
<a href=
"https://www.hivewallet.com/" target=
"_blank">Hive Wallet homepage
</a>
212 <div class=
"form-group">
213 <label for=
"mycelium-path" class=
"col-sm-2 control-label">Mycelium Wallet
</label>
214 <div class=
"col-sm-10">
215 <p class=
"form-control no-border">
216 Use path
<code>m/
44'/
0'/
0'/
0</code>.
217 For more info see the
<a href=
"http://www.mycelium.com/" target=
"_blank">Mycelium Wallet homepage
</a>
221 <div class=
"form-group">
222 <label for=
"core-path" class=
"col-sm-2 control-label">Bitcoin Core
</label>
223 <div class=
"col-sm-10">
224 <p class=
"form-control no-border">
225 Use path
<code>m/
0'/
0'
</code> with hardened addresses.
226 For more info see the
<a href=
"https://github.com/bitcoin/bitcoin/pull/8035" target=
"_blank">Bitcoin Core BIP32 implementation
</a>
230 <div class=
"form-group">
231 <label class=
"col-sm-2 control-label">Block Explorers
</label>
232 <div class=
"col-sm-10">
233 <p class=
"form-control no-border">
234 Use path
<code>m/
44'/
0'/
0'
</code>.
235 Only enter the
<code>xpub
</code> extended key into block explorer search fields, never the
<code>xpriv
</code> key.
242 <form class=
"form-horizontal" role=
"form">
243 <div class=
"form-group">
244 <label for=
"extended-priv-key" class=
"col-sm-2 control-label">BIP32 Extended Key
</label>
245 <div class=
"col-sm-10">
246 <textarea id=
"extended-priv-key" class=
"extended-priv-key form-control" readonly=
"readonly"></textarea>
249 <div class=
"form-group">
250 <label for=
"extended-pub-key" class=
"col-sm-2 control-label">BIP32 Extended Key (addresses only)
</label>
251 <div class=
"col-sm-10">
252 <textarea id=
"extended-pub-key" class=
"extended-pub-key form-control" readonly=
"readonly"></textarea>
262 <div class=
"col-md-12">
263 <h2>Derived Addresses
</h2>
264 <p>Note these addreses are derived from the
<strong>BIP32 Extended Key
</strong></p>
265 <table class=
"table table-striped">
268 <div class=
"input-group">
270 <button class=
"index-toggle">Toggle
</button>
274 <div class=
"input-group">
276 <button class=
"address-toggle">Toggle
</button>
280 <div class=
"input-group">
281 Private Key
282 <button class=
"private-key-toggle">Toggle
</button>
286 <tbody class=
"addresses">
287 <tr><td> </td><td> </td><td> </td></tr>
288 <tr><td> </td><td> </td><td> </td></tr>
289 <tr><td> </td><td> </td><td> </td></tr>
290 <tr><td> </td><td> </td><td> </td></tr>
291 <tr><td> </td><td> </td><td> </td></tr>
296 <span>Show next
</button>
297 <input type=
"number" class=
"rows-to-add" value=
"20">
298 <button class=
"more">Show
</button>
303 <div class=
"col-md-12">
305 <h3>BIP39
<span class=
"small">Mnemonic code for generating deterministic keys
</span></h3>
308 <a href=
"https://github.com/bitcoin/bips/blob/master/bip-0039.mediawiki">official BIP39 spec
</a>
310 <h3>BIP32
<span class=
"small">Hierarchical Deterministic Wallets
</span></h3>
313 <a href=
"https://github.com/bitcoin/bips/blob/master/bip-0032.mediawiki" target=
"_blank">official BIP32 spec
</a>
315 <a href=
"http://bip32.org/" target=
"_blank">bip32.org
</a>
317 <h3>BIP44
<span class=
"small">Multi-Account Hierarchy for Deterministic Wallets
</span></h3>
320 <a href=
"https://github.com/bitcoin/bips/blob/master/bip-0044.mediawiki" target=
"_blank">official BIP44 spec
</a>
322 <h3>Private Keys
</h3>
325 <a href=
"https://web.archive.org/web/20150707020924/https://brainwallet.org/" target=
"_blank">brainwallet.org
</a>,
326 but be careful - it can be easy to make mistakes if you
327 don't know what you're doing
335 <div class=
"col-md-12">
337 <h2>Offline Usage
</h2>
340 You can use this tool without having to be online.
343 In your browser, select file save-as, and save this page
347 Double-click that file to open it in a browser
348 on any offline computer.
351 Alternatively, download it from
352 <a href=
"https://github.com/dcpos/bip39">
353 https://github.com/dcpos/bip39
362 <div class=
"col-md-12">
364 <h2>This project is
100% open-source code
</h2>
367 <span>Get the source code at -
</span>
368 <a href=
"https://github.com/dcpos/bip39" target=
"_blank">
369 https://github.com/dcpos/bip39
376 <span>BitcoinJS -
</span>
377 <a href=
"https://github.com/bitcoinjs/bitcoinjs-lib" target=
"_blank">
378 https://github.com/bitcoinjs/bitcoinjs-lib
383 <span>jsBIP39 -
</span>
384 <a href=
"https://github.com/iancoleman/jsbip39" target=
"_blank">
385 https://github.com/iancoleman/jsbip39
391 <a href=
"https://github.com/bitwiseshiftleft/sjcl" target=
"_blank">
392 https://github.com/bitwiseshiftleft/sjcl
397 <span>jQuery -
</span>
398 <a href=
"https://jquery.com/" target=
"_blank">
404 <span>Twitter Bootstrap -
</span>
405 <a href=
"http://getbootstrap.com/" target=
"_blank">
406 http://getbootstrap.com/
415 <div class=
"feedback-container">
416 <div class=
"feedback">Loading...
</div>
419 <script type=
"text/template" id=
"address-row-template">
421 <td class=
"index"><span></span></td>
422 <td class=
"address"><span></span></td>
423 <td class=
"privkey"><span></span></td>
426 <script src=
"js/jquery.min.js"></script>
427 <script src=
"js/bootstrap.min.js"></script>
428 <script src=
"js/levenshtein.js"></script>
429 <script src=
"js/bitcoinjs-1-5-7.js"></script>
430 <script src=
"js/bitcoinjs-extensions.js"></script>
431 <script src=
"js/sjcl-bip39.js"></script>
432 <script src=
"js/wordlist_english.js"></script>
433 <script src=
"js/jsbip39.js"></script>
434 <script src=
"js/index.js"></script>