PEM Encoder

Enter raw data (Base64 or hex) and a PEM type to create a PEM-encoded block. Useful for converting DER/hex certificate data to PEM format.

Enter Base64 or hex-encoded data.

Select the PEM block type.

Format of the input data.

Result

Enter your values and press Calculate — the result appears here.

Worked examples

Encode certificate

  • data = MIIB...
  • type = CERTIFICATE
  • format = base64

Result: -----BEGIN CERTIFICATE-----\nMIIB...\n-----END CERTIFICATE-----

Frequently asked questions

What types can I encode?

Common types include CERTIFICATE, PUBLIC KEY, PRIVATE KEY, RSA PRIVATE KEY, and CERTIFICATE REQUEST (CSR).

💬 Discuss on BestWordz Community

Join the conversation about Cybersecurity, pem encoder, pem format on the BestWordz Community forum.

Visit Forum →
Copied!