What is the TEMPLATE file format?
A .template file is an Apple Pages document template - a pre-designed word-processing layout that opens as a starting point without overwriting the original design. Double-clicking a .template file in macOS installs it into Pages' Template Chooser, making it available whenever Pages creates a new document.
Internally, .template files use the same ZIP-based package structure as regular .pages documents. Extracting the archive reveals an Index/Document.iwa file encoded in Protobuf-based IWA (iWork Archive) binary format, alongside QuickLook preview thumbnails and a metadata property list. The IWA binary carries all layout definitions, paragraph and character styles, text placeholder objects, and any embedded media.
The format was introduced with Pages 1.0 (iWork '05) in January 2005. Pages 5.0 (2013) switched content encoding from the earlier XML-based bundle to the current IWA/Protobuf format, making old templates incompatible with Pages '09 and earlier. iOS Pages offers limited template support; iCloud Pages at iCloud.com can also use installed templates in a browser session.
Template files range from about 1 MB to 20 MB depending on embedded images and preview assets. Because the container is standard ZIP, any archive tool can inspect the file structure, but the IWA payload requires Pages or a compatible parser to interpret fully. Other applications - including Borland C++ and certain legacy spreadsheet tools - also historically used a .template extension for unrelated proprietary formats.
Security & safety
RISK: LOWPages .template files are document templates, not executables. They cannot run code on their own. Risk is low; however, Pages documents and templates support macros in limited form (Automator/AppleScript). Only open templates from trusted sources.
Format details
in a nutshell- Generic template placeholder (many frameworks) - Various template engines (Django, Jinja2, Mustache, Chef) may save templates with a .template extension; these are plain-text files with no relation to Apple Pages.
- Borland C++ project template - Legacy Borland C++ Builder used .template for project scaffolding files; product is effectively EOL (Embarcadero maintains the successor RAD Studio).
Programs that open TEMPLATE files
Technical details
deep spec| Magic bytes | `PK\x03\x04` (ZIP local file header signature) at offset 0 |
| Container | ZIP archive (macOS file package / bundle) |
| Compression | DEFLATE per entry (standard ZIP compression) |
| Content encoding | IWA (iWork Archive) - Protocol Buffer (Protobuf) binary encoding |
| Key internal file | `Index/Document.iwa` carries layout, styles, and text placeholders |
| Preview asset | QuickLook thumbnail images embedded in the ZIP package |
| Typical size | 1 MB - 20 MB depending on embedded images and preview assets |
| Format compatibility | Pages 5.0+ (2013) IWA format; incompatible with Pages '09 and earlier |
| Installation path | Double-clicking installs to `~/Library/Application Support/Pages/Templates/` |
| Template protection | No encryption in the template file itself; Pages documents support optional password protection for end-user documents |
| Platforms | macOS (primary), iOS (limited), iCloud Pages (browser) |
| Metadata | Property list (plist) inside the ZIP carries document metadata and attributes |
| Released | 2005 (Pages 1.0, iWork '05) |
| Latest version | Pages 14.x (2024) template format |
TEMPLATE conversions
Community Q&A
asked by usersNo questions yet - be the first to ask about TEMPLATE files.