To showcase the capabilities of the CheerpJ compiler we have published several demos


This demo highlights how complex Java applets with 3D rendering can efficiently and safely run in any browser using CheerpJ.

This specific applet is a visualization tool for protein structures, the source code is available here:

Swing examples:

A few selected Java Swing examples to demonstrate how complex Swing GUI apps can be automatically converted to HTML5/JavaScript.



A playground to compile and run Java programs directly in the browser. Both console and GUI applications are supported. The standard javac compiler is used, since javac is also written in Java the whole compiler runs in the browser, together with the compiled application. Source: [] (Inspect the page using the devtools)

iText Demo

Edit PDFs fully client side using the industry standard iText library converted to JavaScript. This demo demonstrates how CheerpJ APIs can be used to instance Java objects and call methods directly from JavaScript.