mozilla/pdf.js

PDF Reader in JavaScript

View on GitHub ↗Jump to charts ↓Open shareable report

Summary Information

Updated 17 minutes ago
Added to GitGenius on August 31st, 2026
Created on April 26th, 2011
Open Issues & Pull Requests: 418 (+0)
GitHub issues: Enabled
Number of forks: 10,667
Total Stargazers: 53,807 (+0)
Total Subscribers: 1,094 (+0)

Repository Insights (GitGenius)

Median issue/PR response: 2.3 hours
Mean response time: 54.0 days
90th percentile: 56.9 days
Tracked items: 974

Most active contributors

Sign in to see contributor activity.

How this project is maintained

Around half of the issues opened in the past year never receive a reply. 93% of open issues come from outside the core team, so the backlog reflects real-world use rather than internal planning. Work labelled "information-requested" is answered fastest, typically in under an hour, while "feature" waits about 3 days. 58% of tracked open issues have had no activity in three months. Only 8% of issues opened in the past year have been closed.

Charts & Analytics

Fetching additional details & charts...

Issue Activity (beta)

Open issues: 162
New in 7 days: 1
Closed in 7 days: 2
Avg open age: 875 days
Stale 30+ days: 143
Stale 90+ days: 117

Recent activity

Opened in 7 days: 1
Closed in 7 days: 2
Comments in 7 days: 0
Events in 7 days: 0

Top labels

  • viewer (92)
  • core (74)
  • feature (66)
  • information-requested (64)
  • test (64)
  • editor (53)
  • font-conversion (46)
  • text-selection (44)

Detailed Description

PDF.js is a web-based PDF viewer built with HTML5 and JavaScript that parses and renders PDF documents in the browser using web standards.

The project addresses the need to display PDF files natively in web applications without requiring plugins or server-side processing. It works by parsing PDF documents and rendering them using HTML5 canvas and other browser APIs. The tool provides both a standalone viewer component and a library that developers can integrate into their own applications. It includes features like text extraction, document navigation, and a PDF debugger for inspecting document structure.

Developers should choose PDF.js if they need to embed PDF viewing capabilities directly in web applications or build custom PDF readers. It suits projects requiring cross-browser compatibility, including support for older browsers through a legacy build. The tool is particularly valuable for applications that want to avoid server-side PDF processing or external dependencies. The project is built into Firefox version 19 and later, and an official extension is available for Chrome, demonstrating its maturity and broad adoption.

The project maintains a substantial base of real-world adopters, as evidenced by the fact that almost all open issues are raised by outside users rather than the core team. Maintainers typically respond to new issues and pull requests within hours. Work in the issue tracker is dominated by labels covering the viewer, core functionality, and information requests, reflecting the project's focus on the main rendering engine and user-facing components.