TREB logo (a leaf)


The latest version is 7.5.2. Download zip file. What’s new?

Use of TREB is subject to license (CC-BY-ND).


The zip file contains a number of script files. You only need to link to the main library, embedded-treb-bundle.js.

The other files are loaded on demand on certain user actions, to provide additional functions for import/export and running MC simulations. You can disable these functions, in which case you don’t necessarily need the associated scripts.

Put all script files in the same directory.

Documents (Files)

TREB files are JSON files. By convention we use the extension .treb. If you use the .treb extension, make sure your webserver is configured to send the appropriate MIME type header application/json.

In the alternative, you can just use a .json extension for your documents.