Solana-Keygen

Privacy Guaranteed: All conversion happens completely in your browser. Your seed phrase never leaves your device and is not stored or transmitted anywhere. This tool works entirely client-side to ensure maximum protection of your sensitive wallet information.

Single Conversion

Bulk Conversion

Convert Seed Phrase to JSON Format

This tool lets you convert your Solana seed phrase (mnemonic) directly to JSON format private key. While Base58 is now the preferred format for modern wallets like Phantom, JSON format is still used by some wallets, development tools, and legacy systems. Use this converter to ensure compatibility with platforms that require the JSON representation of your private key.

Understanding Solana Key Formats

Solana wallets use several formats to represent private keys. This converter helps you transform between these formats, specifically from seed phrases to JSON private keys.

Seed Phrase Format

A seed phrase (mnemonic) consists of 12 or 24 common words that represent your private key in a human-readable format.

abandon art magnet try legend grief
victory enter perfect donate marble craft
  • Easy to write down and back up physically
  • Less prone to transcription errors than random characters
  • Can generate multiple private keys using derivation paths
  • Standard format used across many blockchains

JSON Private Key Format

A JSON private key for Solana is an array of 32 integers (bytes) that represent your private key.

[240, 133, 238, 88, 73, 252, 13, 180, 204, 40, 222, 119, 82, 251, 21, 123, 180, 198, 176, 124, 225, 198, 156, 5, 215, 92, 198, 203, 61, 239, 171, 46]
  • Used by earlier versions of Solflare and other Solana wallets
  • Required by some development libraries and tools
  • More verbose than Base58 format
  • Shows the actual raw bytes of your private key

When to Use Seed to JSON Conversion

There are several specific situations where converting your seed phrase to JSON format is particularly useful:

Development & Testing

  • Smart Contract Development: When building Solana smart contracts that require testing with specific JSON-formatted keys
  • dApp Development: For applications that need to work with older wallet formats or libraries
  • Integration Testing: Testing compatibility with both modern and legacy wallet formats

Wallet Migration & Compatibility

  • Legacy Wallet Support: Converting to JSON format for use with older wallet software
  • Multi-Wallet Access: Accessing the same wallet from different applications with varying format requirements
  • Cross-Platform Compatibility: Ensuring your keys work across different tools and platforms

Backup & Security

  • Redundant Backups: Creating backups in multiple formats for additional security
  • Format Diversity: Protection against format obsolescence by having keys in multiple representations
  • Technical Analysis: For users who need to inspect the raw bytes of their private key
Note: While this tool provides conversion to JSON format, newer Solana wallets like Phantom prefer Base58 format. If you're importing to Phantom, consider using our Seed to Base58 converter instead.

Understanding Derivation Paths

When converting from a seed phrase, the derivation path determines which specific wallet account will be generated. A single seed phrase can generate multiple wallet addresses, each controlled by a different private key.

m/44'/501'/0'/0' ← Default Solana derivation path

Breaking down the parts:

  • m - Master key indicator
  • 44' - Purpose (BIP44 standard)
  • 501' - Coin type (Solana)
  • 0' - Account index
  • 0' - Address index

Common Solana Derivation Paths

  • m/44'/501'/0'/0' - Default path used by Phantom, Solflare, and most Solana wallets
  • m/44'/501'/0' - Used by some older Sollet wallets
  • m/44'/501'/X'/0' - For accessing multiple accounts (where X is the account index)
Tip: If you're trying to recover a specific wallet and the address doesn't match what you expect, try different derivation paths. The different paths will generate different addresses from the same seed phrase.

Frequently Asked Questions

Yes, this tool is designed with security as the top priority:

  • Client-Side Processing: All conversions happen entirely in your browser - your seed phrase never leaves your device
  • No Server Communication: No data is sent to any server or stored in any database
  • Open Source Logic: The conversion logic is visible in the browser's JavaScript

For additional security with high-value wallets, you can:

  • Use this tool on a secure, private device
  • Disconnect from the internet before entering your seed phrase
  • Clear your browser history after use

While Base58 is becoming the standard format for newer wallets, JSON format is still needed for several reasons:

  • Compatibility with older wallet versions that require JSON format
  • Some development libraries and tools specifically require JSON format
  • Creating multi-format backups of your private keys
  • Technical analysis or debugging that requires seeing the raw bytes
  • Integration with custom systems that were designed to use JSON format

If the generated wallet address doesn't match your expected address, try the following:

  1. Verify that you entered the seed phrase correctly with no typos
  2. Try different derivation paths from the dropdown menu
  3. Check if your original wallet used a non-standard derivation path
  4. Confirm that you're looking for a Solana address and not an address from another blockchain

Different wallets might use different derivation paths to generate addresses from the same seed phrase. The "Show Wallet Address" button helps you verify you're generating the correct wallet.

Recent versions of Phantom wallet show a "deprecated format" error when trying to import JSON format private keys. If you're planning to use Phantom wallet, we recommend using our Seed to Base58 converter instead.

The conversion process follows these steps:

  1. Seed phrase → JSON format (using this tool)
  2. JSON format → Base58 format (using our JSON to Base58 converter)
  3. Import the Base58 key into Phantom

Alternatively, you can import your seed phrase directly into Phantom without needing conversion.