The EPUB package document requires four metadata fields at minimum: dc:title, dc:identifier, dc:language, and dcterms:modified. These fields must be present in the content.opf file, with the identifier referenced by the package element’s unique-identifier attribute. Validation against the W3C EPUB 3.4 specification depends on these core fields first.
Independent authors often misunderstand the package document’s role. The content.opf file is not a complete bibliographic record. The W3C EPUB 3.4 specification states that the package document does not provide complex metadata encoding capabilities. It serves two functions: minimal catalog metadata for reading-system bookshelves and rendering metadata such as fixed-layout properties. Rich bibliographic data must live elsewhere, usually in an ONIX file passed to distribution partners or in retailer dashboards.
Which metadata fields are required in an EPUB package document
An EPUB package document must contain at least one dc:title, at least one dc:identifier referenced by the package element’s unique-identifier attribute, at least one dc:language in BCP47 format, and a meta element with property="dcterms:modified". Apple Books validates these same four fields at minimum.
These required fields form the smallest metadata set that allows a reading system to display the book on a shelf and track version changes. The Apple Books Asset Guide confirms that title, identifier, language, and modified date are the minimum required fields, and it warns against leading or trailing whitespace in OPF metadata. The ISO/IEC technical specification for EPUB preservation similarly reinforces title, identifier, and language as the minimum Dublin Core descriptive set, with modified date recommended.
dc:title: At least one title element must exist. The first in document order is treated as the primary title shown by reading systems. The W3C specification advises creators to use only a singledc:titlebecause multipart-title support is inconsistent across reading systems.dc:identifier: At least one identifier must exist, carrying anidattribute. Thepackageelement’sunique-identifierattribute must reference thatidvalue. Recommended value forms include UUID, DOI, ISBN, or an absolute-URL string.dc:language: The first language element in document order is the primary language. The value must be a well-formed BCP47 language tag, such asenoren-US.dcterms:modified: Expressed as ametaelement withproperty="dcterms:modified". This field records the last time the EPUB creator changed the publication, not the original publication date.
Optional Dublin Core elements may also appear: dc:contributor, dc:coverage, dc:creator, dc:date, dc:description, dc:format, dc:publisher, dc:relation, dc:rights, dc:source, dc:subject, and dc:type. None of these are required for validation, but several influence retailer or reading-system behavior.
The unique identifier in an EPUB package document
Use a UUID, DOI, ISBN, or absolute-URL string as the dc:identifier value. Attach an id attribute to the identifier element, then set the package element’s unique-identifier attribute to that same id. The identifier must be stable for the life of the edition.
Apple Books ingest checks the identifier, and changing it across uploaded files can signal a new publication rather than an update. The Library of Congress digital format sustainability note for EPUB lists the package document as the container for this identifying information. For print and ebook distribution in North America, the ISBN is the most practical identifier for commercially distributed titles. For unpublished or free EPUBs with no ISBN, a UUID generated once at creation time works reliably.
What identifier value should a self-published author use?
If the EPUB has an ISBN assigned to the ebook edition, use that ISBN. If no ISBN exists, generate a UUID once and keep it unchanged for every subsequent revision of the same edition. Do not use a retailer-specific ASIN as the package identifier. A DOI is valid but uncommon for self-published fiction.
Does the identifier need to match the print edition ISBN?
No. Each format needs its own identifier. The print ISBN and the ebook ISBN are different products. The EPUB package document should carry the ebook ISBN, not the paperback or hardcover ISBN. Using the print ISBN inside the ebook package creates a conflict in distribution systems that compare identifiers across formats.
Can two different EPUB files share one identifier?
Only if they are revisions of the same edition. An updated EPUB fixing typos keeps the same identifier. A new edition with revised content or a different language should receive a new identifier. Reading systems and retailer dashboards use the identifier to decide whether an incoming file replaces an existing record or creates a new one.
Language metadata in an EPUB package document
Set dc:language to a well-formed BCP47 language tag such as en for English or en-US for US English. The first language element in document order is the primary language. Multilingual publications may include multiple language elements.
The language field controls how reading systems handle text-to-speech, hyphenation, and dictionary lookup. A missing or malformed language tag can cause validation errors and may trigger retailer rejection. The W3C EPUB 3.4 specification requires the value to conform to BCP47, and the first element takes precedence.
For a book written primarily in US English but containing dialogue in Spanish, the primary language remains en-US. Adding a second dc:language element for es is allowed, but reading systems will treat en-US as the publication’s default language for interface and rendering decisions. Most self-published authors need only one language element.
Modified date in an EPUB package document
Record dcterms:modified in a meta element with property="dcterms:modified". The value must be a timestamp in ISO 8601 format, such as 2025-08-28T14:30:00Z. Update this field every time you change the EPUB content or package.
The modified date must not be confused with dc:date, which represents the publication date. The W3C specification distinguishes sharply between the two: dcterms:modified records the last time the EPUB creator changed the publication, while dc:date is the publication date and must not appear more than once. Apple Books requires the modified date at minimum and uses it to detect version changes.
Authors who regenerate an EPUB from a tool like Calibre or Sigil without updating the modified date may find retailers rejecting the upload as stale or conflicting. Set the modified date as the very last step before packaging the EPUB container.
Should the modified date change with every typo fix?
Yes. Any change to the publication content, the manifest, the spine, or the navigation document should bump the modified date. The field exists precisely so reading systems and retailers can detect that a new file is an update to an existing publication rather than a new book.
What timestamp format does the modified date require?
Use an ISO 8601 date-time string. A full timestamp with timezone, such as 2025-08-28T14:30:00Z, is safest. A date-only value such as 2025-08-28 may validate, but a full timestamp with an explicit UTC offset removes ambiguity in global distribution.
How to structure creator and contributor metadata
The first dc:creator element in document order is the primary creator. Use dc:contributor for collaborators, not multiple dc:creator elements. Apply the file-as refinement property for normalized name forms and alternate-script for other-script representations.
This distinction matters for bookstore display and library catalogs. A reader-facing shelf should show one author by default. If the EPUB lists an editor, illustrator, or co-author in a second dc:creator field, some reading systems may concatenate both names into the author slot. The W3C EPUB 3.4 specification explicitly directs secondary contributors into dc:contributor.
For a single-author novel, include exactly one dc:creator element. For an anthology with multiple primary authors, choose the editor as the primary creator or use a single corporate creator such as the press name, then list individual writers as contributors. This keeps retailer author fields predictable.
How should author names be normalized?
Use the file-as property on dc:creator to provide a normalized sorting form. For the name “C.S. Lewis,” the file-as value would be Lewis, C.S.. For corporate names, the EPUB Package Metadata Guide from IDPF recommends a calligraphic form such as HarperCollins Publishers without inversion.
Publication date vs. modified date in EPUB metadata
The dc:date element represents the publication date and must not appear more than once. Format the value according to ISO 8601. The dcterms:modified meta element represents the last change to the EPUB, not the publication date. The two fields answer different questions.
Confusing the two is a common author error. A book published on August 1, 2025, and revised on September 15, 2025, should carry dc:date of 2025-08-01 and dcterms:modified of 2025-09-15T00:00:00Z. Setting dc:date to the revision date misrepresents the publication date in catalog systems.
Optional metadata and where it belongs
Add dc:description, dc:publisher, dc:subject, and dc:type when they help reading-system display, but do not treat the package document as a full bibliographic record. Detailed keywords, BISAC codes, and marketing copy belong in retailer dashboards or in a linked ONIX record passed to distribution partners.
The W3C EPUB 3.4 specification states that the package document does not provide complex metadata encoding capabilities. Authors who stuff retailer keywords into OPF fields risk validation issues and gain nothing in retailer search. KDP, Apple Books, and IngramSpark all maintain separate metadata dashboards where keyword and category data is collected. The OPF carries shelf-display basics; the retailer dashboard carries discoverability.
For dc:subject, values are case-sensitive only when the designated subject scheme requires it. If you identify a scheme via the authority property, you must pair it with a term property containing the subject code. This is a controlled-vocabulary pattern for library and academic distribution workflows, not a requirement for general trade fiction.
Complex metadata should be linked via an external ONIX record or similar using the link element, rather than crammed into package metadata. The package document’s metadata section serves rendering and minimal shelf display, and every extra element beyond the required set should earn its place by solving a concrete display problem.
Table: EPUB metadata fields by retail or reading-system behavior
The table below compares package metadata fields by the retail or reading-system behavior they control, drawing on the W3C EPUB 3.4 specification and Apple Books asset guidance.
| Metadata field | Required? | Retailer or reading-system behavior controlled | Notes |
|---|---|---|---|
dc:title |
Yes | Primary shelf title shown across retailers and reading systems | Use a single instance; multipart titles render inconsistently |
dc:identifier |
Yes | Edition identity; determines whether an upload replaces or creates a new record | Reference its id from the package element’s unique-identifier |
dc:language |
Yes | Text-to-speech, hyphenation, dictionary lookup, and accessibility defaults | BCP47 tag; first element is primary |
dcterms:modified |
Yes | Version detection for retailer ingest and reading-system updates | ISO 8601 timestamp; update on every change |
dc:creator |
Optional but high-impact | Author slot on shelf and in library catalogs | First element is primary; use dc:contributor for collaborators |
dc:date |
Optional | Publication date display and catalog filtering | Must appear only once; ISO 8601; not the same as modified date |
dc:publisher |
Optional | Publisher field in some catalogs | Safe to omit for self-published titles |
dc:description |
Optional | Short summary in compatible reading systems | Retailer descriptions live in separate dashboards, not the OPF |
dc:subject |
Optional | Controlled-vocabulary subject browsing in library systems | Pair with term if using an authority scheme |
How to validate the EPUB package metadata
Validate the package after every change using an EPUB checker that tests against the W3C EPUB 3.4 specification. Check the four required fields first, then confirm the unique-identifier reference resolves, then inspect any optional Dublin Core elements for structure errors before uploading to retailers.
The W3C maintains a Publication Manifest to EPUB Mapping Report that tracks how manifest properties map to EPUB package structure, which can clarify expected property behavior. For practical validation, run the EPUB through an EPUB validator such as EPUBCheck, which checks WCAG, EPUB 3.4, and package structure rules. Apple Books also validates on ingest and returns errors specific to OPF metadata problems.
- Set a unique identifier and reference it from the
packageelement’sunique-identifierattribute. - Match the title and creator to the listing in retailer dashboards across KDP, Apple Books, and IngramSpark.
- Set the correct language with a well-formed BCP47 tag.
- Validate the package after every change, including typo fixes and metadata edits.
What happens if required metadata is missing?
Retailers and validators reject the file. Apple Books’ asset guide enforces the four required fields and blocks ingest when any one is absent. An EPUB that bypasses retailer validation may still fail in reading systems that expect the package document to declare title, identifier, and language before rendering the book.
Should optional metadata be removed before upload?
Remove optional metadata only when it conflicts with retailer dashboard data or violates the schema. A dc:date appearing twice violates the schema and must be reduced to one. A dc:creator with a different spelling than the retailer listing creates a mismatch that can split discovery across systems. Keep the package document consistent with the retailer listing for title and creator.
Package metadata is the smallest reliable contract between an author’s EPUB and the reading environment. Authors who set the four required fields correctly, keep the identifier stable, and update the modified date on every revision avoid the most common validation failures. Rich discoverability metadata belongs in ONIX and retailer dashboards, not inside the OPF. The package document should stay lean enough to validate cleanly every time.
Find more formatting guidance in the Formatting category.

