A local-first outliner

Notes for a lifetime.

TreeWrite is the simplest and most beautiful outliner out there. Your notes live in plain files on your computer.

dinosaurs.jsonl
Loading the demo

Demo coming soon

A document published with TreeWrite opens here.

Features

Everything you need, nothing in the way

An outliner that opens fast, stays out of your way, and keeps your notes yours.

Bullets

Everything is a bullet

Text, titles, checkboxes, tables, code, math, images and more: many types of bullets, each a keystroke away.

  • Type / to turn a bullet into any other kind
  • Nest, collapse and zoom into any bullet
  • Type [[ to link to another bullet
Read the docs about Bullets

File

One plain file, yours

A document is a single JSON Lines file on your disk, in an open and documented format. Nothing goes to a cloud of ours, ever.

  • No account, and nothing to lock you in
  • Edits are append-only, increasing performance on large files
  • Fast with hundreds of thousands of bullets
Read the docs about File

Mind map

Your outline, as a mind map

Switch between any view and a mind map.

  • Press Ctrl+Shift+M, or the button beside the die
  • Expand, collapse and zoom into bullets right on the map
  • Drag, scroll and pinch around, however long the document
Read the docs about Mind map

Calendar

Tags, dates and a calendar

Give any bullet a date and a tag, and your outline becomes a planner.

  • Dates that last for days, or repeat every week
  • Tasks that move to their next time when checked
  • Search everything, and filter by tags and dates
Read the docs about Calendar

Filters

Every search, a click away

Give a name to a search by text, tags, dates and types, and its bullets are always one click away.

  • Checkboxes still pending, overdue or done, of any tag
  • Days that move with today, as the next 7 days or this month
  • See what a filter finds as you change it, before you save
Read the docs about Filters

Flashcards

Learn what you write

Make any bullet a flashcard, and your outline becomes a deck to study.

  • Press Ctrl+Shift+F: the bullet is the question, and what is under it the answer
  • Spaced repetition with FSRS, the algorithm of Anki
  • Anyone can practice the cards of a published site
Read the docs about Flashcards

Tabs

Side by side, in tabs

Keep more than one bullet open at once, side by side, and write in any of them.

  • Press Ctrl+T, or hold Ctrl and click a reference, to open a tab
  • Vertical tabs allow you to view multiple bullets at the same time
  • Each tab keeps its own history and view, on a published site too
Read the docs about Tabs

Sync

Sync with GitHub and GitLab

The same notes on your computers and your phone, through a repository of yours.

  • Syncs on its own, half a minute after your last change
  • Signs in to GitHub or GitLab, with no Git to install and no SSH keys
  • Conflicts are resolved bullet by bullet, and an edit always wins over a removal
Read the docs about Sync

Publish

Publish as a website

Turn a document into a static site that looks just like the editor.

  • One click, and a command of yours uploads it
  • GitHub Pages, Cloudflare, Netlify or a server of yours
  • The same theme, tags and calendar, only to be read
Read the docs about Publish

Themes

Make it yours

Dozens of themes, in light and dark, or the colors of your choice.

  • Your own hue and three accent colors
  • A theme for the code blocks, apart from the document
  • The published site takes the same theme
Read the docs about Themes

FAQ

Some questions that are commonly asked.

How are my notes stored?

Your notes are stored in a JSON Lines file on your computer, with a folder for its images and files, never on a server of ours. Each line in the file is a bullet, and each edit adds a new line. Each file is isolated and represents an infinite outliner. See File format.

Why not Markdown?

Bullets have types, fields and IDs that never change. Markdown would need fragile conventions to keep them. JSON Lines is plain text too, in a documented format, so it is just as open as Markdown would be. You can still export to Markdown.

Why not a database, as SQLite?

A database is a binary file: you need a program to look inside it, and a repository can only keep one version of it or the other. TreeWrite merges your file bullet by bullet when you sync it with GitHub or GitLab.

Why JSON Lines instead of JSON?

With JSON, each edit would overwrite the entire file. With JSON Lines, an edit appends only one line to the file, so edits are almost instantaneous on any file size, and a crash can only damage the line being written.

Do I lose my data if TreeWrite stops existing?

No. Your document is a plain text file on your disk, in a documented format. The editor needs no account and no server of ours, so it keeps working even if TreeWrite stops.

Does TreeWrite need the internet?

The editor does not, beyond looking for updates. Pro needs it to sync and publish, and checks your plan now and then, working offline for up to 14 days. Your documents stay on your computer, and go only where you send them, as your own repository on GitHub or GitLab.

Does TreeWrite have a mobile app?

No. TreeWrite is a desktop app that runs on macOS, Windows and Linux. A published document reads well on a phone.