Home : File Types : PKL File

.PKL File Extension

File TypePython Pickle File

4.1 (26 Votes)
CategoryDeveloper Files

What is a PKL file?

A PKL file is a file created by pickle, a Python module that enabless objects to be serialized to files on disk and deserialized back into the program at runtime. It contains a byte stream that represents the objects.

More Information

The process of serialization is called "pickling," and deserialization is called "unpickling." A PKL file is pickled to save space when being stored or transferred over a network then is unpickled and loaded back into program memory during runtime. The PKL file is created using Python pickle and the dump() method and is loaded using Python pickle and the load() method.

There are three protocols used for pickling:

  • Version 0 - The original ASCII protocol, which is backwards compatible with earlier Python versions.
  • Version 1 - The old binary format, which is backwards compatible with earlier Python versions.
  • Version 2 - Python 2.3 format, which features more efficient pickling of new style classes.

NOTE: PKL files may also have the .PICKLE extension but more commonly have the .P extension.

Open over 400 file formats with File Viewer Plus.

Programs that open PKL files

Updated 3/9/2017

About PKL Files

Our goal is to help you understand what a file with a *.pkl suffix is and how to open it.

The Python Pickle file type, file format description, and Mac, Windows, and Linux programs listed on this page have been individually researched and verified by the FileInfo team. We strive for 100% accuracy and only publish information about file formats that we have tested and validated.

If you would like to suggest any additions or updates to this page, please let us know.