Security & Identity

SSH Key Fingerprint

Compute the fingerprint of an SSH public key in the OpenSSH and legacy formats.

  • Nothing savedInput and output stay in memory and are gone when you leave this page.
  • Runs in your browserProcessing happens in this page. No application server receives your input.

OpenSSH authorized_keys lines

Nothing on this page is saved. Closing or reloading the tab discards it permanently.

Fingerprints

Parsed OpenSSH public keys
TypeBitsSHA256 fingerprintMD5 fingerprintComment
Paste one or more OpenSSH public key lines to compute fingerprints.

What this tool does

Reads one or more OpenSSH public key lines (such as entries from authorized_keys), computes each key's fingerprint in both the modern SHA256: unpadded Base64 form and the legacy MD5: colon-hex form, reports the authoritative key type and bit length from inside the binary wire blob, and draws the 17x9 randomart that ssh-keygen -lv prints.

How it runs

Runs on the main thread using ByteReader, decodeBase64Bytes, encodeBase64Bytes, hexOf, hexToBytes, and digestBytes. The declared key type in the line prefix is compared against the length-prefixed type inside the binary wire blob.

Limits and non-goals

Public keys only. Certificates (ssh-*-cert-v01@openssh.com) are recognized by type and fingerprinted, but their embedded fields are not expanded. Private keys are refused immediately (This is an OpenSSH private key. Never paste a private key into a web page.) without hashing. No PEM or PKCS#8 conversion (T25 produces those) and no known_hosts hashed-hostname matching.

Example

ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIAECAwQFBgcICQoLDA0ODxAREhMUFRYXGBkaGxwdHh8g alice@laptop produces Type ssh-ed25519, Bits 256, SHA256:mKqU+0K8OhKmA8bBQi9Rz0Q5l7/g160hIP+rJYSTNj4, and a 17x9 randomart block.

Scope: this covers the page itself. Your browser, operating system, clipboard, downloads, extensions, and crash recovery may keep copies, and a compromised site origin would not be protected.