Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>Document ViewerNew to Visual Studio Code? Get it now.
Document Viewer

Document Viewer

Syncfusion

|
2,291 installs
| (11) | Free
View PDF, Word, Excel, and Markdown files directly in VS Code without external applications.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

DocumentViewer Extensions

Document Viewer for Visual Studio Code

The Document Viewer extension enables developers to seamlessly view Word, Excel, Pdf, Markdown, CSV, and TSV files directly within VS Code. No more switching between applications - keep your workflow uninterrupted by viewing documents in the same environment where you code.


Supported File Formats

  • Word (.docx, .rtf, .dotx, .docm, .dot, .doc)

  • Excel (.xlsx, .xls, .xlsm, .xltx, .xltm, .xlsb, .xlt)

  • PDF (.pdf)

  • Markdown (.md)

  • CSV (.csv)

  • TSV (.tsv)


Key Features

  • Effortless Viewing: Seamlessly view Word, Excel, PDF, Markdown, CSV, and TSV files.

  • Edit Files: Edit Word, Excel, Markdown, CSV, and TSV files directly in VS Code without accessing additional tools.

  • Read-Only Mode: Toggle read-only mode to prevent accidental changes and safeguard your data.

  • Sorting and Filtering: Organize data efficiently using sorting and filtering options in column headers for spreadsheet (Excel, CSV, TSV) files.


How to Use

Open, Edit, and Save Files

  1. Open a File:

    • Go to File > Open File or drag an Word (.docx, .rtf, .dotx, .docm, .dot, .doc), Excel (.xlsx, .xls, .xlsm, .xltx, .xltm, .xlsb, .xlt), PDF (.pdf), Markdown (.md), CSV (.csv), or TSV (.tsv) file into the editor.

      DocumentViewerExtension

  2. Edit and Save:

    • Make your changes and save them using File > Save or press Ctrl + S (Windows) / Cmd + S (Mac).

    Note: Document Viewer allows basic editing of Word, Markdown, Excel, CSV, and TSV files directly within VS Code.

  3. Sorting and Filtering in Spreadsheet

    • Use the filter icons in the column headers to sort and filter data. Right-click a cell or header for advanced options.

    Note: Document Viewer enables the filtering and sorting option only when the spreadsheet files are open.

    From column header:

    Filter-DropDown

    Right clicking on the cell:

    Filter-RightClick


Configuration Options

Read-Only Mode

  • Prevent accidental edits to your files.

    • Via Status Bar:

      • After opening the file, click Document Viewer in the status bar to toggle read-only mode on or off.
        • Spreadsheet

          ReadOnly

        • Word

          ReadOnly

        • Markdown

          ReadOnly

    • Via Settings:

      • Go to Settings > Extensions > Document Viewer to toggle read-only mode.

        ReadOnly-Config

Sorting and Filtering in Spreadsheet

  • Adjust settings to organize data effectively.

    • Via Status Bar:

      • After opening the file, click Document Viewer in the status bar to configure sorting and filtering on the first row of the worksheet for quicker access.

        Filter

    • Via Settings:

      • Go to Settings > Extensions > Document Viewer to enable or disable these features.

        Filter-Setting


For comprehensive details on the Document Viewer extension for Visual Studio Code, refer to the help documentation. To quickly learn how to open, edit, and save documents, follow the Getting Started Guide. Customize the Document Viewer, including enabling read-only mode or configuring spreadsheet filters, by exploring the Configuration Options Guide.

FAQ

If you have any other queries or need further clarification, please visit our FAQ page for quick answers.

About Syncfusion

Founded in 2001 and headquartered in Research Triangle Park, N.C., Syncfusion® has more than 35,000 customers and more than 1 million users, including large financial institutions, Fortune 500 companies, and global IT consultancies.

Today, we provide 1900+ components and frameworks for web (Blazor, Flutter, ASP.NET Core, ASP.NET MVC, ASP.NET WebForms, JavaScript, Angular, React, Vue, and jQuery), mobile (.NET MAUI, Flutter, Xamarin, UWP, and JavaScript), and desktop development (WinForms, WPF, WinUI, .NET MAUI, Flutter, Xamarin, and UWP). We provide ready-to-deploy enterprise software for dashboards, reports, data integration, and big data processing. Many customers have saved millions in licensing fees by deploying our software.

sales@syncfusion.com | Toll Free: 1-888-9 DOTNET

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft