Skip to main content
L
Loopaloo
Buy Us a Coffee
All ToolsImage ProcessingAudio ProcessingVideo ProcessingDocument & TextPDF ToolsCSV & Data AnalysisConverters & EncodersWeb ToolsMath & ScienceGames
Guides & BlogAboutContact
Buy Us a Coffee
L
Loopaloo

Free online tools for developers, designers, and content creators. All processing happens entirely in your browser - your files never leave your device. No uploads, no accounts, complete privacy.

support@loopaloo.com

Tool Categories

  • Image Tools
  • Audio Tools
  • Video Tools
  • Document & Text
  • PDF Tools
  • CSV & Data
  • Converters
  • Web Tools
  • Math & Science
  • Games

Company

  • About Us
  • Contact
  • Blog
  • FAQ

Legal

  • Privacy Policy
  • Terms of Service
  • Disclaimer

Support

Buy Us a Coffee

© 2026 Loopaloo. All rights reserved. Built with privacy in mind.

Privacy|Terms|Disclaimer
  1. Home
  2. Web Tools
  3. PEM/DER Converter
Add to favorites

PEM/DER Converter

Convert certificates and keys between PEM (Base64) and DER (binary) formats. Supports certificates, keys, and CSRs

Convert certificates and keys between PEM (Base64 text) and DER (binary) formats. Some servers and tools require one format; others require the other. Drop a file in, pick the target format, and download the converted result.

Runs in your browser and files never uploadedMore web toolsJump to full guide

Initializing in your browser…

You might also like

CSR Generator

Generate Certificate Signing Requests (CSR) for SSL/TLS certificates with RSA key pairs. Submit to CAs for certificate issuance

Certificate Decoder

Decode and analyze PEM-encoded X.509 SSL/TLS certificates. View subject, issuer, validity, extensions, and fingerprints

Image Format Converter

Convert images between PNG, JPG, WebP, AVIF, BMP formats. Features quality control, transparency support, and batch conversion for efficient workflow.

PEM/DER Converter: a worked example

A Java keytool import rejects your .pem file because it wants binary DER, and you need to convert without installing OpenSSL.

Input

certificate.pem (Base64 text, "-----BEGIN CERTIFICATE-----")
PEM/DER Converter produces

Output

certificate.der  (binary, 1,214 bytes)
First bytes: 30 82 04 BA 30 82 03 A2 …  (DER SEQUENCE)
Direction is reversible: drop a .der back in to get PEM.

PEM and DER hold the same X.509 data: DER is the raw ASN.1 binary, and PEM is just that binary Base64-encoded and wrapped in `-----BEGIN-----` headers. Some tools (Java keystores, certain embedded stacks) accept only one form. The converter strips or adds the Base64 armor in your browser, no key material is uploaded.

What is PEM/DER Converter?

Convert certificates and keys between PEM (Base64 text) and DER (binary) formats. Some servers and tools require one format; others require the other. Drop a file in, pick the target format, and download the converted result.

How to use

  1. 1Upload a PEM or DER file, or paste PEM text.
  2. 2Select the target format.
  3. 3Download the converted file.

Key features

  • PEM to DER conversion
  • DER to PEM conversion
  • Certificate and key file support
  • Drag-and-drop upload
  • Client-side processing

Common use cases

  • Java keystore imports

    Convert PEM certificates to DER format for import into Java KeyStore (JKS) files.

  • Windows certificate management

    Convert between formats when working with the Windows Certificate Manager, which often expects DER.

  • IoT device provisioning

    Convert certificates to the format required by embedded devices with limited format support.

Frequently asked questions

What's the difference between PEM and DER?

PEM is Base64-encoded text wrapped in -----BEGIN/END----- markers. DER is the raw binary encoding. They contain the same data, just represented differently.

How do I know which format I have?

If you can open the file in a text editor and see -----BEGIN CERTIFICATE-----, it's PEM. If it's unreadable binary, it's DER.

Private by design

This runs as client-side JavaScript. Keys, tokens, payloads, and other inputs never leave your device.