Developer Tools

SSH Public and Private Key Formatter

Clean broken-line SSH public or private keys, detect OpenSSH and PEM forms, and output authorized_keys-ready lines—all locally without uploading secrets.

SSHKeysDevOps

Favorite this tool

No favorite storage mode has been selected.

Quick actions

Copy this tool URL or open the system share sheet on a supported device.

Use cases

  • Fix keys copied from chat apps with broken lines
  • Validate format before writing authorized_keys
  • Prepare GitHub deploy keys

How to use

  1. Paste full or partial key text
  2. Review detected type and cleaned output
  3. Copy the normalized key

Example input and output

Messy paste

ssh-rsa \n AAB...  admin

Cleaned

ssh-rsa AAB... admin

FAQ

Can it tell public vs private keys?

Yes. It classifies by markers and reports algorithm and comment when present.

Are keys sent to a server?

No. Formatting and detection run locally.

Tools

Related tools

Continue with another translated tool for a nearby task.

SSL Certificate Parser

PEM X.509 Certificate Parser

Available

Parse PEM X.509 certificates locally to read validity, subject-related fields, and DER size. Lightweight inspection without full chain trust validation.

SSL Certificate X.509