File types · Explainer

The Pages file (.pages)

A Pages file is a document from Apple Pages, the free word processor on Mac, iPhone and iPad: a ZIP of compressed binary archives in a format Apple doesn't document. This guide explains what's inside one, how to open it on Windows or Android, and how to convert it to Word or PDF.

At a glance

Full name
Apple Pages document
Extensions
.pages
MIME type
application/vnd.apple.pages
Kind
Binary: a ZIP file (or a package folder) of IWA archives, which are Snappy-compressed Protocol Buffers
Owner
Apple; the format is not publicly documented
First released
2005, with Pages 1.0 in iWork '05; the current IWA format since Pages 5.0 in 2013
Opens with
Pages on Mac, iPhone and iPad; Pages for iCloud in a browser, including on Windows
Magic number
50 4B 03 04 ("PK"), the ZIP signature, for a single-file document; a package is a folder
Document types
Word-processing (text flows from page to page) or page layout (freely placed objects)
Exports to
Word (DOCX), PDF, EPUB, RTF, plain text, images, Pages '09

The basics

What is a Pages file?

A .pages file is a document from Pages, Apple's word processor. Pages is free on every Mac, iPhone and iPad, and also runs in a browser as Pages for iCloud. Apple introduced it in January 2005 as part of iWork '05, and rebuilt it as Pages 5.0 in 2013, when Pages, Numbers and Keynote moved to the shared storage format they still use.

A Pages document is one of two kinds. In a word-processing document, text flows from one page to the next and new pages appear automatically, as in Word. In a page layout document, you place text boxes, images and other objects freely on each page, for flyers, posters and newsletters. You can convert between the two in the File menu.

Three things a Pages file is not:

  • Not a Word file. Word, Google Docs and most other programs can't open .pages files. To share with them, export to DOCX or PDF.
  • Not an open format. Apple publishes no specification; what's known about the inside comes from reverse engineering.
  • Not always a single file. A Pages document can also be saved as a package: a folder that a Mac shows as one file. Packages break easily when emailed or uploaded through a browser.

Anatomy

What's inside a Pages file

There's no sample file on this page: Pages documents can only be written by Apple's Pages app. A .pages file saved as a single file is a ZIP archive of .iwa files (iWork Archive), property lists and preview images, the same structure as Numbers and Keynote files. Apple doesn't publish it; this outline comes from the UK National Archives' PRONOM registry, the SheetJS project's reverse-engineering notes and Apple's own support documents.

A single-file .pages document (structure outline)
report.pages  (single file: a ZIP archive; layout from
PRONOM, reverse-engineering notes and Apple's documentation)

offset 0: 50 4B 03 04 …          "PK", a ZIP local file header

Index/Document.iwa               the document: text, sections,
                                 headers, footers, placed objects
Index/DocumentStylesheet.iwa     paragraph, character, list styles
Index/Metadata.iwa               which object lives in which file
Index/… more .iwa files          tables, charts, comments, …
Data/                            images and other media
Metadata/Properties.plist        document identifiers, format version
Metadata/DocumentIdentifier
Metadata/BuildVersionHistory.plist   app versions that saved it
preview.jpg (+ smaller sizes)    thumbnails of the first page

Index/Document.iwa, from its first byte:
00 xx xx xx        chunk header: 0, then a 3-byte length
xx …               Snappy compression: decompressed size
  ArchiveInfo      Protocol Buffers: object id, message type
    12 03 01 00 05 18 …   version 1.0.5, then the length;
                   PRONOM looks for these bytes in all
                   iWork 2013+ documents
  TP.DocumentArchive      the root object of a Pages document
  1. 150 4B 03 04

    The ZIP signature

    A single-file Pages document is a ZIP archive, so it starts like a DOCX or any ZIP. Rename a copy to .zip and you can open it and look around.

  2. 2Index/Document.iwa

    The document

    The root object of the document: the body text and its sections, headers and footers, and the objects placed on pages. Everything else is reached from here by object identifiers.

  3. 300 xx xx xx

    IWA chunks

    Each .iwa file is a series of chunks: a 00 byte, then the chunk's length as a 3-byte little-endian number, then data compressed with Snappy, a fast compression method from Google.

  4. 4ArchiveInfo

    Protocol Buffers

    Decompressed, the data is a series of Protocol Buffers messages, Google's compact binary encoding. Each object starts with an ArchiveInfo header giving its identifier and the type and length of its messages. In a Pages document the root message is a TP.DocumentArchive.

  5. 512 03 01 00 05 18

    The iWork marker

    PRONOM recognises Pages, Numbers and Keynote documents from 2013 onwards by these bytes within the first 200 bytes of Index/Document.iwa, after checking that Metadata/Properties.plist exists. Most file-type checkers only see the ZIP signature.

  6. 6Index/DocumentStylesheet.iwa

    Styles

    The paragraph, character and list styles of the document and its template. Even a nearly empty document carries a full set.

  7. 7Data/

    Media

    Images and other media placed in the document, as ordinary files such as JPEGs.

  8. 8preview.jpg

    Preview images

    Thumbnails of the first page, used by Finder and file pickers. They're pictures, not text, but anyone who unzips the file can see them.

Under the hood

How a Pages file is stored

Since 2013, Pages documents are made of IWA (iWork Archive) files, shared with Numbers and Keynote. The structure has been worked out by the SheetJS project and other reverse engineers:

  • Each .iwa file is Snappy-compressed in chunks: a 00 byte, a 3-byte length, then Snappy data.
  • Inside are Protocol Buffers messages. The message definitions are compiled into the apps; reverse engineers extract them from the app binaries. Some definitions are used only by Pages, others are shared by all three apps.
  • Objects point to each other by number. Index/Metadata.iwa maps the document's components to the files that hold them.
  • Media stays as it is. Pictures and other media sit in the Data folder of the ZIP as ordinary files.
Three generations of the Pages format
Pages versionFormatMain file inside
Pages 5 (2013) and laterZIP or package of IWA archivesIndex/Document.iwa
Pages '09 (Pages 4) and earlierPackage or ZIP with an XML documentindex.xml, sometimes gzip-compressed
Pages for iCloud downloads (some versions)ZIP containing another ZIPIndex.zip, holding the .iwa files

Pages saves a single file by default. On a Mac you can switch to a package, or back, with File, Advanced, Change File Type. Pages may suggest a package for documents over 500 MB on disks that don't use APFS.

Comparison

Pages vs DOCX, PDF and ODT

PagesDOCXPDFODT
StructureZIP of Snappy-compressed Protocol BuffersZIP of XMLBinary objects and streamsZIP of XML
Open standardNoYes (ISO/IEC 29500)Yes (ISO 32000)Yes (ISO/IEC 26300)
Edited withPages on Apple devices and iCloud.comAlmost every word processor, including PagesPDF editors onlyLibreOffice and most word processors
MacrosNoNo (.docm instead)No (but JavaScript)Yes
Opens in a browserNo, it downloadsNoYesNo

Pages is a good format while everyone involved uses Apple devices. As soon as someone on Windows or Android needs the document, send a DOCX for editing or a PDF for reading.

No Mac?

How to open a Pages file on Windows, Android or Linux

  1. 1Use Pages for iCloud. Go to iCloud.com in a browser on Windows or any computer, sign in with an Apple Account (creating one is free), open Pages and upload the file. You can read and edit it there, then download a copy as Pages, PDF, Word or EPUB.
  2. 2Ask the sender to export it. In Pages: File, Export To, Word (or PDF). This is the most reliable route, because the person exporting can check the result.
  3. 3Look at the preview, as a last resort. Rename a copy to .zip, open it, and open preview.jpg. It's only a small picture of the first page, not the text.

LibreOffice includes an Apple Pages import filter, based on the libetonyek library. It can read the text of simpler documents, but it doesn't reproduce Pages layouts reliably; check anything important against a PDF from Pages.

How to

How to export or convert a Pages file

Export formats in Pages for Mac (File, Export To)
FormatWhat you get
WordA .docx document that Word, Google Docs and LibreOffice open.
PDFPages for reading or printing, with options for image quality, comments and accessibility tags.
EPUBAn ebook, with a fixed layout or, for word-processing documents, a reflowable one.
RTFFormatted body text and tables; text boxes, shapes and charts become images in an RTFD package. Word-processing documents only.
Plain textThe body text only, without tables, images or charts. Word-processing documents only.
ImagesOne image per page, in JPEG, PNG, TIFF or HEIC.
Pages '09A file for Pages 4.0 to 4.3 on a Mac. Apple says exporting to '09 formats will be discontinued.
  • On iPhone and iPad: tap the Share button, then Export and Send, and pick a format.
  • In Pages for iCloud: download a copy as Pages, PDF, Word or EPUB.
  • From Word to Pages: Pages opens DOCX, RTF and plain-text files; save them as Pages documents to keep editing in Pages.
  • What can change in Word: Pages and Word lay out text with different engines and fonts, so line and page breaks can move. Page layout documents, with freely placed objects, change the most. Check the DOCX before sending it.

Protection

Password-protected Pages files

In Pages on a Mac, File, Set Password encrypts a document; on a Mac with Touch ID you can also open it with your fingerprint. A protected document's contents can't be read without the password, by Pages or anything else.

  • There's no recovery. Apple says there's no way to recover the password if you forget it.
  • Exports keep the password. A protected document exported to PDF, Word or Pages '09 is protected with the same password, unless you change or remove it in the export dialog.
  • The hint isn't secret. iWork keeps the password hint unencrypted. In our password-protected Numbers sample, it sits in plain text in its own entry of the ZIP, so never put the password in the hint.

Troubleshooting

Common Pages file problems

  • Word or Google Docs can't open it. Neither reads .pages files. Convert it through Pages or iCloud.com first.
  • The attachment arrived as a folder, a ZIP or a broken file. The document was saved as a package. Ask the sender to choose File, Advanced, Change File Type, Single File, and send it again.
  • Windows shows an unknown file type. Windows has no program for .pages. Use iCloud.com, or ask for a DOCX or PDF.
  • Fonts look different. Pages may warn about missing fonts or layout changes when a document uses fonts your device doesn't have. Install the fonts, replace them, or ask for a PDF.
  • The file is dimmed and won't open. Apple says a dimmed file isn't in a format Pages can open. Update Pages, and check the file really is a Pages document.

Security

Is a Pages file safe to open?

Pages has no macro language inside documents, so a .pages file can't carry VBA-style macros the way Word files can. A few things are still worth knowing:

  • Preview images show content. The thumbnails inside an unencrypted document are pictures of its first page. Anyone who unzips the file can see them.
  • Comments and author names travel with the file, as do earlier changes if change tracking was on.
  • Links in the text can point anywhere. Check where they go before clicking.
  • Parsing uploads on a server. A Pages file is a ZIP of compressed binary data, so a server that reads uploaded files inherits ZIP risks such as archive bombs. Limit file size and decompressed size.

Sample files

Pages documents can only be saved by Apple's Pages app, and no open-source tool writes the format reliably, so there are no sample files here. To test, export a document from Pages or Pages for iCloud, or use our DOCX samples; our Numbers samples share the same ZIP-of-IWA structure.

Put it online

Have a Pages file? Give it a link.

Drop a Pages document on 99helpers and it gets its own web address. Browsers can't display .pages files, so anyone with the link downloads it and opens it in Pages or at iCloud.com. Save it as a single file first, not a package, and add a PDF copy for people without Apple devices.

Questions

Pages files, frequently asked

What is a .pages file?

A document made with Apple Pages, the free word processor on Mac, iPhone and iPad. It's a ZIP of compressed binary archives holding the text, styles, images and previews.

How do I open a Pages file on Windows?

Sign in at iCloud.com with an Apple Account, open Pages and upload the file. You can read and edit it there, or download it as a Word, PDF or EPUB file. Alternatively, ask the sender to export it to Word or PDF.

Can Microsoft Word open a Pages file?

No. Convert it to Word in Pages (File, Export To, Word) or download it as Word from iCloud.com first.

How do I convert Pages to PDF?

In Pages on a Mac, choose File, Export To, PDF. On iPhone or iPad, use Share, Export and Send. At iCloud.com, download a copy as PDF.

Can I open a Pages file on Android?

There's no Pages app for Android. Open iCloud.com in a computer's browser, or ask the sender for a DOCX or PDF.

Why does my Pages file show only a picture when I unzip it?

The preview.jpg inside is just a thumbnail. The text is in the compressed .iwa files, which need Pages or a specialised tool to read.

Why is my Pages file a folder?

It was saved as a package, a folder that macOS shows as one file. Open it in Pages and choose File, Advanced, Change File Type, Single File before emailing or uploading it.

I forgot the password of a Pages document. Can I recover it?

No. Apple says there's no way to recover a forgotten Pages password, and the contents are encrypted without it.

Related formats

Other file types explained

Keep going

Related

Sources

Last reviewed 27 October 2026.