cweijan

    cweijan/vscode-office

    Let VSCode support previewing PDF, Excel, Word and other formats, and add markdown WYSIWYG editor.

    web
    TypeScript
    MIT
    1.7K stars
    239 forks
    1.7K GitHub watchers
    Updated Nov 1, 2026
    View on GitHub

    Build with Backblaze B2

    SDKs, agent skills, IDE extensions, and reference pipelines from Backblaze Labs. All open source.

    Explore Backblaze Labs

    Loading star history...

    Where it stands

    Rank, growth pace and release cadence relative to everything GStars tracks.

    The project lists 18 contributors on GitHub.

    Use Cases & Benefits

    • Enables previewing and editing of various office, design, and document file formats directly within VS Code.
    • Integrates multiple file format previews and a markdown WYSIWYG editor into a single VS Code extension for seamless workflow.
    • Use for editing and previewing Excel, Word, PowerPoint, and PDF files without leaving the VS Code environment.
    • Use for writing and exporting Markdown documents with live preview and export to PDF, DOCX, or HTML formats.
    • Use for viewing and decompiling Java .class files and sending HTTP requests from .http or .rest files within VS Code.

    Should you depend on it?

    License terms, project hygiene and risks, from GitHub metadata and GStars' snapshots.

    License

    MIT

    Permissive: commercial use, modification and redistribution are allowed with attribution.

    Community files

    • README: present

    Watch-outs

    • No GitHub releases; pin a commit or tag instead of a release.

    General guidance from repository metadata, not legal advice. How we score

    From the README

    This extension lets you preview and edit common office and design files directly in VS Code.

    This extension replaces the default Markdown editor with a WYSIWYG editor.

    To use the built-in VS Code Markdown editor instead, add this to your settings.json:

    Right-click in the editor to export Markdown to PDF, DOCX, or HTML. PDF export requires Chromium; set the browser path with vscode-office.chromiumPath.

    Shortcuts: Based on shortcut.md, plus:

    Long code blocks are capped (default 400px) with an expand/collapse button to view them in full. Change the default height via the editor toolbar's ⚙ Settings → Code block height (down to compact, up to unlimited).

    Excerpt from the cweijan/vscode-office README on GitHub (MIT license). © its authors.Read the full README on GitHub

    Daily snapshots

    Stars gained per day, and how forks and open issues moved, from GStars' daily snapshots

    Forks

    239+29

    Open issues

    58+4

    Compared with peers in Web

    Fastest-growing repositories GStars tracks in this cohort for the week of Nov 1, by 7-day star growth

    cweijan/vscode-office compared with Web repositories by stars, 7-day star growth, health score and last release
    RepositoryStars+7dHealthLast release
    pingdotgg/t3code48.4K+16.6K40today
    pbakaus/impeccable104.0K+8.7K5410 days ago
    HunYiSage/dsh-purge19.2K+6.2K13today
    Renhuai123/ziwei-doushu16.2K+6.1K4421 days ago
    paperclipai/paperclip111.5K+2.8K5913 days ago
    cweijan/vscode-office1.7K—20—
    Category median48.4K+6.2K44—

    Discover Repositories

    Search across tracked repositories by name or description