Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>Spine EPUB ReaderNew to Visual Studio Code? Get it now.
Spine EPUB Reader

Spine EPUB Reader

Huey97

|
5 installs
| (0) | Free
Read EPUB books in a VS Code tab with full-book search, footnotes, bookmarks, and adjustable typography. Feedback and contributions welcome.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Spine EPUB Reader

Keep 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

Spine in VS Code showing the chapter list and a SQL example from Database Field Notes

Full-size VS Code captures · Light Modern · Dark Modern · Watch the demo

Why Spine

  • About 225 KiB to download, with chapter preloading. As you scroll toward a page edge, Spine gets the adjacent chapters ready and keeps a small buffer in the reader.
  • Select and copy the original text. Spine adds a little visual space between Chinese or Japanese text and Latin letters or digits. Wide code and tables scroll within the page. Spine supports embedded fonts, searchable ruby, and vertical Japanese. MathML 3 formulas keep their brackets and separators.
  • Look things up across chapters. Press Ctrl/Cmd+F to search the book and see matches as each chapter is scanned. Open a result to highlight its text in the book. Jump to a printed page label, preview a footnote, or return to your paragraph. Ctrl/Cmd+Shift+F opens VS Code workspace search.
  • Read offline. Your reading position, bookmarks, and typography settings stay on the extension host. Spine collects no telemetry.

Install

You’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.

  1. Download spine-epub-reader-*.vsix from GitHub Releases.
  2. Run Extensions: Install from VSIX… in the Command Palette and select the file.
  3. Open an .epub from the Explorer or run Spine EPUB Reader: Open EPUB….

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.

{
  "workbench.editorAssociations": {
    "*.epub": "spine-epub.reader"
  }
}

Reading languages

  • Chinese, Japanese and Korean. Read Simplified and Traditional Chinese, Korean, and horizontal or vertical Japanese with ruby. Mixed Chinese and Japanese passages get a small visual gap next to Latin letters or digits.
  • Latin, Cyrillic and Greek scripts. Tested with English, French, German, Spanish, Portuguese, Vietnamese, Turkish, Welsh, Māori, Swahili, Russian, Ukrainian, and Greek.
  • Right-to-left and other scripts. Tested with Arabic, Hebrew, Persian, and Urdu, plus scripts used by Bangla, Hindi, Nepali, Tamil, Thai, Lao, Khmer, Burmese, Amharic, Georgian, Armenian, Cherokee, and Inuktitut.

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

Benchmarks

We tested a 74.3 MiB EPUB with 72 illustrated chapters on one Linux x64 machine running VS Code 1.106.3.

Reader Quick Open to first decoded illustration
Spine 0.5.3 356 ms
Zovo EPUB Viewer 673 ms
Office Viewer 2,555 ms

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

  • Move around the book. If Contents starts closed, Spine builds the chapter list and printed page menu when you first open it. Filter a long table of contents to see matches with their parent headings. Spine labels duplicate printed page numbers separately and expands a collapsed example when you follow a link to it.
  • Make room in a narrow split. Close the sidebar with its close button or click back into the page.
  • Look up a footnote and keep reading. Preview marked footnotes and follow links to nested notes in place. Save up to 100 bookmarks per book and copy them as Markdown grouped by chapter. Spine remembers your last paragraph across sessions.
  • Keep your place when resizing. When the editor gets taller, you may hit the end of the chapter before your current paragraph can reach the top. Spine remembers that paragraph for the next resize or tab reload.
  • Pick up a search after a reload. When VS Code reloads the EPUB tab, the search field keeps your query. Searches you’ve already submitted resume when the Search panel is visible.
  • Inspect illustrations in a split editor. Choose Enlarge beside an embedded raster image to see its caption and zoom in. Use Background to switch between light and dark for transparent diagrams. Tab to the image view to pan with the arrow keys, then press Esc to return to the page.
  • Choose your reading font. Keep the book’s typography or choose a serif, sans-serif, or installed font under Appearance → Text font. Adjust the theme, text size, and line spacing independently.
  • Keep captions legible in Light and Sepia. These themes apply their text and link colors to faint publisher captions while keeping the book’s typography.
  • Read shaded passages in Dark. Dark and high-contrast themes keep text and links readable over publisher gradients. Image-only gradients, embedded images, and fixed-layout pages retain their styling.
Action Shortcut
Find text in the book Ctrl+F or Cmd+F. Selected text from the page or a footnote fills the search field.
Step through results from the search field Enter or Shift+Enter after matches appear
Previous or next page Scroll past the top or bottom, or press Left or Right with the text focused
Read with the keyboard Page Down or Space scrolls down. Page Up or Shift+Space scrolls up. Press again at a page edge to continue.
Close the current illustration, footnote, appearance panel, or sidebar Esc

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 readers

Office 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 readers

calibre 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 contributions

Help 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

Development

To build or package the extension, use Node.js 22.2 or later.

npm ci
npm run build
code --extensionDevelopmentPath="$PWD"

Run npm run package to build a VSIX under release/.

Run npm test for the parser and extension host. For the Webview suite, run npx playwright-core install chromium followed by npm run test:ui.

  • Testing and benchmarks
  • EPUB reader comparison
  • Marketplace publishing

Use test/fixtures.mjs to build small EPUBs that reproduce problems with a book’s layout or styles.

MIT License · Third-party notices

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
  • Your Privacy Choices
  • Consumer Health Privacy
© 2026 Microsoft