TapToConvert All conversions

Home / File types / .p12

P12 file: what it is and how to open it

PKCS#12 certificate bundle. Here is what a .p12 file contains, how to open one on any device, and a viewer that opens it right in your browser.

Open a .p12 file hereChoose fileRead in your browser. Nothing is uploaded.

What the viewer shows

  • Whether the file matches the .p12 signature
  • The first bytes as hex
  • A preview when your browser can display it

What is a .p12 file?

A .p12 file is a PKCS#12 certificate bundle. Its registered MIME type is application/x-pkcs12, which places it in the application or document family of formats.

PKCS stands for Public-Key Cryptography Standards.

P12 is a binary format: the contents are not readable text, so opening it in a text editor shows scrambled characters.

The same format is also saved with the extensions .der, .pem, .pfx.

P12 file format details

Extension.p12
FormatPKCS#12 certificate bundle
MIME typeapplication/x-pkcs12, application/pkcs12
CategoryApplication or document
Text or binaryBinary
File signatureNone fixed
Registered with IANANo
Other extensions.der, .pem, .pfx

How to open P12 files

WindowsP12 files (PKCS#12 certificate bundle) are made by specific software. The reliable way to open one is with the program that created it; a generic viewer will only show raw data.
MacThe same applies on a Mac: look for a Mac version of the program that makes P12 files.
iPhone and iPadPhones rarely open this type of file directly. The viewer above can show what is inside it without installing anything.
AndroidThe same applies on Android. The viewer above shows the first bytes of the file so you can confirm what it is.

Can you convert a .p12 file?

TapToConvert does not convert P12 files. The usual route is to open the file in the program that made it and use its Export or Save as option.

P12 file FAQ

What is a .p12 file?

A .p12 file is a PKCS#12 certificate bundle, with the MIME type application/x-pkcs12.

How do I open a .p12 file?

With the program that created it. The viewer on this page shows what is inside without installing anything.

Is a .p12 file safe to open?

P12 files hold data rather than programs, but any file from an unknown source can be crafted to exploit the software that opens it. Keep that software up to date. The viewer on this page only reads the bytes and never runs anything.

What is the MIME type of .p12?

application/x-pkcs12, and it is also seen as application/pkcs12. Web servers send this type so browsers know how to handle the file.

Is P12 a text or binary format?

Binary. Its contents are not readable as text.

File type facts come from the IANA media type registry, the mime-db project and the freedesktop.org shared MIME database.

Similar file types

Try MP4 to MP3, HEIC, merge PDF or compress video.