.PAGES Apple Pages Document
.pages

Apple Pages Document

A Pages file is the native document format of Apple's Pages word processor, part of the iWork suite. Since 2013, Pages files are ZIP archives containing IWA (iWork Archive) protobuf-encoded data and embedded resources. FileDex does not convert Pages files but provides format reference information.

Document structure
Header version
Body content tree
Index references
ZIP ContainerIWA ProtobufApple iWorkiCloud Sync50 4B 03 04
By FileDex
Not convertible

Apple Pages format requires Apple's proprietary rendering engine not available outside macOS/iOS.

Common questions

How do I open a Pages file on Windows?

Upload it to iCloud.com/pages (free with an Apple ID) to view and edit in a browser. Alternatively, use CloudConvert or a similar service to convert it to DOCX or PDF.

Can I convert Pages to Word?

Yes. In Pages on Mac or iCloud.com, use File > Export To > Word. The resulting DOCX is compatible with Microsoft Word and other office suites.

Why can I not open old Pages files?

Pages 5.0 (2013) switched from XML to IWA format. Old Pages '09 files must be opened in an older version of Pages first, then re-saved in the new format.

What makes .PAGES special

What is a Pages file?

Pages is the native document format of Apple's Pages word processor, part of the iWork suite. Since 2013, Pages files are ZIP archives containing an IWA (iWork Archive) protobuf-based format along with embedded images and resources. Pages offers word processing and page layout modes.

Continue reading — full technical deep dive

How to open Pages files

  • Apple Pages (macOS, iOS, Web) — Full editing
  • iCloud.com (Web) — Free, online viewing/editing
  • LibreOffice (Windows, macOS, Linux) — Limited import
  • Rename to .zip — Extract and view embedded images

Technical specifications

Property Value
Format ZIP archive with IWA files
Internal Data Protocol Buffers (protobuf)
Export Options PDF, DOCX, EPUB, TXT
iCloud Synced across Apple devices
Templates Built-in professional templates

Common use cases

  • Apple users: Document creation on Mac, iPad, iPhone.
  • Student work: Reports and essays in Apple ecosystem.
  • Newsletters: Page layout and design projects.
  • Collaboration: Real-time editing via iCloud sharing.

.PAGES compared to alternatives

.PAGES compared to alternative formats
Formats Criteria Winner
..PAGES vs ..DOCX
Cross-platform support
DOCX works on Windows, macOS, Linux, mobile, and web; Pages is effectively limited to Apple platforms
.DOCX wins
..PAGES vs ..DOCX
Apple ecosystem integration
Pages integrates natively with iCloud, Handoff, and Apple devices with zero-config sync and collaboration
.PAGES wins
..PAGES vs ..ODT
Open standard compliance
ODT is an ISO standard (ODF) with published specifications; Pages uses a proprietary undocumented IWA format
.ODT wins

Technical reference

MIME Type
application/vnd.apple.pages
Magic Bytes
50 4B 03 04 ZIP-based package.
Developer
Apple Inc.
Year Introduced
2005
Open Standard
No
00000000504B0304 PK..

ZIP-based package.

Binary Structure

Pages files are ZIP archives (PK magic bytes 50 4B 03 04) containing a structured directory. The Index directory holds IWA files (protobuf-encoded document data including text, styles, and layout). The Data directory contains embedded images and media resources. A Metadata directory stores document properties and preview thumbnails. The overall structure mirrors other iWork formats (Keynote, Numbers).

OffsetLengthFieldExampleDescription
0x00 4 bytes PK signature 50 4B 03 04 ZIP local file header signature identifying the file as a ZIP archive
0x04 2 bytes Version needed 14 00 Minimum ZIP version needed to extract (2.0 = standard deflate)
0x06 2 bytes General purpose flags 00 00 Bit flags for compression options and encryption
0x08 2 bytes Compression method 08 00 Compression method: 0x08 = deflate (most common in Pages files)
0x0E 4 bytes CRC-32 varies CRC-32 checksum of the uncompressed first entry data
2005Apple releases Pages 1.0 as part of iWork, using a proprietary XML-based format2009Pages for iPad launches, bringing the format to iOS2013Pages 5.0 switches to IWA (protobuf-based ZIP archive) format, breaking backward compatibility2017Pages gains EPUB export support for creating e-books2020Pages adds collaboration features via iCloud with real-time co-editing
List contents of a Pages ZIP archive other
unzip -l document.pages

Lists all files inside the Pages ZIP archive, showing the IWA data files, embedded images, and metadata

Extract embedded images from a Pages file other
unzip -j document.pages 'Data/*' -d extracted_images/

Extracts all files from the Data directory (embedded images and media) into a local folder

Export Pages to PDF via AppleScript (macOS) other
osascript -e 'tell app "Pages" to open POSIX file "/path/doc.pages"' -e 'delay 2' -e 'tell app "Pages" to export front document to POSIX file "/tmp/out.pdf" as PDF'

Uses AppleScript to automate Pages to open a document and export it as PDF (macOS only)

PAGES PDF export lossless Export to PDF for universal viewing and printing without requiring Apple software
PAGES DOCX export near-lossless Export to Word format for cross-platform editing with Microsoft Office users
PAGES EPUB export near-lossless Export to EPUB for e-book distribution from a Pages document
PAGES TXT export lossy Extract plain text for indexing or processing without formatting
MEDIUM

Attack Vectors

  • ZIP archive could contain path traversal entries (zip slip vulnerability)
  • Embedded images or media could exploit image parser vulnerabilities
  • Malformed IWA protobuf data could trigger parsing bugs in Pages
  • Files from untrusted sources could contain crafted content exploiting rendering engine flaws

Mitigation: FileDex does not open, execute, or parse these files. Reference page only.

Apple's native word processor for macOS, iOS, and iCloud.com with full Pages format support
Free web-based Pages editor accessible from any browser with an Apple ID
Open-source office suite with limited import support for Pages files on Windows and Linux
CloudConvert service
Online file conversion service supporting Pages to PDF, DOCX, and other format conversions