Skip to content
| Marketplace
Sign in
Visual Studio Code>Visualization>PDF & Word ViewerNew to Visual Studio Code? Get it now.
PDF & Word Viewer

PDF & Word Viewer

Unsafezero

|
13 installs
| (0) | Free
Fast, lightweight, and offline viewer for PDF and Word (.docx) documents in VS Code
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

PDF and Word Viewer for VS Code

A lightweight, read-only viewer for PDF and Word (.docx) files. Open either format directly in Visual Studio Code to read it offline.

Open a document

Open a .pdf or .docx file from the VS Code Explorer. If it opens with another editor, right-click the tab, choose Reopen Editor With…, and select PDF Viewer or Word (DOCX) Viewer.

The viewer automatically refreshes when the file changes on disk and preserves your reading position.

PDF navigation and search

  • Go to a page by entering its number in the toolbar and pressing Enter.
  • Search the whole PDF by clicking Find or pressing Ctrl+F (Cmd+F on macOS) while the preview has focus. Enter your search text and use Find next or Previous to move between highlighted matches. Search requires a text layer. Image-only scans need OCR before their text can be searched.
  • Unlock a protected PDF by entering its password when prompted. If the password is incorrect, you can try again or cancel.

Zoom and rotation

Action Toolbar Shortcut in the preview
Zoom in + Ctrl/Cmd and +, or Ctrl/Cmd and scroll up
Zoom out − Ctrl/Cmd and −, or Ctrl/Cmd and scroll down
Reset zoom to 100% Zoom percentage Ctrl/Cmd+0
Fit the document to the editor width Fit Width
Rotate a PDF 90° clockwise Rotate

License

MIT

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