Personal Storage Table
|Internet media type||
In computing, a Personal Storage Table (PST) is an open, proprietary file format used to store messages, calendar events, and other items within Microsoft software such as Microsoft Exchange Client, Windows Messaging, and Microsoft Outlook. The open format is controlled by Microsoft, who provides free specifications and free irrevocable technology licensing.
The file format may also be known as a Personal Folder File or a Personal Address Book (.pab). When functioning in its capacity as a cache for Outlook's Cached Exchange Mode feature, it may be called an Offline Storage Table (.ost) or an Offline Folder File.
In Microsoft Exchange Server, the messages, the calendar, and other data items are delivered to and stored on the server. Microsoft Outlook stores these items in a personal-storage-table (PST) or off-line-storage-table (OST) files that are located on the local computer. Most commonly, the PST files are used to store archived items and the files to maintain off-line availability of the items.
The size of these files no longer counts against the size of the mailbox used; by moving files from a server mailbox to PST files, users can free storage space on their mailservers. To use the .pst files from another location the user needs to be able to access the files directly over a network from his mail client. While it is possible to open and use a PST file from over a network, this is unsupported, and Microsoft advises against it, as PST files are prone to corruption when used in this manner.
Both the PST and .ost files use a fixed-block-based allocation scheme; the file is enlarged by a fixed amount of bytes, and the file internally maintains information about the allocated and non-allocated blocks. So, when data files like email messages are added to a PST file, its file size is automatically adjusted by the mail client (if necessary). When mail is deleted from a PST file, the size of the PST file will stay the same, marking the space as unallocated so that it will hold future data items.
To reduce the size of PST files, the user needs to compact them.
Data access 
Password protection can be used to protect the content of the PST files. However, Microsoft admits that the password adds very little protection, due to the existence of commonly available tools which can remove or simply bypass the password protection. The password to access the table is stored without the first and last XOR CRC-32 integer representation of itself in the PST file. Outlook checks to make sure that it matches the user-specified password and refuses to operate if there is no match. The data is readable by the libpst project code.
Microsoft (MS) offers three values for the encryption setting: none, compressible, and high.
- None the PST data is stored as plain text.
- Compressible the PST data is encrypted with a byte-substitution cipher with a fixed substitution table.
- High (sometimes called "better") encryption is similar to a WWII German Enigma cipher with three fixed rotors.
Note that neither of the two encryption modes uses the user-specified password as any part of the key for the encryption.
The PST file format is supported by several Microsoft client applications, including Microsoft Exchange Client, Windows Messaging, and Microsoft Outlook. The PST file format is an open format for which Microsoft provides free specifications and irrevocable free patent licensing through the Open Specification Promise 
There are tools to convert PST to other formats or to upload to other online e-mails like Gmail, for example.
Formats and size 
Outlook 2002 and earlier use ANSI (extended ASCII with a codepage) encoding for their PST and .ost files. This format has a maximum size of 2 GB (231 bytes) and does not support Unicode. A file exceeding this size is likely to give error messages, such as ".pst has reached maximum size limit," and could become corrupted. Although superseded, this format continues to be supported by Microsoft Outlook 97 and later (98, 2000, 2002 (XP), 2003, 2007), by Internet Message Access Protocol Version 4rev1 (IMAP4) accounts and by HTTP accounts.
From Outlook 2003 and onward, the standard format for PST and .ost files is Unicode (UTF-16 little-endian). The use of 64-bit pointers instead of the 32-bit pointers of the earlier version allowed to overcome the 2 GB limit. Now, there is a user-definable maximum-file size up to 20 GB. This format is supported by Microsoft Outlook 2003 and later (2007)  A file that is created in the personal-folders format in Outlook 2003 or in Microsoft Office Outlook 2007 is not compatible with earlier versions of Microsoft Outlook and cannot be opened by using those older versions. If this limit is reached or sometimes exceeded, retrieval of the PST file can be difficult if not impossible.
As with any file, PST files can become corrupted. Prior to Outlook 2003, the default PST file format was ANSI and had a maximum size of 2 GB. If the PST file were allowed to grow over 2 GB, the file would become unusable. Microsoft provides PST2GB, a tool that can be used to truncate a PST file that has grown over 2 GB. Microsoft also provides scanpst.exe, that can be used to repair other PST file-corruption issues. In Outlook 2003 and 2007, PST files are created in the Unicode format and have a default maximum size of 20 GB. Outlook 2010's default maximum size has increased to 50 GB.
Entourage and Outlook for Mac 
Microsoft Entourage is Microsoft's email and personal information program for Mac OS X. While superficially similar to Outlook, it is an entirely different application, and uses a unique database format which cannot be imported or exported, though user data can be imported and exported to and from another unique format called .rge (a bundle consisting of many individual files plus metadata). Entourage 2008, the current version as of May 2010, has no support for PST files, though there exists Microsoft's PST import tool for Entourage 2004; however, the tool could only import PST files from Outlook for Mac 2001, and not any Windows versions. Entourage is being replaced by Outlook for Office 2011 for Intel Macs, which will be able to import Outlook PST files from Windows; however, data will be stored as many individual files, rather than in a single database such as PST or the Entourage database.
Outlook for Mac 2001, which runs under Mac OS 9 or the Mac OS X Classic Environment, connects exclusively to Exchange servers, and to this day is closer to its Windows counterpart than Entourage is. It works directly with 'Outlook 97-2002' PST files, and can freely interchange those files with Outlook for Windows, as recent versions are still compatible with the older PST format. The limit for outlook 2011 is 13 GB.
Related formats 
- "Personal Folder File (PAB, PST, OST), MIME types". Forensics Wiki. January 2009. Retrieved 2012-05-13.
- "Introduction to Personal Folders files (.pst)". Microsoft.com. Retrieved 2008-10-04.
- "Reduce the size of a .pst file". Microsoft.com. Retrieved 2008-10-04.
- "Create a .pst file in Outlook 2003/Office Outlook 2007 format". Microsoft.com. Retrieved 2008-10-04.
- "XCLN: Improving the Security of PST Files". Microsoft.com. Retrieved 2009-08-12.
- [MS-PST]: Outlook Personal Folders File Format (.pst) Structure Specification
- Migrating from Microsoft Outlook to Gmail
- "Binary analysis of the pst file format". Retrieved 2010-06-12.
- "The .pst file has a different format and folder size limit in Outlook 2007 and in Outlook 2003 (KB830336)". Microsoft. 2007-02-05. Retrieved 2007-03-05.
- "How to configure the size limit for both (.pst) and (.ost) files in Outlook 2007 and in Outlook 2003 (KB832925)". Microsoft. 2007-02-13. Retrieved 2008-04-09.
- "The file size limits of PST and .ost files are larger in Outlook 2010 (KB982577)". Microsoft. 2011-09-02. Retrieved 2011-12-08.
- "Introducing Office for Mac 2011: The Quintessential Teammate". Microsoft.com. Retrieved 2010-07-09.
- Microsoft has released some of the format specification and reference implementation.
- libpst project: format of Microsoft Outlook PST file
- libpst project - contains many utilities to convert PST files to other mailbox formats
- A great deal of information about the format has been documented by the libpff project, including some of the Personal Folder File format specifications and MAPI definitions.