OPF File Documentation


Overview

Feature Value
Format Name Open Packaging Format (OPF)
Part of EPUB Specification
Primary Use E-book Packaging
File Extension .opf
MIME Type application/oebps-package+xml
XML-Based Yes
Contains Metadata, manifest, and spine
Metadata Elements Title, creator, subject, description, publisher, contributor, date, type, format, identifier, source, language, relation, coverage, rights
Manifest Purpose List of files in the package
Spine Purpose Defines the default reading order of the publication
Guide Section References to fundamental structural components
Version Support Multiple EPUB versions supported
Namespace Declaration Required Yes
Encoding Format UTF-8
Extensibility Supports custom metadata
Integration with Other Formats Can package XHTML, CSS, SVG, images, and more
Modularity High, allows splitting content into sub-documents
Accessibility Support Enhanced through adherence to EPUB Accessibility Guidelines
Digital Rights Management (DRM) Outside the scope of the OPF specification itself, but possible through EPUB ecosystem