CRT to Base64 Converter - Encode .crt Certificate to Base64 Online | JavaInUse

Convert CRT to Base64 - Free Online

Encode a .crt certificate (PEM or binary DER) into a Base64 string. Everything runs in your browser.




🔑 CRT to Base64 Encoder
Or load a .crt file (PEM or binary DER):

About CRT to Base64 Encoding

A PEM certificate is already Base64 - between the -----BEGIN CERTIFICATE----- markers. This tool gives you that Base64 as a clean single line (the DER bytes encoded), or you can Base64-encode the entire PEM file including its headers, which is what tools like Kubernetes secrets and some environment variables expect.

Enable "Base64-encode the whole PEM text" to produce the value used in kubectl create secret tls data fields; leave it off to get the raw certificate body Base64 (equivalent to the DER bytes).

Convert and package keys for SSH, TLS, and keystore workflows.

Search Tutorials