What Is a PPT File? Structure, Uses and Limits
Understand what PPT stores, how to identify it and when it is the right format.
The Binary Container: What PPT Actually Holds
A PPT file is a proprietary binary format defined by Microsoft for PowerPoint presentations from the 1997–2007 releases. Unlike PPTX, which packages slides as XML inside a ZIP archive, PPT stores all content in a single OLE2 compound document—a file system within a file. The Microsoft Open Specifications for PPT format document the record structures, stream organization, and parsing rules required to read or write this format.
The file opens with a fixed 512-byte OLE2 header containing the 8-byte magic number D0CF11E0A1B11AE1. This signature is shared with legacy XLS and DOC formats; the internal stream names distinguish PPT from those types.
Within the compound container, PPT organizes data into named streams:
- PowerPoint Document — the primary stream holding slide content, shape records, text runs, master slides, and layout definitions
- Summary Information — basic metadata: author, title, subject, creation date
- Document Summary Information — extended metadata: slide count, presentation format flags, thumbnail preview
- Pictures — embedded images stored as sub-storage entries, each with a unique object ID
- PowerPoint Objects — embedded OLE objects, charts, audio, and video stored as verbatim byte sequences
Slides are not discrete files. Each slide exists as a sequence of records inside the PowerPoint Document stream, identified by record type bytes: 0x03F8 for slides, 0x03F9 for notes slides, and 0x0400 for master slides. A parser must traverse a chained offset table to reconstruct the full slide order.
Structural Anatomy: Header, Records, and Offset Chains
The 512-Byte OLE2 Header
The header establishes the file as a valid compound document and provides the parameters needed to navigate its internal sector-based storage. Fields relevant to PPT identification and parsing:
| Offset | Size | Field | Expected Value |
|---|---|---|---|
| 0x000 | 8 bytes | Magic number | D0CF11E0A1B11AE1 |
| 0x01A | 4 bytes | Minor version | 0x003E (62) for PowerPoint-created files |
| 0x01E | 2 bytes | Byte order marker | 0xFFFE (little-endian) |
| 0x030 | 4 bytes | Sector size power | 0x0009 (512-byte sectors) |
| 0x20C | variable | Application ID string | Contains PowerPoint Document |
The byte order marker at offset 0x01E is critical: PPT files are always little-endian. A big-endian marker (0xFEFF) indicates either corruption or a non-PowerPoint OLE2 file.
Slide Records and the Offset Table
Each slide record begins with a 4-byte header: 2 bytes for record type, 2 bytes for the length of the data that follows. The slide data itself contains shape records, text runs with formatting runs, and references to master slide layouts.
Slide sequence is not encoded within individual slide records. A separate structure—the slide offset table—maps slide numbers to byte offsets within the PowerPoint Document stream. This table resides in the Document container record. Corruption of the offset table causes missing or reordered slides during playback, even when the underlying slide records remain intact.
Embedded Media Storage
Images, audio, and video are stored as OLE sub-storage entries. Each media object receives a unique identifier. Slide shape records reference these objects through an exObjRef field that matches the embedded object ID. The raw bytes of the media file—PNG, JPEG, WAV, or MPEG—are stored without compression inside the sub-storage. This means you can extract embedded media directly from a PPT file using a hex editor or an OLE2-aware tool, without launching PowerPoint.
Observable Validation Checks
To confirm a file is a valid PPT without relying on its extension, perform these checks in order:
Read the first 8 bytes. Expected output from
head -c 8 file.ppt | xxd:00000000: d0cf 11e0 a1b1 1ae1Any deviation means the file is not an OLE2 compound document. PPTX files start with
PK(0x504B), so this test cleanly separates the two formats.Verify the byte order marker at offset 0x01E. The value must be
FFFE. A value ofFEFFindicates a big-endian OLE2 file, which PowerPoint does not produce.Check the application identifier near offset 0x20C. The stream should contain the ASCII string
PowerPoint Document. This field can be spoofed, but its absence in a file with a valid OLE2 header strongly suggests a non-PPT compound document such as XLS or DOC.Inspect the root entry for a stream named
PowerPoint Document. Without this stream, the file cannot contain slides. Tools likeoledump.pyor Microsoft's DocFile Viewer can enumerate OLE2 streams without rendering the presentation.
Hard Limits You Cannot Work Around
256-Byte Object Name Limit
Slide names, shape names, and custom object identifiers are stored in fixed-length 256-byte fields defined by the OLE2 container specification. Names exceeding this length are silently truncated on save. The original name is not recoverable from the file.
65,535-Slide Theoretical Maximum
The slide offset table uses a 16-bit index, capping the addressable slide count at 65,535. In practice, PowerPoint 2003 and earlier versions crash above approximately 1,024 slides due to internal rendering buffer overflows. This is a software limitation, not a format constraint—third-party parsers may handle more slides if they bypass the rendering engine.
No Native Media Compression
PPT stores embedded images, audio, and video as raw byte sequences. A 10 MB JPEG occupies 10 MB of file space plus OLE structural overhead. PPTX applies DEFLATE compression to all media, typically reducing total file size by 30–60% for image-heavy presentations. There is no compression flag or option within the PPT binary format.
Single Undo Level After Save
PPT maintains one level of undo in memory during an editing session. Once the file is saved and closed, the undo history is discarded. Unlike PPTX, which stores incremental change data in revision properties, PPT contains no mechanism for recovering prior document states from the file alone.
When PPT Is the Appropriate Format
- Deployment to PowerPoint 97–2003 environments. PPT is the only format guaranteed to open natively on these versions without a compatibility pack.
- Macro-enabled presentations for legacy systems. PPT embeds VBA macros as OLE objects. PPTX cannot execute VBA without conversion to PPTM, which older versions may not support.
- Minimal file size for text-only decks. PPT uses compact binary encoding for text and simple vector shapes. A text-only presentation is often 30–50% smaller as PPT than as PPTX.
- Partial data recovery from corruption. Because slide text and shape data reside in contiguous record blocks, recovery tools can sometimes extract readable content from a corrupted PPT file. A corrupted PPTX ZIP archive often yields nothing.
When PPT Should Be Avoided
- Collaborative editing and version control. PPT is a monolithic binary. Two users cannot merge changes reliably, and diff tools cannot produce meaningful slide-level comparisons. PPTX, with its XML files inside a ZIP container, supports line-level diffing and structured merging.
- Cross-platform presentation. LibreOffice Impress, Google Slides, and Apple Keynote all exhibit rendering differences with PPT. Gradient fills, shadow offsets, and custom animation timings are particularly prone to breakage.
- Embedding modern media types. PPT cannot natively store SVG, EMF+, or 3D model data. PowerPoint converts these to raster formats (PNG or EMF) on insertion, discarding vector precision and increasing file size.
- Security scanning requirements. Antivirus and data loss prevention tools cannot inspect individual slides within a PPT file without a full OLE2 parser. PPTX allows per-XML-file scanning because each slide is a separate ZIP entry.
- Presentations exceeding 150 slides with embedded media. PPT's single-stream architecture forces a full stream rewrite on every save. Loading and saving times degrade noticeably as file size grows.
PPT vs. PPTX vs. PPS: Decision Rules
- Macros required → PPT (or PPTM if targeting PowerPoint 2007+). PPTX without macros cannot execute VBA.
- Version control or diffing required → PPTX. The ZIP-plus-XML structure enables slide-level comparison and merge workflows.
- Target audience uses pre-2007 PowerPoint → PPT. No modern format opens natively on those versions.
- File size is the primary concern → PPTX for image-heavy decks; PPT for text-only decks with simple shapes.
- Read-only slideshow distribution → PPS. A PPS file is structurally identical to PPT; only the file extension differs, triggering slideshow mode on open. PPS files can contain the same macros and embedded objects as PPT—do not treat the extension as a security boundary.