PEM (Privacy-Enhanced Mail)

Published

In this guide

This standards reference on Base64Encoding explains pem in plain language for developers and everyday users.

Everything important stays private: try the matching converter or tool in your browser — files and tokens are not uploaded.

Read the full English article below for code samples and edge cases, or switch language anytime from the menu. We keep expanding translations from real user feedback.

Try these private tools next

PEM is the text format used for X.509 certificates, private and public keys, and certificate requests. The name comes from a 1993 e-mail security standard that never caught on; its encoding format did. The modern definition is RFC 7468.

Structure

-----BEGIN CERTIFICATE-----
MIIDdzCCAl+gAwIBAgIEAgAAuTANBgkqhkiG9w0BAQUFADBaMQswCQYDVQQGEwJJ
...
-----END CERTIFICATE-----
  • The body is standard Base64 of binary DER data.
  • Lines are wrapped at exactly 64 characters, except the last.
  • The label (CERTIFICATE, PRIVATE KEY, PUBLIC KEY, CERTIFICATE REQUEST, RSA PRIVATE KEY, …) tells you what the data is.
  • A file may contain several PEM blocks, for example a certificate chain.

Converting PEM and DER

openssl x509 -in cert.pem -outform der -out cert.der
openssl x509 -in cert.der -inform der -out cert.pem

Or paste the PEM block into the Base64 to File decoder: the BEGIN/END lines are removed automatically and you can download the DER file.

Security note

Never paste private keys into online tools you do not trust. Our converters run locally in your browser, but the safest place for a private key is your own machine.

Gyakran ismételt kérdések

Does this page upload my data?

No. Articles are static. Linked tools run locally in your browser unless a feature explicitly needs a network relay.

Can I request a translation or a new tool?

Yes — use the private feedback form. We prioritize what users ask for across languages.

What is the fastest way to try pem?

Open the homepage Base64 converter or the related tools linked on this page and paste a sample.

Kapcsolódó eszközök és útmutatók

Hozzászólások (0)

Kérdése, ötlete vagy hibája van a(z) „PEM (Privacy-Enhanced Mail)” eszközzel kapcsolatban? Írjon hozzászólást, értékelje az eszközt, vagy válaszoljon másoknak.

Még nincsenek hozzászólások. Legyen Ön az első, aki megosztja a visszajelzését!

Hozzászólás írása

Értékelje ezt az eszközt:
Esc
↑ ↓ mozgatás↵ megnyitásEsc bezárás