Skip to content
>_ TrueFileSize.com

Sample EPUB File Download — Free Ebook Test Files

Download free ebook sample files in EPUB format — text-only, with images, and multi-chapter variants from 100KB to 10MB. Use these EPUB test files for ebook reader testing, reading app development, and format conversion testing (EPUB to PDF, EPUB to MOBI). EPUB is the most widely used ebook format — supported by Apple Books, Google Play Books, Kobo, and Kindle (since 2022).

sample-100kb.epub

100 KB

10 pages

Verified file details
Filename
sample-100kb.epub
Exact size
102,400 bytes
Displayed size
100 KB
MIME type
application/octet-stream
Pages
10
Chapters
3
Language
en
License
CC0 / Public Domain
Download URL
https://truefilesize.com/files/epub/sample-100kb.epub

See how TrueFileSize generates and measures sample files, or review the editorial policy.

sample-500kb.epub

500 KB

50 pages

Verified file details
Filename
sample-500kb.epub
Exact size
512,000 bytes
Displayed size
500 KB
MIME type
application/octet-stream
Pages
50
Chapters
10
Language
en
License
CC0 / Public Domain
Download URL
https://truefilesize.com/files/epub/sample-500kb.epub

See how TrueFileSize generates and measures sample files, or review the editorial policy.

sample-1mb.epub

1 MB

100 pages

Verified file details
Filename
sample-1mb.epub
Exact size
1,048,576 bytes
Displayed size
1 MB
MIME type
application/octet-stream
Pages
100
Chapters
15
Language
en
License
CC0 / Public Domain
Download URL
https://truefilesize.com/files/epub/sample-1mb.epub

See how TrueFileSize generates and measures sample files, or review the editorial policy.

sample-5mb.epub

5 MB

300 pages

Verified file details
Filename
sample-5mb.epub
Exact size
5,242,880 bytes
Displayed size
5 MB
MIME type
application/octet-stream
Pages
300
Chapters
25
Language
en
License
CC0 / Public Domain
Download URL
https://truefilesize.com/files/epub/sample-5mb.epub

See how TrueFileSize generates and measures sample files, or review the editorial policy.

sample-10mb.epub

10 MB

500 pages

Verified file details
Filename
sample-10mb.epub
Exact size
10,485,760 bytes
Displayed size
10 MB
MIME type
application/octet-stream
Pages
500
Chapters
40
Language
en
License
CC0 / Public Domain
Download URL
https://truefilesize.com/files/epub/sample-10mb.epub

See how TrueFileSize generates and measures sample files, or review the editorial policy.

sample-text-only.epub

50 KB

20 pages

Verified file details
Filename
sample-text-only.epub
Exact size
51,200 bytes
Displayed size
50 KB
MIME type
application/octet-stream
Pages
20
Chapters
5
Language
en
License
CC0 / Public Domain
Download URL
https://truefilesize.com/files/epub/sample-text-only.epub

See how TrueFileSize generates and measures sample files, or review the editorial policy.

sample-with-toc.epub

200 KB

30 pages

Verified file details
Filename
sample-with-toc.epub
Exact size
204,800 bytes
Displayed size
200 KB
MIME type
application/octet-stream
Pages
30
Chapters
8
Language
en
License
CC0 / Public Domain
Download URL
https://truefilesize.com/files/epub/sample-with-toc.epub

See how TrueFileSize generates and measures sample files, or review the editorial policy.

Use cases for sample EPUB files

  • Testing EPUB rendering in ebook reader applications
  • Verifying EPUB upload validation in publishing platforms
  • Testing EPUB-to-PDF and EPUB-to-MOBI conversion tools
  • Benchmarking EPUB parsing and metadata extraction
  • Testing table of contents (TOC) navigation
  • Validating EPUB 3 compliance with epubcheck

EPUB vs PDF vs MOBI — Ebook format comparison

FeatureEPUBPDFMOBI/AZW
Reflowable textYesNo (fixed layout)Yes
Font size adjustmentYesZoom onlyYes
Kindle supportYes (since 2022)LimitedNative
Apple BooksNativeYesNo
Open standardYes (W3C)Yes (ISO)No (Amazon)
Best forNovels, ebooks, text-heavyForms, manuals, printKindle only

EPUB file structure

book.epub (ZIP archive)
├── mimetype                    # "application/epub+zip" (uncompressed)
├── META-INF/
│   └── container.xml           # Points to content.opf
└── OEBPS/
    ├── content.opf             # Manifest + reading order (spine)
    ├── toc.ncx                 # Table of contents (EPUB 2)
    ├── toc.xhtml               # Navigation document (EPUB 3)
    ├── chapter-1.xhtml         # Chapter content (XHTML)
    ├── chapter-2.xhtml
    ├── styles.css              # Optional stylesheets
    └── images/                 # Optional embedded images

An EPUB is a renamed ZIP file. You can rename .epub to .zip and extract it to inspect the XHTML content, CSS styles, and OPF manifest.

How to create and validate EPUB files

# Convert Markdown to EPUB (Pandoc)
pandoc input.md -o output.epub --metadata title="My Book"

# Convert DOCX to EPUB
pandoc input.docx -o output.epub

# Validate EPUB structure (W3C epubcheck)
java -jar epubcheck.jar book.epub

# Convert EPUB to MOBI (for Kindle)
ebook-convert book.epub book.mobi  # Calibre CLI

# Node.js: create EPUB programmatically
# npm install epub-gen-memory
import { createEpub } from 'epub-gen-memory';

Technical specifications

Full nameElectronic Publication
Extension.epub
MIME typeapplication/epub+zip
Based onZIP + XHTML + CSS + OPF manifest
Current versionEPUB 3.3 (W3C Recommendation)
Maintained byW3C (formerly IDPF)
DRMOptional (Adobe ADEPT, Apple FairPlay)

Frequently Asked Questions

What is EPUB format?
EPUB (Electronic Publication) is an open ebook format maintained by the W3C. It's a ZIP archive containing XHTML content, CSS styling, images, and an OPF manifest that describes the reading order. EPUB supports reflowable text — readers can adjust font size, margins, and line spacing. The current version is EPUB 3.3 with HTML5/CSS3 support.
EPUB vs PDF for ebooks — Which is better?
EPUB is better for reading on screens — it has reflowable text that adapts to any screen size, adjustable font size, and night mode support. PDF is better for print layouts, forms, and documents with complex formatting that must look identical everywhere. Use EPUB for novels, textbooks, and text-heavy content. Use PDF for manuals, reports, and print-ready documents.
How to open EPUB on Kindle?
Since late 2022, Kindle supports EPUB directly via Send to Kindle (sendtokindle.com or the Kindle app). Email your EPUB file or drag-and-drop it in the Send to Kindle desktop app. Older Kindles required conversion to MOBI/AZW first using Calibre: ebook-convert book.epub book.mobi. For best results, validate your EPUB with epubcheck before sending.
Best EPUB reader — What apps can open EPUB files?
Desktop: Calibre (free, cross-platform), Apple Books (macOS), Kindle app. Mobile: Apple Books (iOS), Google Play Books (Android/iOS), Kobo app, Kindle app. Linux: Foliate, Calibre. Browser: Readium, EPUB.js. For developers testing EPUB rendering, Calibre and Thorium Reader provide the most standards-compliant rendering.
How do I convert PDF to EPUB?
Calibre: ebook-convert input.pdf output.epub. Pandoc: pandoc input.pdf -o output.epub. Online: CloudConvert, Zamzar. Note: PDF-to-EPUB quality varies — PDFs with complex layouts, tables, or scanned images often produce poor results because PDF is fixed-layout while EPUB is reflowable. Start from source (DOCX/Markdown) when possible.
What is the difference between EPUB 2 and EPUB 3?
EPUB 3 adds HTML5/CSS3 support, embedded audio/video, JavaScript interactivity, SMIL media overlays (read-aloud), MathML, and improved accessibility (WCAG). EPUB 2 uses XHTML 1.1 and CSS 2.1. Most modern readers support EPUB 3, but EPUB 2 has broader legacy compatibility. Our EPUB example files use EPUB 3 structure.

Other document formats

Related reading