Skip to content

Browser Support

Big shoutout to BrowserStack for providing free access for our tests.

PDFObject 2.x supports all modern browsers, including Google Chrome, Microsoft Edge, Mozilla Firefox, Apple Safari, and even Microsoft Internet Explorer 11 (for now).

Important: Please don't confuse PDFObject browser support with browser support for inline PDFs. PDFObject supports all modern browsers, including mobile browsers. But this does not mean PDFs can be embedded in these browsers! A key feature of PDFObject is automatically providing fallback content when browsers are not capable of rendering the PDF. For example, Safari on iOS does not properly support embedded PDFs, so PDFObject will automatically display the PDF's URL and a prompt to download the PDF.

(In case you were wondering, this browser doesn't support embedded PDFs. Sad pandas.)

Mobile Browsers

Let's get this out of the way: As of February 2024, all mobile browsers still fail to support inline PDFs, even on tablets. Some browsers, like Safari on iOS, give the impression that inline PDFs are supported — they display a rendered image of the first page of the PDF, but you'll quickly see there is no way to interact with the PDF or even scroll to the second page. It's a usability nightmare.

Our testing on Android devices also failed to find any browsers that provided even the most basic PDF support for inline/embedded PDFs.

Based on our testing, PDFObject currently assumes any browser on a mobile device is unable to display inline PDFs, and will default to the fallback content.

Note: This is specifically referring to inline/embedded PDFs. The device might be perfectly capable of displaying a PDF when it is not embedded within an HTML page. That's outside the scope of PDFObject.

PDF Rendering Engines

Warning: Grossly oversimplified summary ahead! There are three primary desktop web browser platforms:

The three browser platforms are typically bundled with specific PDF rendering engines, as listed below.

PDFium

Chromium-based browsers are typically packaged with PDFium, a fork of FoxIt Reader. Chromium first introduced native PDF support in 2011.

In 2023, Microsoft announced they will be removing PDFium from Edge, in favor of a proprietary fork of Adobe Reader.

Preview

Webkit's default PDF rendering engine is Apple's Preview, which was built by NeXT, then expanded by Apple. Safari introduced native PDF support in 2009.

PDF.js

Firefox is bundled with PDF.js, a JavaScript-based PDF rendering engine built by Mozilla. Firefox introduced native PDF support in 2013.

PDF Browser Plugins

There are two primary browser plugins for PDFs on desktop browsers: Adobe Reader and FoxIt PDF Reader. While they aren't as ubiquitous as they were in the 2000s (native PDF support took hold circa 2010), they offer many more features and capabilities than native PDF readers, and are very common in corporate environments.

PDF Open Parameters

Adobe introduced PDF Open Parameters as part of their Adobe Acrobat (now Adobe Reader) platform in the early 2000s. These parameters were designed to be included in the PDF's URL; when Acrobat opened the PDF in the web browser, Acrobat would examine the parameters and take the appropriate action(s).

Unfortunately, documentation for PDF Open Parameters support is hard to come by.

The original specification is hard to find online, as Adobe has frequently updated their site(s) and deleted old sub-sites/documentation. You can find two of the original SDK docs here on PDFObject.com: Acrobat 8.1 (2007) and Acrobat 7.0 (2005). You can also find some information at Adobe's Acrobat-PDFL SDK Documentation site.

PDFium's documentation on PDF Open Parameters is also hard to find. There doesn't appear to be a canonical page outlining parameter support. Although PDFium began as a fork of FoxIt, the two forks don't appear to share the same support for PDF Open Parameters. FoxIt PDF Reader's Help Center provides a list of FoxIt's supported parameters, which includes a few parameters that have not worked when we tested PDFium.

PDF.js has a brief outline of supported parameters on GitHub, last updated 2019.

There is no documentation for Safari's support of PDF Open Parameters, probably because Safari only supports one: page. [Insert sad trombone meme here.]

Browser Support for Parameters

PDFObject.com includes a page designed to demonstrate each of the PDF Open Parameters. Try it out for yourself!

The results of our testing (as of February 2024) are listed in the table below.

Reminder: This table only represents desktop browsers.

  • Supported Green checkmark indicates supported.
  • Unsupported Red cross indicates unsupported.
  • Untested Blue questionmark indicates untested.
PDFiumMS EdgePDF.jsSafari
pageSupportedSupportedSupportedSupported
nameddestSupportedSupportedSupportedUnsupported
zoomSupportedSupportedSupportedUnsupported
zoom, with coordinatesSupportedUnsupportedSupportedUnsupported
FitSupportedUnsupportedUnsupportedUnsupported
FitHSupportedSupportedUnsupportedUnsupported
FitH, with coordinatesSupportedUnsupportedUnsupportedUnsupported
FitVSupportedSupportedUnsupportedUnsupported
FitV, with coordinatesSupportedUnsupportedUnsupportedUnsupported
FitBSupportedUnsupportedUnsupportedUnsupported
FitBHSupportedUnsupportedUnsupportedUnsupported
FitBH, with coordinatesSupportedUnsupportedUnsupportedUnsupported
FitBVSupportedUnsupportedUnsupportedUnsupported
FitBV, with coordinatesSupportedUnsupportedUnsupportedUnsupported
toolbarSupportedSupportedUnsupportedUnsupported
navpanesSupportedUnsupportedUnsupportedUnsupported
pagemodeUnsupportedUnsupportedSupportedUnsupported
searchUnsupportedUnsupportedSupportedUnsupported
scrollbarUnsupportedUnsupportedUnsupportedUnsupported
statusbarUnsupportedUnsupportedUnsupportedUnsupported
comment*UnsupportedUnsupportedUnsupportedUnsupported
messages*UnsupportedUnsupportedUnsupportedUnsupported
highlight*UnsupportedUnsupportedUnsupportedUnsupported
viewrect*UnsupportedUnsupportedUnsupportedUnsupported
reverse**UnsupportedUnsupportedUnsupportedUnsupported
fdfUntestedUntestedUntestedUntested
collab*UntestedUntestedUntestedUntested

*Adobe-specific parameter.

**FoxIt-specific parameter.

PDFObject is released under the MIT License.