Documents. On your site. Now.

Go ahead. Zoom, Scroll, Inspect!

ViewerJS must be the easiest way to use presentations, spreadsheets, PDF's and other documents on your website or blog without any external dependencies. No tricks, no conversions, no unexpected downtime from external services, and no plugins required – it happens to work just fine in all major browsers today from the comfort of your own webserver. Free of cost, free as in open source (so you can tweak it yourself) and very easy to use. Download and unpack on your webserver and add one small text snippet to your webpages. That is it: ViewerJS does the rest.

Do you need to show documents on your site, company blog, intranet or in a web app? And you want something robust that will still work in five years, can work offline, doesn't depend on any third party services or might be (perceived as) invasive to the privacy of your users? If you are considering using hosted online tools like Crocodoc, Docstock, Zoho, Google Apps, or Microsoft Office 365 (all trademarks, no doubt), check out ViewerJS – it probably fits your needs better. (If not, let us know, if it does, let us know too.) You can even give presentations directly from the browser, so it provides a great backup for uncomfortable swapping of USB sticks with slides when giving a talk.

Benefits for users?

Better for users! Better for you!

Is your website still
littered with unfriendly commands to your users like "In order to read this
document, you must install Acrobat Reader"? Start using ViewerJS today, so
that your visitors can read safely read documents online within your own
website.

Users hate switching between applications as they are browsing the web. Just
adding links with downloads all over your site is seen as unprofessional, lousy
UX and oldfashioned. Yet sometimes all you have are a bunch of documents you
need to show, and manually converting each of them to native content on your
site is just not practical. In addition, more and more users are becoming aware
that downloading documents from the web and then running them outside of the
browser is a major security risk - in fact one of the most common ways in which
people are infected with malware on their computers.

What is ViewerJS?

ViewerJS is a combination of a number of excellent open source tools that are built on HTML and JavaScript. ViewerJS was funded by NLnet foundation, consider a donation.

The heavy lifting in ViewerJS is done by these awesome projects:

PDF.js (by Mozilla)

PDF.js is a library created by Andreas Gal and others at Mozilla Labs. It is an HTML5 technology experiment that explores building a faithful and efficient Portable Document Format (PDF) renderer without native code assistance.
PDF.js is community-driven and supported by Mozilla Labs. Its goal is to create a general-purpose, web standards-based platform for parsing and rendering PDFs, and eventually release a PDF reader extension powered by PDF.js.
Visit project website

WebODF (by KO GmbH)

WebODF is a JavaScript library that shows office documents created by KO GmbH. It was started by Jos van den Oever at KO and is now developed by a growing team including external collaborators. It makes it easy to add Open Document Format (ODF) support to your website and to your mobile or desktop applications. It uses HTML and CSS to display ODF documents.
Visit project website

Download or fork now

Download now (see instructions), or fork the code at GitHub and send us a pull request.