Spine EPUB ReaderKeep technical EPUBs beside your code in VS Code. Search the whole book, preview footnotes as you read, and pick up at the paragraph where you left off. Download VSIX · Why Spine · Reading · Development English · 简体中文 · 日本語 · 한국어 · Français · Deutsch
Full-size VS Code captures · Light Modern · Dark Modern · Watch the demo Why Spine
InstallYou’ll need VS Code 1.106 or later with a Node.js extension host. Install Spine from the Visual Studio Marketplace. To install a VSIX manually, follow the steps below.
Run Spine EPUB Reader: Open Guide to read this guide in your VS Code display language. It’s available in English, Simplified Chinese, Japanese, Korean, French, and German. If VS Code uses another extension for EPUBs, choose Open with Spine EPUB Reader in the Explorer or Reopen Editor With… → Spine EPUB Reader in the tab. Add the following to your VS Code settings to open EPUBs with Spine by default.
Reading languages
Spine keeps the original characters when you search or copy text. It uses fonts from the EPUB and your system. The reader interface is available in English and Simplified Chinese. Language coverage and font tests BenchmarksWe tested a 74.3 MiB EPUB with 72 illustrated chapters on one Linux x64 machine running VS Code 1.106.3.
Across 10 chapter changes in Spine, the time from switching chapters to image decode was 100 ms at the median and 134 ms at the 95th percentile (P95). We ran the first-image test once per reader, using separate VS Code profiles on the same machine. Test setup and results Zovo decoded the cover fastest on all three small DAISY test books. We opened each book five times per reader. Median times across the three books were 279–296 ms for Zovo, 297–314 ms for Spine, and 653–665 ms for Office Viewer. Public test books and measurements We ran a separate Node.js benchmark on the illustrated EPUB. Across 12 runs, the EPUB engine returned the first batch of search results in 0.2 ms at the median and finished the full scan in 12.5 ms at the median. Benchmark script Reading
If an EPUB lists the same chapter more than once, Spine tracks progress and bookmarks for each occurrence. Links in the book open the first occurrence in the main reading order. Spine reads the book index up front, then loads chapters and their assets as needed. It opens DRM-free EPUB 2 and 3 files up to 1,024 MiB (1 GiB) from disk. Virtual file systems that send the whole file to the extension host have a 160 MiB limit. Read by scrolling through chapters or zoom in on basic single-page fixed layouts. Spine loads up to 20 MiB of embedded resources per chapter and shows placeholders for images that exceed that budget. A scanned EPUB that stores many pages in one chapter can hit this limit. Pagination, spreads, audio, video, and media overlays are outside the current scope. Spine prepares the adjacent chapter as you approach the page edge. One continuous trackpad gesture in the same direction crosses at most one chapter boundary. Scroll back past the edge to pick up at the end of the previous page. If a chapter fails to load, retry it from the reading pane or skip to the next page. Spine opens books in read-only mode and stores progress, bookmarks, and appearance settings on the VS Code extension host. It blocks book scripts and remote embeds. Select an external HTTP or HTTPS link to open it in your browser. Spine collects no telemetry. Compared with other VS Code readersOffice Viewer 4.2.3 opens several document formats and saves your place in EPUBs. Spine loads chapters on demand and reached the first decoded image sooner in the illustrated-book test above. Zovo EPUB Viewer offers paged, scrolling, and two-column layouts. It previews footnotes and lets you step through search results with the keyboard. Spine preserves publisher CSS, embedded fonts, and inline SVG and scales single-page fixed layouts to fit the editor. VSRead includes a bookshelf, page-by-page reading, and reading history. Spine lets you select the original text, scroll wide code and tables within the page, and reopen the book at your last paragraph. renkun EPUB Reader has a keyboard shortcut to open the reader, a bookshelf, and its own font controls. With Spine, EPUBs open in editor tabs alongside your files. Workspace search remains available and the reader works with VS Code’s high-contrast themes. Book Reader provides highlights, notes, image tools, and read-aloud. In Spine, you can follow a printed page reference or start using book-search results as they come in. PDF & EPUB Book Reader has a workspace library and exports annotations and bookmarks as Markdown. Spine lets you copy bookmarks to Markdown by chapter and open search matches while the book scan is still running. Compared with desktop readerscalibre manages your library and offers paged and flowing layouts, highlights, and read-aloud. In Spine, a technical EPUB can sit beside your code and use your familiar editor shortcuts. Thorium Reader offers accessible EPUB reading, media overlays, annotations, and library catalogs. Spine keeps a local EPUB open in an editor tab, so you can switch to code or the terminal and return to the same paragraph. Foliate offers refined typography, gesture-based page turns, annotations, and read-aloud. In Spine you can scroll wide tables and code within the editor, preview footnotes as you read, and copy bookmarks grouped by chapter. Comparison sources, issue reports, and implementation notes In four selected W3C EPUB tests, Spine and Office Viewer rendered MathML, embedded SVG, WOFF2 fonts, and a data-URL image. Zovo rendered the MathML and data-URL tests. Test cases and observations Feedback and contributionsHelp us make Spine the best way to read EPUBs in VS Code. Tell us what works and what gets in your way, suggest a feature, or open a pull request. A screenshot, steps to reproduce the issue, or a small EPUB you can share helps us turn your experience into a test. Give feedback · Contribute DevelopmentTo build or package the extension, use Node.js 22.2 or later.
Run Run Use |