Skip to content


Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?


Failed to load latest commit information.


ViewerJS combines a number of excellent open source tools that are built on HTML and javascript. ViewerJS was funded by NLnet foundation and developed by KO GmbH.

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


WebODF is a JavaScript library 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.


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.

Examples and more

You can find additional information, some usage guides, and live examples at the project homepage.


ViewerJS uses cmake. Just follow these steps:

git clone
mkdir build
cd build
cmake ../ViewerJS

You will find the following two products in the build directory if everything goes well:

  • viewerjs-{x.y.z}.zip
  • viewerjs-wordpress-{x.y.z}.zip

... where {x.y.z} denotes the version.


ViewerJS is a Free Software project. All code is available under the AGPL.

If you are interested in using ViewerJS in your commercial product (and do not want to disclose your sources / obey AGPL), contact for a commercial license.