Convert PEM to TXT

Turn PEM files into TXT. Every CERTIFICATE, CERTIFICATE REQUEST, X509 CRL and PKCS7 block is read in its order, and text around the blocks is skipped.

Converted in an isolated sandbox on our serversDeleted after 24 hours

Drop PEM files on the dialor turn it to pick what to do

Certificates as readable text.Each certificate, request or list is printed in full, in the layout certificate tools use.

  1. What you get

    One TXT file that holds every certificate, request and revocation list from the PEM file. Each one starts with a line that gives its SHA-256 fingerprint.

    Below that line, the entry is printed in the usual text layout of certificate tools. It shows the version, serial, names in UTF-8, validity, public key, extensions and signature.

  2. Private keys and large files

    A file that holds a private key stops with unsupported_elements. Keys are not taken here, and they are best converted on your own computer.

    A file with more than 1000 certificates, requests and lists stops with resource_limit.

  3. Next steps

    The output is plain text, so you can read it in any editor. To see what else produces TXT, look at every TXT conversion. To join several text files into one, you can merge TXT.

PEM and TXT.What each format is.

The formats

From · PEM

PEM Certificate

Certificates, certificate requests and revocation lists as base64 text between -----BEGIN and -----END lines, the form web servers and most tools read and write.

Extensions
.pem .crt .csr
MIME type
application/x-pem-file
Kind
Text and data
To · TXT

Plain Text

Plain text with no formatting at all. The smallest, most portable form of a document.

Extensions
.txt .log
MIME type
text/plain
Kind
Text and data

In your code.The same PEM to TXT conversion through the API, for your app or your agent.

terminal
$ cv convert report.pem report.txt
$ cv convert report.pem report.txt

Questions.What people ask about PEM to TXT.

01OF 04

It shows the SHA-256 fingerprint line, then the version, serial, names, validity, public key, extensions and signature. Names are written in UTF-8.

No. The conversion stops with unsupported_elements. Keys are best converted on your own computer.

Yes. PEM covers the pem, crt and csr extensions. Certificates and certificate requests are both printed.

Yes. A file with more than 1000 certificates, requests and lists fails with resource_limit.

More conversions.Other ways in and out of PEM and TXT.