Preview EPUB files in Finder with Quick Look
Select an EPUB in Finder and press Space. Without help, the Mac shows only the generic preview: the file’s icon, its name, its size and its date. Install Readwyn and the same key brings up a page for the book, with its cover, its title and author, a few rows of details, and the opening lines of the text. The book doesn’t need to be in your library: the preview reads only the file.
Why the Mac has no preview for an EPUB
Quick Look is Apple’s preview panel: select a file and press the Space bar, press it again to close. When we checked macOS 26.4, nothing on the system previewed an EPUB. Books has a thumbnail extension, which is why an EPUB’s Finder icon can show its cover, but no preview extension. So the panel falls back to the generic page.
Readwyn adds a preview extension, ReadwynPreview.appex, inside the app bundle. macOS picks it up for EPUB and for most of the other book files Readwyn reads (see below).
What the preview shows
The page is 720 points wide, and in a smaller panel the cover shrinks and the first lines stop with “…” where they run out of room. On the left is the cover; on the right, the title, the author, and up to four rows:
| Row | Example |
|---|---|
| Format | “EPUB · 1.8 MB” |
| Length | “About 316,000 words”, rounded to three digits |
| Language | “English”, from the book’s language code |
| Publisher | the publisher named in the file |
A row the file doesn’t fill in is left out, so a book with no publisher has three rows. A book with no author has no author line, and a book with no title shows its file name without the extension.
Under a thin rule come the first lines of the book. Readwyn skips the front matter, so you usually get the start of the story or the preface rather than the Project Gutenberg licence or the copyright page. The excerpt runs to the end of the first sentence after about 300 characters. On a book with DRM the text can’t be read, so the rule and the excerpt don’t appear and the page ends after the rows.
The preview follows your Mac’s Light or Dark appearance, and it uses Readwyn’s own colours and fonts.
Other formats
The same preview covers MOBI, AZW, AZW3 and PRC files from Kindle, PDB and OEB files, and comic archives (CBZ, CB7 and CBT). For a comic you see the cover page and a page count such as “10 pages”, with no first lines; the title, author, language and publisher come from the comic’s ComicInfo.xml if it has one.
PDFs keep Apple’s own Quick Look, which already shows the pages.
When the preview looks different
- No cover. A book without a cover, or with a cover that won’t decode, gets a drawn cover with its title and author on it (the Kobo post on missing covers explains how an EPUB marks its cover).
- A damaged file. The preview gives up and macOS shows its generic preview instead.
- A slow file. The preview waits 5 seconds at most. If the details are ready by then and the text isn’t, you get the cover and the details without a word count or first lines; if not, the generic preview. Every book in Readwyn’s test corpus reads in under 20 ms.
- Another app claims the extension. If another app declares its own file type for, say,
.cbz, and macOS gives the file that type, the file gets the generic preview. Runmdls -name kMDItemContentTypeon the file in Terminal to see which type macOS gave it.
The preview reads the selected file and nothing else. It runs in Apple’s App Sandbox with no network access and can’t see your library.
Opening the book from the panel
The bar at the top of the panel belongs to macOS. Its button names the file’s default app: “Open with Readwyn” where Readwyn is the default, as it usually is for a MOBI, an AZW3 or a comic. For an EPUB, Books stays the default until you change it, so the button says “Open with Books”. Right-click that button and Readwyn is in the list.
To make Readwyn the default for every EPUB, select one in Finder, choose File > Get Info, open “Open with”, pick Readwyn and click Change All (Apple’s steps). From then on the Quick Look button reads “Open with Readwyn”, and a double click opens the book in the Readwyn reader. A book that isn’t in your library opens too, marked “Not in your library”, and your place isn’t saved until you add it.
Quick Look is a Mac feature, so the Linux version of Readwyn has no equivalent.