Tested tool guide
Tested browser tools
Checked August 16, 2026
What PEM to DER Converter does, with a checked example
PEM and DER are two containers for the same certificate or key data. PEM is the readable form: base64 text wrapped in lines like -----BEGIN CERTIFICATE-----. DER is the raw binary inside that wrapping. This tool converts either direction by adding or removing the armor lines and base64-encoding or decoding, so the underlying bytes never change. Everything runs in the browser; nothing is uploaded. The surprise for most users: conversion does nothing beyond re-wrapping. It does not encrypt, decrypt, sign, or validate. A PEM file is not an encrypted 'safe text' version of DER; it is the identical data presented differently, and converting cannot fix a broken certificate.
Worked example
A concrete input and expected output from the current implementation.
Input
-----BEGIN CERTIFICATE-----
MAMCAQE=
-----END CERTIFICATE-----
->
Expected output
30 03 02 01 01 (the five DER bytes, shown as hexadecimal)
Removing the two armor lines leaves MAMCAQE=, which base64-decodes to five bytes: 30 03 02 01 01. That is a DER SEQUENCE (0x30) three bytes long (0x03) wrapping an INTEGER (0x02) of length 1 (0x01) with value 1 (0x01). A real certificate is the same encoding with dozens of fields; this tiny block only illustrates the transformation.