An EPUB looks like a single file, but it behaves like a folder with a book inside and a form filled in at the front. The book is the chapters you read. The form is the metadata: a declaration block written when the book was produced, stating what the book is, who made it and who issued it. Reader apps keep that form hidden, yet it is what library software catalogues from.
The EPUB Metadata Viewer on Ovatly opens the form for you. It reads the file locally in your browser and lists each declared field, showing "Not stated" for anything left blank. This guide explains the fields one by one: what each is, what it tells you, and why some come back empty.
Contents
- Quick answer
- The identity fields: title and author
- The publication fields: publisher and date
- Language and identifiers: the codes and numbers
- Subjects and description: how the publisher presents the book
- The cover, with its condition attached
- How to read the declaration block, step by step
- Worked example: one book, fully declared
- The gaps: what "Not stated" tells you
- Limitations and honest tradeoffs
- Common mistakes
- FAQs
- Conclusion
- References
Quick answer
An EPUB can carry nine kinds of declared facts about itself: title, author, publisher, language, date, identifiers, subjects, description, and a cover when one is declared. Open the EPUB Metadata Viewer, choose the file, and the report lists each field exactly as the file states it, with "Not stated" wherever the file declares nothing. The file opens on your device with JSZip, so nothing is uploaded, and the report covers these declarations only, never the chapters.
The identity fields: title and author
Title and author are the fields every book is expected to carry, and nearly every file does. The title is the book's name as its producer declared it, which can differ from the file name: a subtitle included or dropped, a series name folded in, a working title never updated.
The author field names whoever is credited with writing the book, recorded at production time. Together they are the file's minimum identity, and the fields a catalogue can almost always rely on being present.
The publication fields: publisher and date
Publisher names whoever issued this edition; date states when, in a standard form such as 2024-05-01. One title can exist in many editions, from different publishers and years, sometimes with different text. Title and author say which book you have; publisher and date say which release of it you have.
These are the fields most often missing from produced-at-home files. A book converted at home may declare a title and author and nothing else, leaving its edition effectively anonymous.
Language and identifiers: the codes and numbers
Language is a short code rather than a word, so an English book declares "en". The code lets software sort, search and apply the right reading rules without guessing from the text; a wrong or missing code quietly misfiles the book.
Identifiers are the book's formal numbers, written in forms like urn:isbn:9780000000000. Where title and author describe the book in words, an identifier pins one edition in a string machines can match exactly: two records with the same identifier describe the same edition, even if one misspells the title. That precision is what makes identifiers the backbone of catalogues and stock systems.
Subjects and description: how the publisher presents the book
Subjects list the topics the publisher filed the book under: the shelf labels, in effect, usually accurate and occasionally optimistic. The description is the short summary the publisher supplied, the kind of text that appears on a shop page.
Both fields describe how the book is sold rather than what it is, which is why they are so often empty in files produced without a shop in mind.
The cover, with its condition attached
The cover is the odd field out, because the viewer shows it only when a cover is declared. Many EPUBs hold a cover image in their pages without declaring it in the part of the file the report reads. So the behaviour is precise but easy to misread: a cover in the report means one was declared; no cover means none was declared.
How to read the declaration block, step by step
- Open the EPUB Metadata Viewer and choose the .epub file. The viewer opens it locally in your browser using JSZip; the book never leaves your device.
- Read down the report field by field: title, author, publisher, language, date, identifiers, subjects and description, with the cover shown when declared.
- Note any field marked "Not stated": the viewer reports the gap instead of guessing, which makes the report safe to catalogue from.
- If the file cannot be opened, you get a plain "not a readable EPUB" message, meaning the file is corrupt, password-protected, or not an EPUB at all.
Worked example: one book, fully declared
Take a tidy, fully declared EPUB. Its report reads:
- Title: The Example Book
- Author: Jane Example
- Publisher: Example Press
- Language: en
- Date: 2024-05-01
- Identifier: urn:isbn:9780000000000
Read as a set, those lines answer the full chain of questions: an English-language edition of The Example Book by Jane Example, from Example Press, dated 1 May 2024, with its formal identifier. Had the file also declared subjects and a description, they would appear in the same report; had it left the publisher out, that line would read "Not stated".
The gaps: what "Not stated" tells you
An empty field is not a defect in the report; it is a fact about the file. "Not stated" means the declaration was never made, and the pattern of gaps says something about how the book was produced. A file missing only its subjects was built quickly but carefully. One missing publisher, date and identifiers was converted by a tool that filled in the bare minimum.
The viewer never fills gaps by guessing, and that restraint is the point. A guessed publisher would look identical to a declared one in a catalogue, yet be wrong invisibly. An honest blank can be acted on; a confident invention cannot.
Limitations and honest tradeoffs
The viewer reports metadata only: no chapters, no extracted text, no rendering check. The report can describe the paperwork completely while saying nothing about whether the book itself is complete or well made.
It reads EPUB files only. Kindle formats and PDFs organise their information differently, and corrupt or password-protected EPUBs return the "not a readable EPUB" message instead of a report.
The declarations are only as accurate as whoever wrote them. A publisher can declare a wrong date or a careless author line, and the viewer will faithfully report the error.
Common mistakes
- Confusing the declared title with the file name. The file name is whatever the file was last saved as; the declared title is the book's own paperwork, and the one catalogues use.
- Reading a missing cover as a coverless book. The report shows a cover when one is declared. Undeclared covers do not appear.
- Treating the description as a neutral summary. It is the publisher's own presentation, closer to a shop page than to a review.
- Assuming every EPUB carries every field. Plenty carry little beyond title and author; the gaps are reported as "Not stated", not errors.
- Expecting the metadata to vouch for the contents. The declaration block describes the book; it cannot confirm the chapters are present or readable.
FAQs
Where inside the file does this metadata live? It lives in a declaration block that is part of the EPUB package, written in when the book was produced. The viewer opens the file locally with JSZip and reads that block, listing the declarations exactly as they are stored.
Does every EPUB carry all of these fields? No. Title and author are almost always present, but publisher, date, subjects, description and even identifiers are left out of plenty of files. Whatever is missing is reported as 'Not stated' rather than guessed.
Why does the report show a cover only sometimes? Because the viewer shows the cover when one is declared in the file. Some EPUBs declare a cover in a way the report can surface and some do not, so a missing cover means 'not declared', not that the book has no cover image anywhere in it.
Is the metadata inside an EPUB guaranteed to be accurate? No. The fields are statements made by whoever built the file, and they can be wrong or out of date. The viewer guarantees a faithful reading of what the file declares; the truth of those declarations rests with the publisher who wrote them.
Can the viewer read the book's chapters as well as its metadata? No. It reports metadata only. It does not open chapters, extract the text of the book or check how the pages render in a reader. The declaration block is the whole of its job.
Conclusion
The metadata inside an EPUB is the book's own account of itself: identity, edition, language, formal numbers and the publisher's presentation, all readable in seconds with the EPUB Metadata Viewer. To put the knowledge to work, our companion guide on checking an ebook file before adding it to your library turns these fields into a short pre-shelving routine. For more in this series, see the File and Data Conversion guides.
References
- International Digital Publishing Forum and W3C, the EPUB specification and its metadata package: https://www.w3.org/publishing/epub32/
- MDN Web Docs, on the File API used to read files locally in the browser: https://developer.mozilla.org/en-US/docs/Web/API/File_API