How do I import a keystore file generated in geth into Metamask?

Is there a simple way for me to convert the ciphertext into a private key, can I decrypt it with my passphrase somehow?

1 Answer 1


Use keythereum https://github.com/ethereumjs/keythereum

You will be able to manage keystore files and decrypt the private key

  • is there anyway to do this manually as well, without code? im just looking for a quick way to convert this keystore file, so i can copy and paste the result into metmask import account. (will definitely use keythereum later)
    – 0TTT0
    Feb 18, 2019 at 23:17
  • 1
    Check this ethereum.stackexchange.com/questions/3447/…
    – abed
    Feb 19, 2019 at 6:37

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.