File types · Explainer

The Keynote file (.key)

A KEY file is usually a presentation from Apple Keynote, the free presentation app 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 and convert it to PowerPoint, PDF or video, and how to tell it apart from a private key file that uses the same extension.

At a glance

Full name
Apple Keynote presentation
Extensions
.key; Keynote themes use .kth
MIME type
application/vnd.apple.keynote, registered with IANA in 2018; formerly application/x-iwork-keynote-sffkey
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
January 2003, with Keynote 1.0; the current IWA format since Keynote 6.0 in 2013
Opens with
Keynote on Mac, iPhone, iPad and Apple Vision Pro; Keynote for iCloud in a browser, including on Windows
Magic number
50 4B 03 04 ("PK"), the ZIP signature, for a single-file presentation; a package is a folder
Exports to
PowerPoint (PPTX), PDF, movie (MOV or M4V), animated GIF, images, HTML, Keynote '09
Not to be confused with
Private key files (PEM or OpenSSH, plain text starting -----BEGIN) and software licence keys, which also use .key

The basics

What is a Keynote file?

A .key file is most often a presentation from Keynote, Apple's presentation app. Apple unveiled Keynote at Macworld Expo on 7 January 2003, as a $99 app that could import and export PowerPoint files. Today it's free on every Mac, iPhone and iPad, runs on Apple Vision Pro, and works in a browser as Keynote for iCloud. Since early 2026, an optional Apple Creator Studio subscription adds premium templates and AI features.

A Keynote presentation holds slides built from master slides and a theme, with text, shapes, images, charts, tables, audio and video, animations (Keynote calls them builds), transitions, presenter notes and comments. In 2013 Keynote 6.0 moved to the storage format shared with Pages and Numbers, and current versions still use it.

Three things a Keynote file is not:

  • Not a PowerPoint file. PowerPoint, Google Slides and most other programs can't open .key files. To share with them, export to PPTX or PDF.
  • Not an open format. Apple publishes no specification for current files; what's known about the inside comes from reverse engineering.
  • Not the only kind of .key file. Private keys for web servers and SSH, and licence keys for software, use the same extension. They're plain text and have nothing to do with Keynote.

Anatomy

What's inside a Keynote file

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

A single-file .key presentation (structure outline)
deck.key  (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 presentation's root object,
                                 which leads to the show and slides
Index/Slide-*.iwa                the slides, in archives of their own
Index/Metadata.iwa               which object lives in which file
Index/… more .iwa files          masters, styles, charts, …
Data/                            images, audio and video
Metadata/Properties.plist        document identifiers, format version
Metadata/DocumentIdentifier
Metadata/BuildVersionHistory.plist   app versions that saved it
preview.jpg (+ smaller sizes)    thumbnails for Finder and file pickers

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
  KN.DocumentArchive      the root object of a Keynote document;
                          its field 2 points to the show
  1. 150 4B 03 04

    The ZIP signature

    A single-file Keynote presentation is a ZIP archive, so it starts like a PPTX or any ZIP. IANA's registration of the media type says as much: Keynote documents are ZIP archives and carry the same risks. Rename a copy to .zip and you can look inside.

  2. 2Index/Document.iwa

    The root object

    Every iWork document starts here. In Keynote the root message is a KN.DocumentArchive, and the SheetJS notes point out that its field 2, a reference to the show, is one Numbers doesn't have. From the show, object references lead to the slides.

  3. 3Index/Slide-*.iwa

    The slides

    Slides are kept in archives of their own; keynote-parser's documentation uses Index/Slide-00001.iwa as its example. Each holds the slide's shapes, text, builds and presenter notes as further objects.

  4. 400 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.

  5. 5ArchiveInfo

    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. Keynote's own message definitions (KNArchives) sit next to definitions shared by all three iWork apps.

  6. 612 03 01 00 05 18

    The iWork marker

    PRONOM recognises Keynote, Pages and Numbers documents from 2013 onwards by these bytes within the first 200 bytes of Index/Document.iwa, after checking that Metadata/Properties.plist exists. It can't yet tell the three apps apart this way, and most file-type checkers only see the ZIP signature.

  7. 7Data/

    Media

    Pictures, audio and video placed on slides, stored as ordinary files. They usually make up most of a presentation's size.

  8. 8preview.jpg

    Preview images

    Thumbnails used by Finder and file pickers. They're pictures, not slides, but anyone who unzips an unencrypted file can see them.

Identify

Is it a Keynote file or a key?

The extension doesn't tell you, but the first bytes do. Open a copy in a plain-text editor (Notepad, TextEdit in plain-text mode, or head -c 64 file.key in a terminal): a Keynote file starts with PK and then binary data, a key file with readable text.

What it isHow it startsWhat it's for
Keynote presentation, single file50 4B 03 04 ("PK"): a ZIP with Index/Document.iwa insideOpen in Keynote or at iCloud.com
Keynote presentation, packageNot a file but a folder, which a Mac shows as one fileOpen on a Mac; save as a single file before sending
Keynote '09 or olderA ZIP or folder with an XML file, index.apxl (Keynote 1: presentation.apxl)Current Keynote still opens it
Private key, PEM formatText: -----BEGIN PRIVATE KEY-----, -----BEGIN RSA PRIVATE KEY-----, -----BEGIN EC PRIVATE KEY-----, or -----BEGIN ENCRYPTED PRIVATE KEY----- when protected by a passphraseThe secret half of a TLS (SSL) certificate, used by a web or mail server
OpenSSH private keyText: -----BEGIN OPENSSH PRIVATE KEY-----Logging in to servers or Git hosts over SSH; usually named id_ed25519 or id_rsa, sometimes .key
Private key, DER formatBinary, starting with the byte 30 (an ASN.1 sequence)The same as PEM, without the text armour
Licence or product keyA short line of letters and digits, or a small text or XML file from a software vendorUnlocking a program you've paid for

Never publish a private key

A private key file must stay on the machine that uses it. Don't upload it to a file host (99helpers included), attach it to an email or support ticket, paste it into a chat or commit it to a repository: anyone with the file can impersonate your server or log in as you. If one has been exposed, treat it as compromised. Generate a new key, replace the certificate or SSH key everywhere it's used, and revoke the old certificate. Deleting the file afterwards isn't enough, because copies may already exist; GitHub's advice for leaked secrets is to rotate them immediately.

On a Mac, .key is linked to Keynote, so double-clicking a private key file launches Keynote, which can't open it. Nothing is wrong with the key: open it with the program that needs it, or a text editor.

Under the hood

How a Keynote file is stored

Since 2013, Keynote presentations are made of IWA (iWork Archive) files, shared with Pages and Numbers. The structure has been worked out by the SheetJS project, the authors of keynote-parser 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 are used only by Keynote, others by all three apps. They change between Keynote versions, which is why tools like keynote-parser need updating for each new release.
  • 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, audio and video sit in the Data folder of the ZIP as ordinary files.
Generations of the Keynote format
Keynote versionFormatMain file inside
Keynote 1 (2003)A bundle (folder) with an XML file, whose schema Apple published as APXLpresentation.apxl
Keynote '09 (version 5)Package or ZIP with an XML documentindex.apxl
Keynote 6 (2013) and laterZIP or package of IWA archivesIndex/Document.iwa
Keynote for iCloud downloads (some versions)ZIP containing another ZIPIndex.zip, holding the .iwa files

According to Apple, current iWork apps open documents made with any version of iWork. Keynote saves a single file by default. On a Mac you can switch to a package, or back, with File, Advanced, Change File Type. Keynote may suggest a package for presentations over 500 MB on disks that don't use APFS.

Comparison

Keynote vs PPTX, PDF and ODP

KeynotePPTXPDFODP
StructureZIP of Snappy-compressed Protocol BuffersZIP of XML and mediaBinary objects and streamsZIP of XML
Open standardNoYes (ISO/IEC 29500)Yes (ISO 32000)Yes (ISO/IEC 26300)
Edited withKeynote on Apple devices and iCloud.comPowerPoint, Keynote, Google Slides, LibreOfficePDF editors onlyLibreOffice Impress and others
Speaker notesYesYesOnly if exported into the pagesYes
Opens in a browserNo, it downloadsNoYesNo

Keynote is a good format while everyone involved uses Apple devices. When someone on Windows or Android needs to edit the deck, send a PPTX; when they only need to read or present it, a PDF or a movie looks the same everywhere.

No Mac?

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

  1. 1Use Keynote 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 Keynote and upload the file. You can view, edit and play the presentation there, then download a copy as Keynote, PDF or PowerPoint.
  2. 2Ask the sender to export it. In Keynote: File, Export To, PowerPoint (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 thumbnail, not the slides. Pictures and videos from the slides are in the Data folder.

LibreOffice Impress includes a Keynote import filter, based on the libetonyek library. Don't rely on it for presentations from current Keynote versions: when we tested it with Numbers files of the same generation, it kept the structure but lost the content. Check anything important against a PDF exported from Keynote.

How to

How to export or convert a Keynote file

Export formats in Keynote (File, Export To on a Mac; Share, Export and Send on iPhone and iPad)
FormatWhat you getWhere
PowerPointA .pptx presentation. For the old .ppt format, open the PPTX in PowerPoint and save it again.Mac, iPhone, iPad, iCloud.com
PDFOne slide per page, optionally with presenter notes, skipped slides, comments and each stage of builds.Mac, iPhone, iPad, iCloud.com
MovieMOV in Apple ProRes or HEVC; on a Mac also M4V in H.264. Self-playing, or a recording with narration.Mac, iPhone, iPad
Animated GIFSelected slides as a GIF you can post.Mac, iPhone, iPad
ImagesOne image per slide in JPEG, PNG, TIFF or HEIC.Mac, iPhone, iPad
HTMLA folder with an index.html that plays the presentation, with animations and builds, in a browser.Mac
Keynote '09A file for Keynote 5.0 to 5.3. Apple says exporting to '09 formats will be discontinued.Mac
  • Passwords carry over: exporting a password-protected presentation to PDF, PowerPoint or Keynote '09 keeps the password unless you change or remove it in the export dialog.
  • From PowerPoint to Keynote: Keynote opens PPTX files on Mac, iPhone, iPad and iCloud.com. It may warn about missing fonts or changed appearance.
  • Check the result in PowerPoint. Keynote and PowerPoint lay out text with different engines and fonts, and some effects have no equivalent. Open the exported PPTX before sending it, and play the builds and transitions.
Importing PowerPoint into Keynote, according to Apple
Examples
SupportedShapes, images, text boxes, lists, equations, presenter notes, hidden slides, slide numbers, comments, most chart types, and most PowerPoint builds and transitions
Changed on importFonts that aren't available are substituted; SmartArt becomes a single shape; headers and footers become plain text; mouse-over and click actions become tap actions
Not supportedText effects and WordArt, image effects and masks, OLE objects, hyperlinks to other files, surface charts

Troubleshooting

Common Keynote file problems

  • PowerPoint or Google Slides can't open it. Neither reads .key files. Convert it through Keynote or iCloud.com first.
  • The attachment arrived as a folder, a ZIP or a broken file. The presentation 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, or opens it in the wrong program. Windows has no program for Keynote. Check the first bytes: if it's text starting with -----BEGIN, it's a private key, not a presentation.
  • Keynote says it can't open the file. It may not be a presentation at all, but a key or licence file. Apple also says a dimmed file in the open dialog isn't in a format Keynote can open.
  • Fonts look different. Keynote warns about missing fonts when a presentation uses fonts your device doesn't have. Install the fonts, replace them, or ask for a PDF.
  • The file is huge. Almost always video and full-size photos in the Data folder. Export a movie or PDF for viewers, or replace large media before sending.

Security

Is a Keynote file safe to open?

Keynote has no macro language inside documents, so a .key presentation can't carry VBA-style macros the way a .pptm can. A few things are still worth knowing:

  • Presenter notes, comments and skipped slides travel with the file. Remove them, or send a PDF exported without them, before sharing outside your organisation.
  • Preview images show content. The thumbnails inside an unencrypted presentation are pictures of it. Anyone who unzips the file can see them.
  • Password hints are not secret. iWork keeps the hint unencrypted; in our password-protected Numbers sample it sits in plain text in its own entry of the ZIP. Never put the password in the hint.
  • Links on slides can point anywhere. Check where they go before clicking.
  • Parsing uploads on a server. A Keynote 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.
  • A .key that is a private key is a secret, not a document. See "Is it a Keynote file or a key?" above: never upload or publish it.

Sample files

Keynote presentations can only be saved by Apple's Keynote app, and no open-source tool can create one from scratch, so there are no sample files here. To test, export a presentation from Keynote or Keynote for iCloud, or use our PPTX samples; our Numbers samples share the same ZIP-of-IWA structure.

Put it online

Have a Keynote file? Give it a link.

Drop a Keynote presentation on 99helpers and it gets its own web address; browsers can't display .key files, so anyone with the link downloads it and opens it in Keynote or at iCloud.com. Save it as a single file first, add a PDF copy for people without Apple devices, and never upload a .key file that is a private key.

Questions

Keynote files, frequently asked

What is a .key file?

Usually a presentation made with Apple Keynote, the free presentation app on Mac, iPhone and iPad. The same extension is also used for private keys (plain text starting with -----BEGIN) and software licence keys.

How do I open a Keynote file on Windows?

Sign in at iCloud.com with an Apple Account, open Keynote and upload the file. You can view, edit and play it there, or download it as a PowerPoint or PDF file. Alternatively, ask the sender to export it to PowerPoint.

Can PowerPoint open a Keynote file?

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

How do I convert Keynote to PowerPoint?

On a Mac, choose File, Export To, PowerPoint. On iPhone or iPad, tap Share, then Export and Send, then PowerPoint. At iCloud.com, download a copy as PowerPoint. Check the PPTX afterwards: fonts and some effects can change.

How do I turn a Keynote presentation into a video?

Export it as a movie (File, Export To, Movie on a Mac). You get a MOV in HEVC or ProRes, or on a Mac an M4V in H.264, that advances on timings you set or follows a recorded narration.

My .key file is a private key. How do I open it?

Open it in a text editor to look at it, or point the program that needs it (a web server, an SSH client) at the file. Keep it private: never upload it, email it or commit it to a repository.

Why is my Keynote file a folder?

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

Is Keynote free?

Yes. Keynote is free on Mac, iPhone and iPad, and in a browser at iCloud.com. Since early 2026, an optional Apple Creator Studio subscription adds premium templates, content and AI features.

Related formats

Other file types explained

Keep going

Related

Sources

Last reviewed 27 October 2026.