PearTree is a browser-based phylogenetic tree viewer for exploring and annotating evolutionary trees. It is the successor to FigTree, rewritten as a modern, zero-install web application.

PearTree runs entirely in the browser with no server required, and can also be installed as a native desktop app on macOS, Windows, and Linux. It is developed by the ARTIC Network and supported by the Wellcome Trust and the Bill & Melinda Gates Foundation.

Web App

PearTree can be used directly online — no installation needed. Open any NEXUS or Newick tree file directly from your browser by visiting:

https://peartree.live

Downloading

Pre-built installers for macOS (universal), Windows, and Linux are available from the GitHub releases page:

https://github.com/artic-network/peartree/releases/latest

Features

  • Zero-install web application — runs entirely in the browser.
  • Opens NEXUS and Newick format tree files.
  • Available as a native desktop app for macOS, Windows, and Linux.
  • Visualises annotation data stored in NEXUS metacomments (e.g. from TreeAnnotator).
  • Drag-and-drop file loading.
  • Can be embedded in reports and dashboards as a single self-contained JavaScript bundle.

Embedding PearTree

PearTree can be embedded in any HTML page using the self-contained JavaScript bundle included with each release, or loaded directly from GitHub Pages:

<script src="https://peartree.live/peartree.bundle.min.js"></script>
<script>
  PearTreeEmbed.embed({
    container: 'my-tree',
    treeUrl:   'data/my.tree',
    height:    '600px',
  });
</script>

See the embedded API reference for full documentation.

Tags: