Brainwallet
Passphrase
Private Key
Binary -
Hex -
Public Key
Compressed -
Uncompressed -
Addresses
BTC Compressed -
BTC Uncompressed -
LTC -
DOGE -

Documentation

What is this?

The Visualizer is an interactive tool for visualizing secp256k1 private keys as a 256-bit grid. Each cell represents one bit of the private key. Click cells to toggle bits and see the resulting addresses (BTC, LTC, DOGE) in real-time. This tool runs entirely in your browser - no data is sent to any server.

Grid Controls

  • Click a cell to toggle its bit value (0/1)
  • Click and drag to paint multiple cells (first cell determines if you're setting or clearing)
  • Grid Size changes the visual layout (16x16, 8x32, or 4x64) - same 256 bits, different arrangement
  • Start Corner determines where bit 256 (MSB) is placed
  • Primary Axis controls whether bits fill rows or columns first
  • Pattern - Linear fills each row/column the same direction; Snake alternates (boustrophedon)

Action Buttons

  • Clear - Set all editable bits to 0
  • Toggle - Flip all editable bits
  • n-k - Apply secp256k1 n-k symmetry transformation
  • Random - Generate a random key within puzzle constraints
  • Copy Link - Copy a shareable URL with the current grid state

Presets

Select from known crypto puzzles. When a puzzle is selected, leading zero bits and the MSB are locked to constrain the key to the puzzle's range. Solved puzzles are marked with a checkmark.

Hex Input

Click the hex value to edit it directly. Enter a valid 64-character hex string to set the private key. Invalid input is shown in red.

Brainwallet

Enter a passphrase and press Enter to generate a private key from SHA-256(passphrase). Warning: Simple brainwallets are insecure - use only for testing.

n-k Symmetry

Every secp256k1 private key k has a complement n-k that produces the negated public point. Both k and n-k map to the same hash160 when using the compressed public key. The n-k button transforms the current key to its complement.