Private key
File type: Encoded and encrypted file
The pvk file extension identifies a Microsoft PVK file that stores an RSA private key. The key may be password-protected, and OpenSSL can read and write this format.
File type category:
Encoded and encrypted file
Date updated: November 16, 2026
Microsoft PVK format is used by Microsoft cryptographic tools to store RSA private keys. A PVK file is a small data file that contains private-key data and may be encrypted with a password.
The key can be used by compatible software for cryptographic operations such as signing or authentication. OpenSSL, which is available on multiple platforms, can handle PVK files with its RSA command. PVK is a legacy key format rather than a typical format for modern key storage.
Use OpenSSL's rsa command to read a PVK file or convert it to a format that other key-management tools can use. If the key is password-protected, provide its password when prompted.
Use OpenSSL's rsa command to convert a PVK private key to PEM by specifying PVK as the input format and PEM as the output format. To create a PVK file from a PEM key, specify PEM as the input format and PVK as the output format. The conversion preserves the private-key material, though encryption settings can differ; password options can be used when writing an encrypted PVK file.