Skip to content

What is Zlv? The smart document calculator

Zlv is a document calculator: write math, units, money and dates as plain text lines and see each result live. Learn how the desktop and web apps differ.

Zlv is a calculator that works like a text document. You type one calculation per line, in plain language, and the answer appears beside it instantly. Change any number and every line that depends on it updates. There are no cells, no formulas to drag and no equals button.

Live example
Edit the lines and press Run. Evaluated in your browser.

Evaluating…

What you can write

  • Plain arithmetic with variables you name yourself, such as hotel = 2 * 89.
  • Percentages the way you say them: 20% of 150, $50 - 10%, 25 as % of 200.
  • Units and money: 5 km in miles, 100 USD in EUR.
  • Comments and headings with # or // so a sheet reads like a note.
  • Functions you define once and reuse, like f(x) = x^2 - 4.
  • Matrices, plots, dice and interactive sliders for the moments a plain number is not enough.

Desktop app and web app

Zlv comes in two forms. Both evaluate on your own device; your sheets are not sent to a server to be calculated.

Zlv DesktopWeb app at zlv.app
PlatformsWindows and LinuxAny modern browser, including macOS
EngineFull native Rust engineRust engine compiled to WebAssembly, plus a lighter TypeScript engine
FilesOpen and save .zlv, export .txt, .md, .jsonSheets kept in browser storage; export from the export dialog
Live exchange ratesYes, refreshed in the background with an offline cacheUses built-in rates
Tabs, split view, floating windowsYesTabs, without the desktop window features

You can try Zlv right now in the web app, or download the desktop app.

How a sheet is evaluated

Zlv reads your sheet from top to bottom. Each line can use any variable defined above it. Blank lines separate a sheet into blocks, which matters for totals such as sum (see Totals and aggregates). A line that cannot be understood shows an error next to it, and the rest of the sheet keeps working.

Where to go next

  1. Install Zlv on Windows or Linux.
  2. Follow Your first sheet, a five-minute tutorial.
  3. Browse Numbers, operators and variables to learn the basics of the syntax.
All guides