# Table-Generation Scripts

Source URL: https://help.blockstream.com/generate-recovery-phrase-offline-scripts
Updated: 2026-08-12T16:17:28.000Z

---

[Generate a Recovery Phrase Offline](https://help.blockstream.com/generate-recovery-phrase-offline)

# Table-Generation Scripts

These scripts generate Markdown lookup tables from the BIP-39 English word list in `english.txt`. Run them from the repository root with Python 3\. Redirect the output to a separate file when you want to inspect or update a table.

| Script                  | Method             | Output                                            |
| ----------------------- | ------------------ | ------------------------------------------------- |
| create\_table\_bin.py   | Binary values      | The 2,048 BIP-39 words indexed by 11 bits.        |
| create\_table\_8ff.py   | D8/D16/D16         | The lookup table for one D8 and two D16 dice.     |
| create\_table\_888cc.py | D8/D8/D8/coin/coin | The lookup table for three D8 dice and two coins. |

## Commands

```
python3 scripts/create_table_bin.py > /tmp/binary-table.md
python3 scripts/create_table_8ff.py > /tmp/d8ff-table.md
python3 scripts/create_table_888cc.py > /tmp/888cc-table.md

```

The binary table used by the guides is available at [Binary Words Table](https://help.blockstream.com/generate-recovery-phrase-offline-binary-table). When updating an embedded table, keep the page's introductory text and replace only the generated table rows.

## Word List

All scripts read `scripts/english.txt`, the 2,048-word English BIP-39 word list. Keep the word list next to the scripts so they can be run from any working directory.

## Other Methods

[Coin](https://help.blockstream.com/generate-recovery-phrase-offline-coin)[D6](https://help.blockstream.com/generate-recovery-phrase-offline-d6)[D8](https://help.blockstream.com/generate-recovery-phrase-offline-d8)[D8/D16/D16](https://help.blockstream.com/generate-recovery-phrase-offline-d8-d16-d16)[D8/D8/D8/coin/coin](https://help.blockstream.com/generate-recovery-phrase-offline-d8-d8-d8-coin-coin)[Poker Cards](https://help.blockstream.com/generate-recovery-phrase-offline-poker)[Piacentine Cards](https://help.blockstream.com/generate-recovery-phrase-offline-piacentine)[Tarot](https://help.blockstream.com/generate-recovery-phrase-offline-tarot)[Binary Words Table](https://help.blockstream.com/generate-recovery-phrase-offline-binary-table)
