
A Visual Studio Code extension for reading and previewing EPUB files directly in your editor.
Features
- 📚 Full EPUB Support - Read both EPUB 2 and EPUB 3 format ebooks
- 📖 Hierarchical Table of Contents - Navigate through chapters with an expandable tree structure
- 📊 Book Metadata - View title, author, publisher, and EPUB version
- 🖼️ Cover Display - See book covers when available
- 🎨 Theme Integration - Automatic light/dark mode support matching VS Code theme
- ⌨️ Easy Navigation - Previous/Next chapter buttons for seamless reading
- 🔍 Active Chapter Highlighting - Always know where you are in the book
Usage
- Open any
.epub file in VS Code
- The file will automatically open in the EPUB Preview editor
- Use the Table of Contents sidebar to navigate chapters
- Click Previous/Next buttons to move between chapters
- The current chapter is automatically highlighted in the TOC
Installation
From VS Code Marketplace
- Open VS Code
- Go to Extensions (Ctrl+Shift+X / Cmd+Shift+X)
- Search for "EPUB Toolbox"
- Click Install
Or install directly from the command line:
code --install-extension morten-teinum.epub-toolbox
From GitHub Releases
- Download the
.vsix file from releases
- Install via command line:
code --install-extension epub-toolbox-*.vsix
- Or in VS Code: Extensions → ⋯ (More Actions) → Install from VSIX
Requirements
- VS Code version 1.80.0 or higher
Support
If you find this extension helpful, consider supporting its development:

Contributing
Contributions are welcome! Please see CONTRIBUTING.md for development setup, build instructions, and release process.
License
MIT
Credits
Built with epub.js - A JavaScript library for rendering ebooks.
| |