Tested tool guide
Tested browser tools
Checked August 16, 2026
What PEM File Parser & Inspector does, with a checked example
This tool takes one or more PEM blocks, strips the base64 body between the BEGIN/END markers, decodes it to DER, and walks the ASN.1 structure to surface subject, issuer, validity dates, signature algorithm, and public key type and size. It handles certificates, CSRs, and public/private keys as separate object types. The most common surprise: a chain file with several concatenated blocks is reported block by block, not merged into one certificate path, so users looking for 'the chain is valid' get individual field dumps instead.
Worked example
A concrete input and expected output from the current implementation.
Input
-----BEGIN CERTIFICATE-----
MIIB...
-----END RSA PRIVATE KEY-----
->
Expected output
Error: mismatched PEM boundaries - block opens with 'BEGIN CERTIFICATE' but closes with 'END RSA PRIVATE KEY'. No fields extracted.
PEM requires the BEGIN and END labels of a block to match (RFC 7468); a parser that enforces this cannot treat the base64 payload as either object type and must reject the block rather than guess.