PDF Viewer installs statistics
By Mathematic Inc (2 listings) · VS Code Marketplace · Visualization
Portable document format (PDF) viewer for Visual Studio Code.
PDF Viewer has 2,934,552 recorded installs on VS Code Marketplace, an increase of 2.5% over the past 30 days, ranking #258 of 2,515 tracked listings.
Rating: 4.83 / 5 from 24 ratings
About PDF Viewer
Visual Studio Code PDF Viewer
A lightweight, reliable PDF viewer for Visual Studio Code, powered by Mozilla PDF.js.
GitHub: mathematic-inc/vscode-pdf
Overview
This extension runs the latest pdf.js underneath. Try the PDF.js demo viewer.
Why?
Most extensions currently in the marketplace have problems too deep to fix. These problems include memory leaks, outdated dependencies, and several debouncing issues. A priori, this extension does not have these issues and seeks to provide only viewing capabilities. Nothing more.
Installation
Install from the Visual Studio Marketplace or from the Open VSX Registry.
The current PDF.js viewer requires VS Code 1.95 or later.
Alternatively, search for "PDF Viewer" in the Extensions view (Ctrl+Shift+X / Cmd+Shift+X) inside VS Code.
Usage
Once installed, open any .pdf file in VS Code. The extension automatically registers as the default editor for PDF files and renders them using the built-in PDF.js viewer.
Contributing
Start with a Discussion, not a pull request. A Mathematic maintainer will review the proposal. If we decide to implement it, a maintainer or one of our AI agents will open the pull request. When Mathematic implements a proposal, the implementation pull request will link to the Discussion and credit its original author. GitHub restricts pull request creation to Mathematic maintainers, repository collaborators with write, maintain, or admin access, and authorized maintenance agents.
See CONTRIBUTING.md for the full policy.
Support us
If you find this extension helpful, please consider supporting its development through GitHub Sponsors. Your support helps maintain and improve this extension.
Updating PDF.js
- update
pdfjs_version.txtto target version and hash - from root folder of this repo run
tools/prepare_pdfjs.sh, this will download PDF.js in given version and try to apply patches from thepatchesfolder to it- if the patches apply cleanly the command terminates and you are done
- if the patches fail to apply, for every conflict a
*.rejfile will be generated in theassets/pdf.jsfolder, you need to resolve these manually and then delete the.rejfiles
To keep the current PDF.js version and add patches, run with the --update-patches flag. The script stops after applying the current patches so you can modify assets/pdf.js. When you finish, it creates a new patch from your changes.
After you prepared your patches you can run the same command again, the second time the patches should apply cleanly and the assets/pdf.js should have the updated content you created earlier.
The prepare_pdfjs.sh script does not create any commits in this repo, after you are happy with the patches you prepared be sure to commit everything manually.
This project is free and open-source work by a 501(c)(3) non-profit. If you find it useful, please consider donating.
Description from the VS Code Marketplace listing.
- document
- preview
- reader
- viewer
README badge
Show your rank in a README or on your website. The badge updates automatically.
Charts
Images: 30d · 1y · all time · 1600×900 dark
Adoption over time
7/30/90-day growth
Ranking history
Ratings over time
Listing placement
Listing placement
Filled points are observed values; hollow points come from Internet Archive snapshots of the listing page. Dashed segments span periods with no observations — values between points are not interpolated.
Each band is one page of 20. Installs on a linear scale. Placement is projected from installs, so it can differ from the marketplace's own sort order. Hover a dot to see the listing.
Recent observations
Full history (50)Similar VS Code Marketplace Visualization plugins
All 20 PDF Viewer alternativesPDF Viewer on other marketplaces
Data source
Install counts, average rating, and rating counts come from the public Visual Studio Marketplace gallery API. Installs are cumulative and exclude updates.
Listing: https://marketplace.visualstudio.com/items?itemName=mathematic.vscode-pdf. First seen Oct 16, 2026; last successful collection Dec 6, 2026. See the methodology.