Skip to content
| Marketplace
Sign in
Visual Studio Code>Visualization>Office File PreviewNew to Visual Studio Code? Get it now.
Office File Preview

Office File Preview

takashi-uchida

|
6 installs
| (0) | Free
Read-only preview for .docx, .xlsx, .pdf and .pptx files inside VS Code
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Office Viewer

Read-only preview for .docx, .xlsx, .pdf, and .pptx files directly inside VS Code.

Features

  • Word (.docx) — renders text, headings, tables, lists, and styles via docx-preview
  • Excel (.xlsx / .xlsm) — renders all sheets with a tab switcher via SheetJS
  • PDF (.pdf) — renders all pages as high-resolution canvas via pdf.js
  • PowerPoint (.pptx) — renders slides in list mode via pptx-preview

All previews are read-only. Files are never modified.

Usage

Opening a supported file automatically shows the preview. To open the same file in a different editor, right-click → Reopen Editor With….

Known Limitations

  • pptx rendering faithfulness depends on the complexity of the slide (animations and SmartArt may not render correctly)
  • Large PDFs (200+ pages) render all pages at once; scrolling is available but initial load may take a moment
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2026 Microsoft