article

PEM Normalizer

Format and normalize PEM encoded certificates and keys. Fix line wrapping and whitespace issues.

Input PEM

Paste certificate or key to normalize

Normalized Output

Properly formatted PEM

article

Paste PEM content to normalize

About PEM Format

PEM (Privacy-Enhanced Mail) is a Base64 encoded format for storing cryptographic keys and certificates. The format includes header/footer markers and is commonly used in SSL/TLS configurations, SSH keys, and X.509 certificates.

  • Standard line length is 64 characters (RFC 7468)
  • Some systems use 76 characters (RFC 2045 MIME)
  • Headers and footers identify the content type
  • Normalizing fixes common formatting issues
  • All processing happens locally in your browser