Extract Public Key from Private Key Online - RSA, DSA, EC Free | 8gwifi.org

Extract Public Key from Private Key

Derive the public key from RSA, DSA, or EC private keys in PEM format

By Anish Nath - Security Engineer | @anish2good
Privacy-First No Data Stored
Private Key Input
Only required if your private key is encrypted
Supported Key Types
RSA (1024-8192 bit) DSA (1024-3072 bit) EC/ECDSA Ed25519
Public Key Output

Paste a private key and click "Extract Public Key" to see the result

OpenSSL Commands Reference
RSA Extract Public Key
$ openssl rsa -in private.pem -pubout -out public.pem
DSA Extract Public Key
$ openssl dsa -in private.pem -pubout -out public.pem
EC Extract Public Key
$ openssl ec -in private.pem -pubout -out public.pem

Support This Free Tool

Every coffee helps keep the servers running. Every book sale funds the next tool I'm dreaming up. You're not just supporting a site — you're helping me build what developers actually need.

500K+ users
200+ tools
100% private
Privacy Guarantee: Private keys you enter or generate are never stored on our servers. All tools are served over HTTPS.