The Problem
Solana keypairs are stored as JSON arrays by default — 64-byte arrays that are not directly usable in most wallet interfaces or tools that expect Base58 format. Converting between these formats manually is error-prone and tedious.
What It Is
soltool is a CLI tool to convert Solana keypair JSON files to Base58 format. Install it globally with npm and run it from the command line whenever you need to convert a keypair.
Installation
npm install -g soltoolHow It Works
Point soltool at your Solana keypair file (the JSON array output from solana-keygen) and it outputs the private key in Base58 format — the format used by most wallets, hardware signers, and tools.
Keywords
solana, keypair, base58, cli, converter
Author
Sal Samani (Metasal). MIT license. Source at github.com/metasal1/soltool.
Why I Built It
This conversion need comes up constantly. Every time you generate a keypair with the Solana CLI and want to import it elsewhere, you hit this problem. soltool is a permanent fix — one install, use it forever.
