Public Key Fingerprint Generator

Generate SHA-256 and MD5 fingerprints from PEM or SSH public keys. Colon-separated hex. Copy buttons. Client-side.

Public key (PEM, SSH, or raw base64)

What is a Public Key Fingerprint?

A fingerprint is a short hash of a public key, used to verify you're connecting to the right server or that a key hasn't changed. When you SSH to a new host, you see its fingerprint and confirm it matches. SHA-256 fingerprints are preferred over MD5 for security.

SHA-256 vs MD5 Fingerprints

SSH originally showed MD5 fingerprints (32 hex chars). MD5 is cryptographically broken. SHA-256 fingerprints (64 hex chars) are the modern standard. Use ssh-keygen -l -E sha256 to get SHA-256. This tool generates both for compatibility.

Key Formats Supported

PEM format: -----BEGIN PUBLIC KEY----- with base64 content. SSH format: ssh-rsa or ssh-ed25519 followed by base64. Raw base64 (key data only). The tool detects the format and extracts the key bytes for hashing.

Frequently Asked Questions

Related Tools

Explore More Tools

Find this tool useful? Buy us a coffee to keep DuskTools free and ad-light.