Format Converter

PEM to DER, DER to PEM, and PKCS#7 bundles unpacked into individual certificates.

What this tool does

Converts certificates between the encodings different tools insist on: PEM to DER, DER to PEM, and PKCS#7 bundles to individual PEM certificates. Everything is re-framed in your browser; no file is uploaded.

PEM is base64 text with BEGIN/END lines — the form you can paste. DER is the same bytes unencoded, used where a binary blob is expected. PKCS#7 (.p7b) bundles a chain with no keys, and is what many commercial CAs hand back.

How to use it

Pick a mode, then supply either a file or pasted text:

Reading the result

Extracted certificates are shown with their subject and issuer, so you can tell the leaf from the intermediates. Order matters when you build a chain file: leaf first, then each intermediate toward the root.

Common problems

Related