A small, fast, native office suite for Linux, macOS and Windows, written in Rust on GPUI (the UI framework behind Zed). Three apps in one binary: Sheets, Docs and Slides, for .xlsx, .docx and .pptx files. Builds: Linux on x86_64 and aarch64 (made with Omarchy in mind), macOS on Apple Silicon and Intel, and Windows 10/11 on x64 and Arm (new, see below).
![]() |
![]() |
![]() |
| Sheets | Docs | Slides |
Real screenshots of the current build on Linux, in the light or dark theme to match your GitHub setting. The sample files come from site/tools/make_samples.py.
Status: early, all three apps work, plus a PDF viewer. Sheets opens, edits and saves
.xlsx(formulas via IronCalc), imports.csv,.ods,.xls/.xlt(with their formatting) and.xlsb, and prints to PDF. Docs opens, edits and saves.docx, imports.rtf, Word 97-2003.docand OpenDocument.odt, and exports PDF. Slides opens, edits, presents and saves.pptx, imports PowerPoint 97-2003.ppt(and.pps/.pot) and OpenDocument.odp, and exports PDF..docx,.xlsx,.pptx,.odt,.odsand.odpfiles ask for their password and stay protected when saved. Checked against 424 public real-world files, not yet for layout; see Known gaps and plan.md.
Most people: download Kantor from https://kantor.paparanai.id and open it.
-
macOS (Apple Silicon and Intel, macOS 11 or later): open
Kantor.dmgand drag Kantor to Applications. The app is signed and notarised by Apple. -
Linux (x86_64 or aarch64): download the AppImage, make it executable and run it. No install step:
chmod +x Kantor-x86_64.AppImage ./Kantor-x86_64.AppImage budget.xlsx
Most file managers can also mark the file as executable (Properties → Permissions) and open it with a double-click. The AppImage needs glibc 2.34 or newer (Ubuntu 22.04, Debian 12, RHEL 9, Fedora 35, current Arch or later) and FUSE 3; without FUSE, run it with
--appimage-extract-and-run. It doesn't add a launcher to your app menu; the install script below does.
The same files are on every GitHub Release: Kantor.dmg, Kantor-x86_64.AppImage, Kantor-aarch64.AppImage, plus versioned copies and SHA256SUMS. Changes per release: CHANGELOG.md.
From a terminal (Linux or macOS, no compiling, no sudo):
curl -fsSL https://raw.githubusercontent.com/dzulfikar08/kantor/main/scripts/install.sh | sh
kantor budget.xlsxThis installs the rolling nightly build of main. Pin a tagged release with curl -fsSL …/install.sh | KANTOR_VERSION=v0.2.0 sh (macOS builds start with v0.2.0). On Linux it installs ~/.local/bin/kantor, a Kantor launcher (the suite's Home screen) and a Kantor Sheets launcher. On macOS it installs ~/Applications/Kantor.app and links ~/.local/bin/kantor to it (the nightly is Apple Silicon only and not notarised; tagged releases are universal and notarised). If ~/.local/bin is not on your PATH, the script prints the line to add for your shell. On macOS, the Ctrl shortcuts below are ⌘.
Uninstall: delete the AppImage, or drag Kantor from Applications to the Bin. To remove what the install script installed:
curl -fsSL https://raw.githubusercontent.com/dzulfikar08/kantor/main/scripts/install.sh | sh -s -- --uninstallSettings (~/.config/kantor) and the saved session (~/.local/state/kantor) are kept; delete them by hand if you want them gone.
Windows 10 and 11 (x64 or Arm), from the first release with Windows downloads on. Until
then, try the nightly builds Kantor-Setup-nightly-x64.exe / Kantor-nightly-x64.zip from the
nightly release.
- Installer: run
Kantor-Setup-x64.exe(orKantor-Setup-arm64.exe). It installs for you alone in%LOCALAPPDATA%\Programs\Kantor, with no administrator prompt, and adds a Start menu entry, an uninstall entry (Settings → Apps) and Open with → Kantor for.xlsx,.xlsm,.xls,.xlt,.xlsb,.ods,.csv,.tsv,.docx,.rtf,.doc,.dot,.odt,.ott,.pptx,.ppt,.pps,.pot,.odp,.otpand.pdf. Your default apps stay as they are. An optional task adds Kantor to yourPATH. - Portable: unzip
Kantor-x64.zipanywhere and runkantor.exe. - The builds aren't code-signed yet, so SmartScreen says Windows protected your PC the first time: choose More info → Run anyway (see docs/windows-signing.md).
- In a terminal,
kantorrunskantor.com, the console front that comes with both.kantor.exeis a windowed program and prints nothing to a console. Silent install for IT:Kantor-Setup-x64.exe /VERYSILENT /SUPPRESSMSGBOXES. - Settings are in
%APPDATA%\Kantor\settings.toml, the session and update state in%LOCALAPPDATA%\Kantor. Uninstalling keeps both.
Arch Linux: a PKGBUILD for a future kantor-bin AUR package lives in packaging/aur/; it is not published yet.
kantor opens the Home screen (Docs · Sheets · Slides); kantor file.xlsx (or .docx, .pptx, .pdf, several files at once) opens the files, and kantor --sheets, --docs or --slides starts a new document. Kantor is listed under Open With for the files it opens on macOS (Finder, and dropping files on its Dock icon), Linux (the install script's app menu entries) and Windows (the installer), without becoming the default app; files dragged onto a Kantor window open in tabs (a PNG or JPEG dropped on a document or presentation is inserted as a picture), and a file Kantor can't open gets Excel's message. Documents open in tabs that you can split side by side; Find & Replace (Ctrl F / Ctrl H) and undo work the same in all three apps.
-
Formatted workbooks look as they do in Excel: cell fills (theme and indexed colours), text colour, font size and family, bold/italic/underline, horizontal and vertical alignment, wrapped text, borders (thin to thick, double, dotted, dashed), merged cells and gridlines off per sheet. The toolbar and palette set fill and text colour, font size, borders, wrap, merge & center and alignment, each as one undo step.
-
Number formats as Excel shows them (
crates/kantor_numfmt): thousands separators, decimals, percentages, currency, dates and times, fractions, elapsed time ([h]:mm:ss), conditions, colours ([Red]), text sections and accounting fill. Locale tags work:[$Rp-421]#,##0showsRp1.500.000with Indonesian separators, and[$-421]d mmmm yyyyshows17 Agustus 2025. -
Conditional formatting as Excel shows it (display; rules are edited in Excel for now): highlight rules (greater than, between, equal to, text that contains / begins / ends with, dates in a period, duplicates, blanks, errors), formula rules, top/bottom N and %, above/below average, 2- and 3-colour scales, data bars (with a negative axis) and icon sets (arrows, traffic lights, flags, symbols, stars, quarters, ratings), with priority and Stop If True. Rules follow edits and recalculation, are worked out only for the cells on screen, and are saved unchanged.
-
Formulas through IronCalc. While you type one, clicking or arrowing to cells inserts their references, which are coloured in the editor and outlined in the same colour on the grid;
F4cycles$anchors, and typing a function name lists matching functions.
-
Grid work: select rows, columns or everything,
Ctrl+arrows to the edge of the data, fill handle andCtrl D/Ctrl R(series continue), autofit columns, insert/delete rows and columns, freeze panes, copy and paste ranges as tab-separated text. The status bar shows Sum, Average and Count of the selection. -
Big workbooks: files open in the background with a Cancel button and show the values Excel saved instead of recalculating on open. A 180,000-row, 32 MB
.xlsxuses about 323 MB with the app open (377 MB after a full recalculation), and closing it gives the memory back. A real workbook with 767,000 formulas recalculates in about 3 seconds (patched IronCalc with cached lookups). Workbooks with more than 50,000 formulas switch to manual calculation:F9recalculates everything (Shift F9the sheet), and the palette switches between automatic and manual. -
Tables, sort and filter: Excel tables in their table style, structured references (
Sales[@Units]), sort by one or more columns and AutoFilter by values or conditions, saved as Excel saves them. -
Charts and pictures on a sheet are drawn over the grid and follow their cells' values live; click to select, drag to move or resize,
Deleteremoves (undoable, saved). -
Chart panel: change a chart's type, title, legend, axis titles, series colours, data labels (value, category, series name, percentage; position and number format, for all series or one), axis options (bounds, major unit, logarithmic scale, reverse order, number format, display units) and data range, for charts made in Kantor and charts that came with the file (changed in place: the rest of the chart part is saved as it was).
-
Export as PDF… and Print… (toolbar printer menu and the palette;
kantor convert book.xlsx book.pdfwithout a window) print the way Excel does: each sheet's paper (A4, Letter, Legal, F4/Folio and the other Excel sizes), orientation, scale or fit to N pages wide/tall, margins, centring, print area, print titles repeated on every page, manual page breaks, page order, gridlines and row/column headings, headers and footers (&P,&N,&D,&T,&F,&A, fonts and colours). Cells keep their number formats, fonts, fills, all 13 border styles, alignment (indent, rotation, shrink to fit, centre across selection, wrap), merged cells, text running into empty neighbours,####for numbers too wide, conditional formatting (data bars and icons too) and table styles; hidden rows, columns and sheets are left out. Fonts are embedded and the text can be searched and copied. Print… opens the PDF in your PDF viewer to print. The 90,000-order sample (6,183 pages) exports in about 10–17 s after opening, under 220 MB. -
Notes (comments): a red triangle marks a cell with a note, and the note shows in its box, with a line to the cell as in Excel, when the pointer is over it. A shown note's box can be moved and resized by dragging it or its handles (saved to the file), and its text keeps its formatting (bold, italic, underline, font, size, colour), which the note editor's toolbar changes. New Note / Edit Note (
Shift F2, a cell's right-click menu or the toolbar's Notes menu) writes one, starting with your name as Excel does; Delete Note, Show/Hide Note, Show All Notes and Previous/Next Note are in the same menus. Each change is one undo step, notes move with inserted and deleted rows and columns, and they are saved for Excel (notes you didn't change keep their formatting and box size). -
Saving keeps what Kantor doesn't edit: chart sheets, charts, pictures, sparklines, data validation and comments are carried over, and their references follow inserted or deleted rows and columns.
-
Imports
.csv/.tsv,.ods,.xlsand.xlsb(saving those goes to a new.xlsx). Excel 97-2003 workbooks and templates (.xls,.xlt) open as they look in Excel: fonts, fills, borders, number formats, alignment, merged cells, column widths, row heights, frozen panes, hidden rows, columns and sheets, tab colours, hyperlinks, names, page setup, notes (comments), data validation, conditional formatting (cell value and formula rules, and Excel 2007's colour scales, data bars, icon sets, top/bottom, text, date, blank, error, duplicate and above/below average rules), pictures (PNG, JPEG) and charts (column, bar, line, area, pie, doughnut and scatter, with their titles, legend and series, plus chart sheets); the notes, rules, validation, pictures and charts are saved into the new.xlsx. OpenDocument spreadsheets (.ods) keep their formatting too: fonts, fills, borders, number formats, alignment, merged cells, column widths, row heights, hidden rows, columns and sheets, tab colours and frozen panes, plus notes (comments), data validation and conditional formatting (cell value, formula, text, top/bottom, average, duplicate and date rules, colour scales, data bars, icon sets), defined names, page setup (paper, orientation, margins, scaling, header and footer, print area and titles), pictures (PNG, JPEG), charts (column, bar, line, area, pie, doughnut and scatter, with their titles, legend, axis titles and series) and shapes, lines and text boxes, which are saved into the new.xlsx.
.docx editing: paragraph and character styles, headings, fonts, colour, alignment, spacing and indents, bulleted and numbered lists (9 levels, with Word's Enter/Tab/Backspace behaviour), tables with merged cells and borders, inline pictures (cut to their shape, an oval or a star, turned, with their border), page breaks, hyperlinks, tab stops (left, centre, right and decimal, and the default stops), page setup (A4, Letter, Legal, A5, F4; margins in cm) with a ruler, and a word count. Headers and footers show on every page as Word lays them out (letterhead logos included, different first page, different odd and even pages, a tall header pushes the text down) and are edited on the page as in Word (a double-click in the top or bottom margin, the toolbar's header button or Ctrl K → Header and Footer…): the same editor as the body (formatting, tabs, pictures, tables, fields), the body dimmed, and a Header & Footer bar for Different First Page, Different Odd & Even Pages, Link to Previous, the distances from the page edge and the page number fields; page numbers ({PAGE} and {PAGES}, or Add Page Numbers for "Page 1 of 9" in the footer) show the right number on each page and in the PDF. Sections (Insert Section Break) each have their own paper size, orientation and margins: Page setup changes the section holding the caret. Columns are laid out as Word lays them out: text runs down one column and on into the next, columns of unequal width, a line between them, column breaks (Ctrl Shift Enter), a continuous section break mid-page that balances the columns above it, and footnotes under their column, as wide as it. The ruler shows the spaces between the columns (drag their edges to change widths and spacing) and the caret column's indents and tab stops. The toolbar's Columns button sets One, Two, Three, Left or Right, and More Columns… sets the number of columns, each one's width and spacing, Line between and where they apply (whole document, this section, this point forward or the selected text, adding continuous section breaks as Word does). Review: comments show as cards beside the pages (the commented text highlighted); add one with Ctrl Alt M or the toolbar's Review menu, edit or delete it on its card. Tracked changes from Word show in the author's colour (insertions underlined, deletions struck through, on screen and in the PDF); accept or reject the change at the caret, or all of them, from the Review menu or the palette. Both are saved back as they were (untouched comments byte for byte). Turn on Track Changes (Ctrl Shift E, or the Review menu) and your edits are recorded under your name as Word records them: typing and deletions (deleted text stays, struck through, until the change is accepted), formatting changes (shown as balloons beside the page, "Formatted: Font: Bold"), Replace All, inserted and deleted table rows, deleted floating objects, text box edits, field updates (F9, Update Table) and edits in headers, footers and notes; lines with changes get a change bar in the margin, each change is accepted or rejected on its own or all at once (headers, footers and notes included), and the setting is saved in the file as Word's. Footnotes and endnotes show as Word lays them out (numbers in the text, footnotes at the bottom of their page, endnotes after the text, numbering restarting per section or page as the file says); Insert Footnote (Ctrl Alt F) and Insert Endnote (Ctrl Alt D) add one and put the caret in it; click into a note to edit it with the normal editor (formatting, pictures, tables), and double-click a note's number to jump between it and its reference. Text boxes (and the text in a group's shapes) are edited in place as in Word: double-click one, or click the text of a selected one, and type there with the normal editor (fonts, colours, bold and italic, alignment, lists, styles, undo, Track Changes); click outside it or press Esc to go back, and the edit is one undo step. Table rows taller than what's left of a page break across pages at a line (unless the row is set not to), and header rows repeat at the top of each page. Export as PDF… and Print… (Ctrl P, the toolbar's printer menu) write a PDF with the same layout as the screen (fonts embedded, text selectable); Print opens it in your PDF viewer. Fields show their results on the page and in the PDF (a table of contents, cross-references, captions, dates); F9 (Update Field) updates the fields in the selection or at the caret as Word does (PAGEREF and REF from their bookmarks with Kantor's own page numbers, SEQ numbers, DATE/TIME with their \@ picture, document properties, \* number and case formats; a mail merge field shows «Name» until a recipient is previewed), Alt F9 shows the field codes (Shift F9 the one at the caret; double-click a code to edit it, Ctrl F9 starts a new field), Insert Field…, Insert Bookmark… and Insert Cross-reference… (palette) work as Word's, and Update Table rebuilds a table of contents from the headings (its \o, \u, \t, \h, \n and \p switches, the TOC 1–9 styles); each update is one undo step. Mail merge works as Word's Mailings tab (the toolbar's envelope button, or Ctrl K → Mailings): Select Recipients takes a workbook or CSV file (.xlsx, .xls, .xlsb, .ods, .csv, read by Kantor's Sheets engine), Edit Recipient List picks the sheet and header row, filters and sorts the rows and ticks who gets one, Insert Merge Field adds a field, Highlight Merge Fields shades them, Preview Results shows each recipient's values with the record arrows, and Finish & Merge makes one new document with a section per recipient (Edit Individual Documents), one .docx or .pdf per recipient named from a field ({Name} - Offer), or prints them all. MERGEFIELD with its \b, \f, \*, \# and \@ switches, IF comparing merge fields, NEXT, NEXTIF, SKIPIF, MERGEREC and MERGESEQ work as in Word (headers, footers and text boxes too), and a paragraph whose fields all come out empty is left out. The data source, its filter and sort are saved in the document as Word saves them (the path relative to the document), so Word finds them too. kantor docs merge, kantor slides merge ({{Field}} in a presentation, for certificates) and kantor sheets merge ({{Field}} in a workbook's cells) do the same without a window, and so does the MCP server's mail_merge tool. Ctrl+click follows a hyperlink: a link to a bookmark jumps there, web and e-mail addresses open in your browser and other addresses ask first. Floating images, shapes and other parts Kantor can't show yet are kept as placeholders and saved unchanged. .rtf files (from WordPad, TextEdit, Word or LibreOffice) open as an unsaved copy: text in any code page, formatting, styles and headings, lists, tables with merged cells, sections, headers and footers, PNG/JPEG pictures and hyperlinks come in; Save asks where to write a .docx and never overwrites the .rtf. Footnotes, comments, text boxes and WMF/EMF pictures are left out, and the status bar says so. OpenDocument text (.odt, .ott templates and flat .fodt, from LibreOffice, OpenOffice or Google Docs) opens the same way, as an unsaved copy that saves as .docx: named styles (LibreOffice's built-in ones become Word's: Heading 1–10, Body Text, Header…), character and paragraph formatting, tab stops, outline-numbered headings, bulleted and numbered lists (nested, continued and restarted), tables (merged cells, header rows, borders, shading, nested tables), page styles as sections (paper, orientation, margins, columns, first-page and left-page headers and footers), inline and floating pictures (PNG, JPEG, GIF, BMP, WMF, EMF; charts and embedded objects as their preview picture), text frames as text boxes, footnotes and endnotes, comments, bookmarks, hyperlinks, page number and document fields and tracked insertions and deletions come in. Drawing shapes, SVG and TIFF pictures, form controls and tracked formatting changes are left out, and the status bar says so. Spell check works offline in English (en_US) and Indonesian (id_ID): misspelled words get a red wavy underline, and right-clicking one offers up to five suggestions, Ignore All and Add to Dictionary (the personal dictionary is dictionary.txt in Kantor's config folder). Text marked with a language in the file uses that language; other text uses [spelling] language in settings (default: Indonesian on Indonesian systems, else English). Switch it off with Check Spelling as You Type in the Review menu or the palette. Slides checks the text box being edited the same way. Sheets checks spelling as Excel does, with no underlines in the grid: Spelling (F7, the toolbar's spelling button or the palette) walks through the misspelled words of the text cells from the active cell (or in the selection), with Ignore Once, Ignore All, Add to Dictionary, Change, Change All and a dictionary language picker; each change is one undo step.
.pptx editing: text boxes and placeholders (with the master's bullets, numbering and spacing), shapes and pictures you can move, resize, rotate and flip, fill (theme colours or one of PowerPoint's 48 patterns) and outline, a thumbnail strip to reorder slides, speaker notes, copy and paste of shapes, and a slide show (F5, Shift F5 from the current slide): a fullscreen window with only the slides, on a second display if there is one, and a presenter view on yours with the current and next slide, speaker notes (larger or smaller text), a timer you can pause and reset, the clock and every slide to jump to (Alt F5 starts in the presenter view on one display). PowerPoint's keys work (B/W black or white screen, a slide number and Enter to go there, G all slides, hidden slides skipped), and the laser pointer (Ctrl L, or hold Ctrl and drag), pen (Ctrl P), highlighter (Ctrl I) and eraser (Ctrl E) draw on the slide in both windows (E erases this slide's ink; ink is not kept after the show). Slide transitions (fade, push, wipe, split, cover, uncover, box, through black; PowerPoint's other transitions fade) and per-click builds play as in PowerPoint: entrances and exits (appear, fade, fly in or out, wipe, split, zoom, float) by shape or by paragraph, with With Previous and After Previous effects, delays and "advance after" timings; a click during an animation ends it, going back shows the previous step at once, and the presenter view shows the current slide as built so far and the next click's result. Slides are drawn as in PowerPoint: all 187 preset shapes (arrows, chevrons, callouts, flowchart symbols…) and freeform shapes, gradient, pattern and picture fills, transparency, dashed lines and arrowheads, groups, tables with PowerPoint's table styles, SmartArt, and charts (column, bar, line, area, pie, doughnut, pie of pie, bar of pie, scatter, bubble, radar, stock, surface, waterfall, funnel, treemap, sunburst, histogram, Pareto, box & whisker, filled region maps and combinations, also on a secondary axis) from the values saved in the file. Export as PDF… writes one page per slide, hidden slides left out. Print… (Ctrl P, the toolbar's printer menu) prints slides, notes pages or handouts (1, 2, 3, 4, 6 or 9 slides per page) through your PDF viewer. Tables, charts and SmartArt move, resize, copy, paste and delete like shapes (a resized table scales its columns and rows; charts and SmartArt group with other shapes). Table cells are typed into on the slide (click a cell; Tab and Shift+Tab move between cells, Tab in the last cell adds a row; drag a column border to resize it or a row border to set its height; bullets and numbering work in cells), with merged cells kept right when rows and columns are added or removed. Tables and chart data can also be edited in a panel: the toolbar's edit button (or double-click a chart) opens it with the cells: type into any cell, add or remove rows and columns next to the cell you're on, fill a cell with a theme colour; for charts, edit category labels, series names and values and insert series and categories anywhere, delete any of them and change the series' plot order (an embedded table covering the chart's cells grows or shrinks with them). Charts are redrawn at once, and the chart's embedded workbook gets the same values (so PowerPoint's Edit Data agrees). Everything else in the table, the chart part and the workbook is saved byte for byte. Groups work as in PowerPoint: click a group, click again for a shape inside it (Esc goes back); move, resize, turn, recolour, retype or delete either; Group (Ctrl G), Ungroup (Ctrl Shift G) and Regroup from the right-click menu, with Shift or Ctrl click to select several shapes. SmartArt text can be edited in place (also in SmartArt inside a group), its shapes moved, resized and turned one by one (saved as PowerPoint's custom position and size, so PowerPoint keeps them there), and their fill and outline changed; saving updates PowerPoint's drawing and the SmartArt's data, and Convert to Shapes turns SmartArt into a group of ordinary shapes. In lists, bullet lists, processes, cycles, hierarchies (Organization Chart, Hierarchy, Horizontal Hierarchy, Labeled Hierarchy) and picture layouts, Add Shape After / Before (and Above / Below in hierarchies) and Delete add and remove items; an Organization Chart places assistants beside the line down from their manager and hangs each manager's people as its Layout says (Standard, Both, Left Hanging, Right Hanging from the right-click menu, PowerPoint's own start-up layout otherwise), with Add Assistant; and a resized SmartArt is laid out again, its text shrinking to fit its shapes (and growing back) as PowerPoint's autofit does.
PowerPoint 97-2003 files (.ppt, .pps, .pot) open as an import, the way Sheets opens .xls: the file opens unsaved and Save writes a new .pptx next to it (the .ppt is never changed). Kantor reads the slides, masters (backgrounds, placeholders, text styles, colour scheme), text with its formatting, bullets and fonts, shapes with their fill, outline, rotation and flips, freeforms, groups, pictures (JPEG, PNG, BMP), tables, speaker notes and hidden slides. Transitions, animations, sounds and macros are left out; OLE objects show their preview picture; EMF/WMF pictures are drawn (and kept for PowerPoint). Password-protected .ppt files and PowerPoint 95 or older files can't be opened.
OpenDocument presentations (.odp, .otp, from LibreOffice Impress, OpenOffice or Google Slides) open the same way and save as a new .pptx: the slide size, each master page as a slide master (background, objects, title and outline text styles, theme colours and fonts, with Title Slide, Title and Content, Title Only and Blank layouts), slides with their names, backgrounds and hidden state, title, subtitle and outline placeholders, text with its formatting, bullets and numbering, the master's footer, date and slide number, shapes (rectangles, ellipses, arcs, lines and connectors, polygons, paths and LibreOffice's custom shapes, as their PowerPoint preset or their own geometry) with rotation, flips, solid, gradient, picture and hatch fills, outlines, arrowheads and shadows, pictures (PNG, JPEG, GIF, EMF, WMF and SVG), tables, groups and speaker notes. Slide transitions are kept (as PowerPoint's closest transition). Charts and embedded objects without a picture, videos and sounds (their preview picture shows) and animations are left out, and the status bar says so; picture cropping and links to other slides aren't read yet. Password-protected files can't be opened.
.pdf files open in Kantor's own viewer (File ▸ Open, the start screen, recent files, kantor file.pdf, or Open with Kantor): the pages in one continuous column, zoom (Ctrl + mouse wheel, Ctrl = / Ctrl -, Fit Width Ctrl 2, Fit Page Ctrl 0, Actual Size Ctrl 1, and 10–800 % in the zoom menu), a page number box with the page count, a sidebar (F4) with page thumbnails or the document's bookmarks, Find (Ctrl F, F3; every hit highlighted, the whole document searched in the background), text selection with the mouse (double-click a word, triple-click a line, Ctrl A) and copy (Ctrl C), links (a link inside the document jumps there; a web address asks before it opens), Rotate View (Ctrl ] / Ctrl [; the file isn't changed), and Print (Ctrl P, through your PDF viewer). A password-protected PDF asks for its password; a damaged one says so. Pages are drawn by hayro (pure Rust, fonts of every kind, JPEG 2000 and JBIG2 images, transparency) on a background thread, and kept in a cache of fixed size, so a long document uses no more memory than a few screens of it (see docs/decisions/0003-pdf-renderer.md). Pages can be organized in the window, as in Acrobat's Organize Pages: in the thumbnails or the full-pane Organize Pages grid (Ctrl Shift O) select pages (click, Shift/Ctrl click, Ctrl A), drag them to a new place or onto another open PDF, delete them (Delete), rotate them (Ctrl Shift [ / ], saved in the file), duplicate, copy and paste them between open PDFs, extract them to a new PDF, or insert pages from other PDFs, pictures (PNG, JPEG) or blank pages (right-click, or drop files onto the thumbnails). The Tools menu adds Combine Files…, Split Document… (every N pages, at top-level bookmarks or by page ranges), Add Page Numbers…, Watermark… and Reduce File Size…. Every change can be undone (Ctrl Z / Ctrl Y); only pages that changed are drawn again. Save (Ctrl S) writes the file in place safely (a temporary file, then renamed over it) and keeps what the changes don't touch: annotations, form fields, bookmarks and links to pages that remain (those to deleted pages are dropped), metadata; a password-protected PDF stays protected with the same password. Unsaved changes get recovery copies like the other apps. Annotations are next.
Digital signatures. A signed PDF is checked when it opens, like Acrobat's signature panel: a bar above the pages says whether all signatures are valid, and the Signatures panel (sidebar, or the command palette) shows each signature's signer and organisation, time (from a trusted RFC 3161 time stamp, or the signer's own clock), reason and location, type (PKCS #7, CAdES/PAdES, document time stamp), certification level (DocMDP) and what changed after signing, sorted as Acrobat does: long-term validation data, signatures, form filling, annotations ("Stamp added on page 1") or page content. A signature is Valid, Valid, with allowed changes, Validity unknown (the root isn't trusted, or revocation couldn't be checked) or Invalid (the signed bytes changed, the signature doesn't match the certificate, a certificate was revoked, or the document changed in ways the signer didn't allow). Certificate… shows the chain (validity, key usage, fingerprints, revocation) and View Signed Version opens exactly the bytes that were signed, read-only. Kantor trusts the operating system's roots plus a few national roots bundled with it: Root CA Indonesia DS G1 (Kominfo/Komdigi; Indonesian e-meterai and certified e-signatures chain to it) and BSrE's older OSD LU Kelas 2 (BSSN; used for government documents such as the Ministry of Finance's regulations until it expired in August 2026). Revocation comes from what the file carries (the DSS, OCSP responses, CRLs); Check Online asks the certificate authorities only when you click it (see PRIVACY.md). The checks are pure Rust (lopdf, ring) and need no OpenSSL. KANTOR_PDF_TRUST=roots.pem adds roots (for test PKIs).
Signing with your certificate. Sign with Certificate… (Fill & Sign's Sign menu, or the command palette) makes a digital signature as Acrobat's Use a certificate does: PAdES (ETSI.CAdES.detached, with the signing-certificate attribute), visible in a box you draw or in an empty signature field (your name, date, reason and location, and optionally a signature picture from My Signatures & Stamps), or invisible. Your certificate can be a .p12/.pfx file, a USB token or smart card through its PKCS #11 module (OpenSC, SafeNet and other common modules are found by themselves; Add Token Module… adds another), or on macOS and Windows the keychain or the certificate store. The password or PIN is asked for in the dialog, used once and never saved. You can certify the document (no changes, form filling, or also comments allowed), add an RFC 3161 time stamp from a server you name (PAdES B-T) and long-term validation data (certificates, OCSP and CRLs in the document, B-LT); these go online only when you tick them and Let Signature Checks Use the Internet is on. The signed document is saved as a new file, added to the original as an incremental update, so earlier signatures stay valid. A password-protected PDF is signed with the password it was opened with and stays protected: the signature (and the validation data and document time stamp) is encrypted with the file's own security handler, RC4 or AES-128/256, as Acrobat does; with only the open password, the owner must allow commenting or filling in fields, else open it with the owner password. RSA (PKCS #1 v1.5 or PSS) and ECDSA P-256/P-384 keys work; the cryptography is ring's, with no OpenSSL. On the command line, kantor pdf sign does the same for one file or many (see docs/pdf-signing.md).
Batch. Tools ▸ Batch… runs the same steps on many PDFs, like Acrobat's Action Wizard: add files or a folder (or drop them on the dialog), then steps in order: place a stamp picture (one of My Stamps or a PNG/JPEG; on all, the first, the last or chosen pages; at a corner, an edge's middle or the centre, or the same spot as a stamp selected in the open document), place a Fill & Sign signature picture, fill in form fields from a table (CSV, Excel or JSON, one row per file matched by its name, or the same values for every file), add page numbers or a watermark, flatten annotations, and last sign every file with your certificate (Sign with Certificate, with the same choices as the dialog; the password or PIN is asked for once when the batch starts and never saved). Results go next to the originals with a suffix, or into a folder; originals are never replaced, and existing results are replaced only when you say so. The files are processed in the background with progress and Cancel, and each gets a result: done, skipped and why, or failed and why. Digitally signed files keep their signatures valid (the changes are added as an incremental update); page numbers, watermarks and flattening are skipped on them, as are steps a certification doesn't allow. Password-protected files stay protected and are signed too: give one password for all of them in the dialog (or --password), or a Password column in the fill step's table (or --passwords TABLE) for each file's own; it is used for that run only and never saved. With only the open password, steps the owner's restrictions don't allow are skipped. Save Batch… writes the steps to a JSON file that Open Batch… and kantor pdf batch steps.json FILES -o DIR read; kantor pdf stamp and kantor pdf fill do one step from the command line.
e-Meterai and certified signatures with your provider account. Indonesian e-meterai (Peruri's Rp 10.000 duty stamp) and certified electronic signatures (from a PSrE licensed by Komdigi) come from licensed providers, so Kantor connects to the account you have with one. Set it up in e-Sign Providers… (Fill & Sign's Sign menu, or the command palette): the provider's API credentials go to the system keychain, and nothing is sent until you tick Allow Kantor to send documents to … for that provider; a sandbox switch and a server address are there for test accounts. Add e-Meterai… lets you choose the document type and click (or drag a square of 1.6–3 cm) where the meterai goes; the document goes to the provider, which stamps it, and Kantor saves the stamped copy as a new file (VIDA's e-Meterai API and Mekari Sign). Sign with Provider… makes a certified signature from your account (Xignature): Kantor builds the PAdES signature itself and sends the provider only the document's hash, so the document never leaves your computer. Every result is checked before it is saved: it must be a PDF, and signatures already in the document must still verify, or nothing is saved (unless you agreed after a warning). Both are Batch steps too (Add e-Meterai on the first or last page of every file, Sign with Provider invisibly as the last step). Password-protected PDFs are signed with their password and stay protected; an e-meterai provider needs the whole document, so they get an e-meterai only on a copy without the password (Stamp an unprotected copy, with the owner password). Other providers (Peruri, Pajakku, Mitracomm, Finnet, Privy, Tilaka, Peruri Sign, Digisign) are listed with the reason Kantor can't use them yet: their API documentation isn't public. Which providers publish what is recorded in docs/decisions/0004-esign-providers.md; how to set one up is in docs/esign-providers.md.
Language: Kantor speaks English and Indonesian: menus, toolbars, dialogs and the widgets' own text (input menus, date picker), the command palette, the status bar, settings and messages in Sheets, Docs, Slides and the start screen. Text Kantor writes into new content follows the same language, as Office does (a new PivotTable's Label Baris and Total Keseluruhan); text already in a file is never changed. The terms are listed in docs/i18n-glossary.md. It follows the system language; language = "id" or "en" in settings.toml, or KANTOR_LANG=id, overrides it. Numbers in Sheets follow the same choice, as Excel follows the system's regional format: in Indonesian #,##0.00 shows 1.234,50 and you type 1.234,5 (or 1234,5); number_format = "en" or "id" in settings.toml sets the number format on its own. Files keep Excel's invariant formats, so they open the same everywhere; CSV exports and agent results use en-US numbers. The command palette finds commands by either language's name (save and simpan both find Simpan). Text Kantor returns to AI agents over MCP stays in English. Translations live in crates/kantor_ui/i18n/*.tsv (English, a tab, Indonesian); a test fails when a string in the code has no Indonesian or a line is no longer used.
On macOS, use ⌘ where this table says Ctrl (Ctrl Tab stays).
| Action | Keys |
|---|---|
| Move | arrows, Tab/Shift+Tab, Home/End, PgUp/PgDn |
| Edit a cell | just type (replaces), or Enter/F2/double-click (keeps content) |
| Commit / cancel | Enter (moves down) / Esc; clicking another cell also commits |
| Clear a cell | Delete |
| Anchor a reference / recalculate | F4 while editing a formula / F9 |
| Undo / redo | Ctrl Z / Ctrl Shift Z |
| Find / replace | Ctrl F / Ctrl H |
| Open / Save / Save as | Ctrl O / Ctrl S / Ctrl Shift S |
Ctrl P (a PDF opens in your PDF viewer) |
|
| Command palette | Ctrl K (or Ctrl Shift P) |
| New spreadsheet / document / presentation | Ctrl N / Ctrl Shift N / Ctrl Alt N |
| Slide show | F5 (Shift F5 from the current slide, Alt F5 in the presenter view) |
| Close pane / close tab | Ctrl W / Ctrl Shift W |
| Split right / down | Ctrl \ / Ctrl Alt \ (drag the divider to resize) |
| Sidebar / inspector | Ctrl Shift E / Ctrl Shift I (drag the edge to resize) |
| Theme / UI font | Ctrl K → Theme: Light, Theme: Dark, Theme: Follow System, or Choose Theme… / Choose UI Font… |
| Next / previous tab | Ctrl Tab / Ctrl Shift Tab |
| Quit | Ctrl Q |
Edits happen in the cell itself (synced live with the formula bar). With an input method such as fcitx5, press Enter first, then compose.
By default the UI follows your system's light or dark setting (Windows, macOS, and Linux desktops that report a colour scheme through the XDG desktop portal; dark when nothing is reported), switching live when the system does. With Omarchy installed it follows your Omarchy theme instead (live-reloading on omarchy theme set). Ctrl K → Theme: Light or Theme: Dark picks Kantor's own light or dark theme, Theme: Follow System goes back; Choose Theme… lists those, Follow Omarchy when Omarchy is installed, your Omarchy themes and 900+ Ghostty themes, with a live preview. On macOS the title bar takes the theme's light or dark look. The UI font is SF Pro when installed (never bundled), else Inter / Adwaita Sans. Open tabs, splits and panel sizes are restored on the next launch. Settings: ~/.config/kantor/settings.toml; session: ~/.local/state/kantor/workspace.json.
kantor convert report.docx report.pdf # also .ods/.xls → .xlsx, a sheet → .csv
kantor convert letter.rtf letter.docx # .rtf, .doc, .odt → .docx or .pdf
kantor convert deck.pptx deck.pdf # one page per slide, hidden slides left out
kantor convert old.ppt old.pptx # .ppt, .odp to .pptx (to .pdf works too)
kantor convert --handouts 6 deck.pptx h.pdf # 1, 2, 3, 4, 6 or 9 slides per A4 page; --notes
kantor convert book.xlsx book.pdf # every visible sheet, as Excel prints them
kantor convert --sheet Sales --fit-width --landscape --paper f4 book.xlsx sales.pdf
# also --fit-page, --scale N, --portrait,
# --no-print-area (the sheet's page setup otherwise)
kantor convert -o out/ --to pdf a.docx b.docx
kantor convert deck.pptx -o shots/ --to png # shots/deck-01.png … as the PDF draws them;
# --slide 2-4, --width 1600, --contact-sheet
kantor pdf merge a.pdf b.pdf -o both.pdf # also split, extract, delete, reorder, rotate,
# info, images, watermark, page-numbers, compress
kantor pdf verify signed.pdf # signature report; exit 0 if all valid,
# --online, --trust roots.pem
kantor pdf sign a.pdf b.pdf -o signed/ --p12 me.p12 --password-file pw.txt \
--page 1 --rect 380,60,180,60 --reason Approved --tsa https://tsa.example/ --lt
# PAdES signatures; --pkcs11 MODULE, --system,
# --certify 2, --field NAME, --image sig.png
kantor pdf providers set vida --credentials-file vida.json --allow-network
kantor pdf emeterai kontrak.pdf --provider vida --doc-type VD010 --page last
kantor pdf sign kontrak-emeterai.pdf --provider xignature --signer MY-XIGNATURE-ID
# e-meterai / certified signatures with your
# provider account (docs/esign-providers.md)
kantor slides build deck.json -o deck.pptx # a .pptx from JSON: theme, shapes, pictures,
# tables, backgrounds, notes (docs/slides-json.md)
kantor slides list deck.pptx # slides and shapes (ids, geometry, text) as JSON
kantor slides check deck.pptx # overflowing or wrapping text, shapes off the
# slide, collisions, low contrast, missing fonts…
# --json, --slide N; exit 1 on errors
kantor slides build deck.json -o deck.pptx --check # build, then check
kantor slides edit deck.pptx add_shape '{"slide": 1, "type": "shape", "x": "1in", "y": "1in", "w": "3in", "h": "1in", "text": "Hi"}'Neither opens a window. On Windows these run through kantor.com (what a bare kantor finds
in cmd and PowerShell); kantor.exe itself is a windowed program with no console.
kantor mcp is an MCP server: Claude Code, Claude Desktop,
Cursor and other agents can read and edit the documents open in the running Kantor while you
watch. Every change is one undo step (Ctrl Z takes it back), the changed cells, paragraphs or
slide are selected, and the status bar says what the agent did. Nothing is saved until the agent
(or you) saves.
claude mcp add kantor -- kantor mcp # Claude Code (palette: "Copy MCP Setup for Claude Code")
kantor mcp --print-config # JSON for Claude Desktop, Cursor and others{ "mcpServers": { "kantor": { "command": "/home/you/.local/bin/kantor", "args": ["mcp"] } } }If Kantor isn't running, the first tool call starts it (kantor mcp --no-launch returns an error
instead). Tools: list_documents, open_document, new_document, save_document,
activate_document, get_selection; Sheets sheets_read_range, sheets_write_range,
sheets_select, sheets_format, insert/delete rows and columns; Docs docs_get_paragraphs,
docs_insert_paragraphs, docs_replace_paragraph, docs_delete_paragraphs, docs_find_replace;
Slides slides_list, slides_add_slide, slides_set_shape_text, slides_delete_slide,
slides_set_notes, slides_go_to, and for designing slides slides_add_shape (any preset
shape, text box or line, with fill, outline, arrowheads and formatted text), slides_add_picture
(crop, fit, cut to a shape), slides_add_table, slides_add_chart (real, editable charts from data), slides_add_elements, slides_set_background,
slides_update_shape, slides_delete_shape, slides_order_shape, slides_group_shapes, and
slides_build, which writes a whole .pptx from the same JSON as kantor slides build, and
slides_check, which reports layout problems (as kantor slides check) in the open deck or a file
(docs/slides-json.md, schema in
docs/slides-deck.schema.json). The app listens only on a private Unix socket
($XDG_RUNTIME_DIR/kantor/, on macOS ~/Library/Application Support/Kantor/run/), readable by
you alone. On Windows it listens on 127.0.0.1 with a random port, and kantor mcp must first
send a random token that only your user can read (%LOCALAPPDATA%\Kantor\run\kantor-<pid>.port).
Use the full path in MCP configs, e.g. "command": "C:\\Users\\you\\AppData\\Local\\Programs\\Kantor\\kantor.exe"
(kantor mcp --print-config prints it).
The short version for the whole app is in PRIVACY.md.
AI is off until you turn it on in Ctrl K → AI Settings and choose a provider: Paparan AI (Kantor's hosted service: sign in with a Paparan account and buy credits by QRIS or virtual account, no API key), or, free with every feature, your own key for Anthropic, OpenAI, OpenRouter, Groq, DeepSeek, Google Gemini, any OpenAI-compatible server, or Ollama running on your own computer (nothing leaves it). Your data goes only to the provider you chose, and only when you run an AI command. Each command sends only what it needs:
- Ask AI for a Formula… (Sheets): the column headers, up to 20 sample rows near the selection and the active cell's address — never the whole sheet;
- Explain This Formula (Sheets): the formula and the column headers;
- Rewrite / Translate Selection… (Docs): the selected paragraphs' text.
API keys are stored in the system keychain (Secret Service on Linux, Keychain on macOS, Credential Manager on Windows); if none is available Kantor says so and keeps the key in ~/.config/kantor/ai-keys.toml, readable only by you. Keys are never written to settings.toml or logs. What the provider does with your requests is governed by its own terms.
With Paparan AI, AI Settings shows Sign in to Paparan AI: the browser opens a page showing a code, which Kantor shows too; confirm it there. The settings then show the account, its plan and the credits left (refreshed after each AI command), with Top up and Manage account; AI results say when credits run low. The sign-in is kept in the keychain like an API key, and Sign out ends it on the server too. KANTOR_PAPARAN_URL points Kantor at another Paparan server (for testing).
Kantor opens and saves files on a self-hosted drive over plain WebDAV: Nextcloud, OpenCloud/ownCloud, or any WebDAV server. Every app (Sheets, Docs, Slides) works the same way.
- Add an account: File → Cloud Accounts… (or
Ctrl K→ Cloud Accounts…). Enter the server address, your user name and an app password (Nextcloud: Settings → Security → Devices & sessions; OpenCloud: App tokens). Test connection signs in and lists your files. The password is kept in the system keychain, never insettings.toml(with no keychain it goes tocloud-keys.tomlnext to the settings, readable only by you). - Single sign-on: in Cloud Accounts…, choose Organisation sign-in (SSO), enter the drive's address and press Sign in with your organisation: your browser opens your organisation's sign-in page (OpenID Connect: Authorization Code with PKCE, back to a one-time listener on
127.0.0.1). Use a code instead shows a code to enter in a browser on any device (device grant), for computers without one. OpenCloud tells Kantor where to sign in (its/.well-known/openid-configuration, or the issuer in its webconfig.json; Kantor signs in as OpenCloud's desktop client). Nextcloud withuser_oidcdoesn't publish its provider: also fill in the Sign-in server (issuer, e.g.https://sso.example.go.id/realms/pemda). No password is stored: the refresh token goes to the system keychain (orcloud-keys.toml, as above) and access tokens are refreshed as needed. If the sign-in ends (session revoked, password changed, refresh token expired), uploads stop with a message and your edits stay in the working copy; Sign in again on the account, then Sync Now. Removing the account revokes its refresh token.- Server setup (administrators): register a public client (default id
kantor, or enter yours under Client ID) with PKCE (S256), redirect URIhttp://127.0.0.1/*(any port, RFC 8252 loopback) and, for codes, the OAuth 2.0 device grant; allow theoffline_accessscope so Kantor stays signed in across restarts (without it Kantor signs in for a session-long token). Nextcloud must accept the provider's tokens:user_oidcwith check bearer (occ user_oidc:provider <id> --check-bearer=1, plus--bearer-provisioning=1to create accounts on first use), and the tokens Kantor gets must carry Nextcloud's client id in their audience (Keycloak: an Audience mapper on thekantorclient that adds thenextcloudclient). OpenCloud's built-in IdP needs no setup; with an external IdP, register the client there.
- Server setup (administrators): register a public client (default id
- Your organisation's CA: Kantor trusts the public certificate authorities and the computer's own certificate store, so a drive or sign-in server with a certificate from an organisation's CA works once that CA is installed system-wide (Linux:
update-ca-certificates/update-ca-trust, orSSL_CERT_FILE/SSL_CERT_DIR; macOS: Keychain Access, trusted root; Windows: the Trusted Root store, including CAs pushed by Group Policy). There is no option to ignore certificate errors. - Open: File → Open from Cloud…, or the button on the start screen. Browse the folders and pick a file. Kantor downloads it to a working copy in its data folder (
~/.local/share/kantor/cloud; working copies from older versions are moved there from~/.cache/kantor/cloudat start) and opens it like any file. Working copies that are synced and haven't been opened for 30 days are deleted; ones with changes the server doesn't have are never deleted. The dialog remembers the last folder. - Save:
Ctrl Ssaves the working copy, then uploads it in the background. The status bar shows the progress and then Synced. An upload has no fixed time limit, so a 20 MB file on a 500 kbit/s link finishes, but a dead link is noticed within about 30 seconds: no data moving for 30 s, or (once everything is sent) the server not answering two checks 10 s apart. Files of 8 MB or more are sent in parts (Nextcloud chunked upload, TUS on OpenCloud; one plain PUT on other servers), so an upload cut off half-way continues where it stopped, even after a restart. - Conflicts: before uploading, Kantor checks that the server's copy is still the version you opened, and the upload itself is conditional (
If-Match). If someone else saved in the meantime, the Changed on the server dialog offers three choices. Save my version as a copy puts your version next to theirs, asLaporan (konflik Budi 2026-11-14).xlsxin Indonesian or… (conflict …)in English, and then shows theirs. Reload the server's version discards yours, after a confirmation. Overwrite the server's version replaces theirs, after a warning. - Locks: opening a file takes a WebDAV lock, which Kantor refreshes while the file is open and releases when you close it or quit. If someone else has the file open, it opens read-only: a bar above the document says who ("Read-only: locked by Bob Santoso", the name looked up on the server), and typing, pasting, formatting and other changes, including ones from the AI assistant or MCP clients, are refused. Selecting, copying, finding, zooming, printing and exporting still work. When they close the file, the bar offers Edit now, which takes the lock and reloads the file if they changed it. Make Read-Only and Allow Editing in the command palette do the same for any document. Locks left behind by a crash are released at the next start, and expire on the server after 30 minutes anyway.
- Offline: if the server can't be reached, you keep working on the working copy. Saves stay on your computer, and the status bar says Not synced. When the server answers again (Kantor checks every 15 seconds), the waiting saves upload by themselves, with the same conflict rules; after a failed try the next one waits 15 s, doubling up to 5 minutes, and Sync now (click the status bar) tries at once. Closing a document or quitting with changes the server doesn't have asks first: Sync Now (upload, then close), Keep Local Copy (close; Kantor uploads it the next time the file is opened), or Cancel.
How the servers were compared, and why Nextcloud is the suggested default, is in docs/decisions/0002-cloud-storage.md.
Kantor downloaded from the site, the GitHub releases or the install script keeps itself up to date:
-
When it checks: at most once a day, at launch, and when you choose
Ctrl K→ Check for Updates…. A check fetches a small manifest fromhttps://kantor.paparanai.id/update/stable.json(redirected to the GitHub release) and sends only Kantor's version and your OS and CPU type, in the User-Agent (Kantor/0.2.1 (linux; x86_64)). No identifier, no usage data, nothing about your files.kantor mcp,kantor convertandkantor pdfnever check. -
How it's protected: the manifest is signed (Ed25519) and Kantor checks the signature with a key built into the app before trusting anything in it; every download must then match the manifest's size and SHA-256, and the new build must start and report the promised version before it is used. On macOS the new
Kantor.appmust also passcodesign(Developer ID teamF6Q6UFUK69) and Gatekeeper (notarised) checks. -
What you see: nothing while it downloads in the background. When the new version is ready, the status bar says Kantor X.Y.Z is ready — Restart to update. Click it (or
Ctrl K→ Restart to Update): Kantor asks about unsaved documents as when quitting, installs the update and reopens. If you just quit, the update is installed then and you get it next time. -
How each install updates:
- macOS app (
Kantor.dmgor the install script): the new notarisedKantor.appreplaces the old one where it is. If Kantor can't write there (an Applications folder you don't own), it offers the download page instead. - AppImage: the new AppImage replaces the file you run, under the same name.
- Install script on Linux (
~/.local/bin/kantor): the binary, launchers and icons are replaced. - Windows installer (
Kantor-Setup-*.exe): the new installer is downloaded and checked against the signed manifest's SHA-256. When Kantor quits, it runs silently: it waits for Kantor to exit, updates the files and, after Restart to update, starts Kantor again. - Windows portable zip: the files in the folder are replaced (the running
kantor.exeis renamed aside and removed on the next start). - Packages and source builds (AUR,
cargo build, …) are never changed: Kantor only tells you a new version exists. Update those the usual way.
Each replacement is all-or-nothing: if any step fails, the old version stays as it was.
- macOS app (
-
Channels: releases follow
stable; nightly builds (the install script's default) follownightly. The nightly macOS build is not notarised, so on macOS nightly Kantor only tells you about new nightlies. -
Turn it off in
~/.config/kantor/settings.toml; Kantor then makes no update requests at all, not even from the palette:[update] enabled = false # channel = "nightly" # or "stable"; unset follows the build
Kantor from the Mac App Store (when it is there) is updated by the App Store instead; see below.
For testing, KANTOR_UPDATE_URL replaces the manifest URL and KANTOR_UPDATE_CURRENT=0.1.0 makes Kantor compare as if it were that version; signatures, checksums and code-signing checks still apply.
Besides the download, Kantor can be built for the Mac App Store: the same app with the
cargo feature app-store, inside Apple's App Sandbox. It doesn't update itself (the App
Store does), loads no PKCS #11 modules (smart cards work through the keychain) and has no
command-line file tools (kantor mcp works). macOS lets a sandboxed app use only files you
choose, so Kantor remembers them (security-scoped bookmarks) to reopen your last session,
Recent files, Batch folders and mail-merge data sources, and asks with Grant File Access
when it needs a file it can't use yet. Build it with scripts/build-mas.sh; everything that
differs, the entitlements and the upload steps are in docs/app-store.md.
-
Recovery copies, always on. While a document has unsaved changes, Kantor keeps a copy of it in your data folder:
~/.local/share/kantor/recovery(Linux),~/Library/Application Support/Kantor/recovery(macOS),%LOCALAPPDATA%\Kantor\recovery(Windows). A copy is made two minutes after the first unsaved change, at a pause in typing, and whenever you switch to another window. Copies are written in the background in the document's own format (.xlsx,.docx,.pptx), never over your file, and are deleted when you save, choose Don't Save, or quit. -
After a crash or a power cut Kantor shows Recover unsaved work when it starts: each document with the time of its copy. Restore opens it with your changes, still unsaved and still named after the original file; Save writes the original, and asks first if that file was changed by someone else in the meantime. Discard deletes the copy. Not Now keeps the copies for later (
Ctrl K→ Recover Unsaved Work…). -
Autosave (off by default). Turn it on with the Autosave switch in the status bar,
Ctrl K→ Turn Autosave On or Off, or in~/.config/kantor/settings.toml:[autosave] enabled = true idle_seconds = 30 # save this long after your last change (at least 5)
It is off by default, as in Office and LibreOffice for files on your computer: saving over your file without asking would also keep changes you meant to throw away with Don't Save, and the recovery copies already cover crashes. Autosave only saves
.xlsx,.docxand.pptxfiles that already have a name. Files opened from.csv,.ods,.xls,.xlsb,.rtf,.doc,.odt,.pptor.odp, files with content Kantor can't keep, and files someone else changed since Kantor opened them are never autosaved; they get recovery copies only. -
Several windows: each Kantor process locks its own copies, so two windows never offer or delete each other's work; only copies whose Kantor is no longer running are offered.
-
Damaged copies (a disk that filled up, a copy cut short) are never deleted: they are moved to
recovery/damaged/and Kantor tells you how many it skipped. -
Known gaps: up to two minutes of typing can be lost if the power goes before the next copy (a copy is also made whenever the window loses focus). A big workbook's copy takes as long to write as a Save (≈13 s for 90,000 rows with 810,000 formulas, in the background), so a crash in that time leaves the previous copy. Undo history, the selection and scroll position aren't kept in a copy, and a restored workbook comes back with Excel's last calculated values for formulas in manual calculation. With autosave on, Docs and Slides save on the window's thread (quick for normal files).
- Checked against 424 public real-world files (government open data and the bug-report files of Apache POI, LibreOffice and others): 418 open, save, reopen and print without a problem (Strict Open XML files included: they are saved as standard Transitional Open XML), and the 199 documents and decks keep their page count when saved and reopened; Word 6/95 documents and 3 damaged or unusual files are refused (see docs/realworld-sweep.md). Layout was not compared with Office: expect differences from Excel, Word and PowerPoint.
- Sheets: chart sheets (a whole sheet that is one chart) are shown, printed and edited (Chart panel; Rename, Delete, Move or Copy, Tab Color, Hide and Unhide from the tab), and Move Chart puts a chart on a new chart sheet or onto a worksheet (with its external data link and user shapes), and a worksheet copied with Move or Copy brings its charts (with their data links and user shapes), pictures, shapes and groups (pictures and charts inside them too), text boxes and tables (renamed as Excel does, and the copy's formulas follow the new table names) and pivot tables; shapes, text boxes, lines and groups are drawn (preset and freeform geometry, solid, gradient, pattern and picture fills, outlines with dashes and arrowheads, outer shadows, 3-D bevels and extrusions drawn approximately, pictures and charts inside groups, their text), on screen and in the PDF, and Insert ▸ Text Box and a small Shapes gallery add them; double-click one to edit and format its text (bold, italic, underline, font, size, colour, alignment; runs keep their own formatting), and Format Shape (right-click) sets fill (a picture, or one of Excel's 48 patterns in two colours, too), outline, arrowheads, Excel's outer shadow presets and the text's vertical alignment (3-D effects can't be set); text linked to a cell shows the cell's value now, equations show as their linear text, and text with links, fields or equations is kept but not edited; charts are inserted with Insert Chart and changed in the Chart panel, which also restyles charts from a file in place (type, title, legend, axis titles, series colours, data range; combo charts with each series' type and a secondary axis; the 3-D forms of column, bar, line, area and pie charts, drawn in 3-D; waterfall, funnel, treemap, sunburst, histogram, Pareto and box & whisker charts change title, legend, type among themselves and data, with series in rows or columns; radar, stock, bubble, 100% stacked 3-D and other types Kantor can't make keep their type and data range; data labels (with their text formatting) and axis options cover Excel's common ones, including minor units and date axes, which space their categories by date in days, months or years). Macros in an
.xlsmare kept on save but not run (Kantor says so when the workbook opens); Save As.xlsxwarns that they'll be left out, as Excel does. Pivot tables are kept, drawn with their style, refreshed, made (Insert PivotTable…), rearranged in the PivotTable Fields panel and deleted, with grouping (dates, numbers, Group Selection), calculated fields and calculated items, Show Values As, per-field settings (subtotal functions, form, filters, sorting) and the PivotTable style picker; a new pivot on the same data shares its cache and Move or Copy brings a sheet's pivots (keeping their names, as in Excel); custom PivotTable styles are made, changed, copied, deleted and set as the default (New PivotTable Style…, or right-click a style in the gallery). Kantor-made pivots haven't been opened in Excel itself yet (the file is written to Excel's schema and asks Excel to refresh on load). Refresh and the Fields panel say so and change nothing for pivots with an external or OLAP source, and the built-in styles are approximations of Excel's; calculated items name other items by name or by position (Region[2],Region[-1],Region[+1], counted in the order the items show in, sorted by value too), and with PivotTable Options' "Allow multiple filters per field" a field takes a label or date filter and a value filter at once. Slicers are shown over the sheet and filter their pivot tables or table as in Excel (click an item, Ctrl+click or Multi-Select for several, Clear Filter), Insert Slicer adds them to a pivot table or table, Slicer Settings and the slicer styles work, timelines filter their pivot tables (click or drag over periods, time levels, Clear Filter, the scroll bar and its thumb), Insert Timeline adds them to a pivot table and Timeline Settings changes them, and both print. 3-D references (SUM(Jan:Mar!B2)) work in the functions Excel allows them in and follow sheets that are inserted, moved, renamed or deleted. Tables are made with Format as Table and changed in Table Design; custom table styles are made, changed, copied, deleted and set as the default as in Excel (New Table Style…, or right-click a style in the gallery), and a table's own formats from the file (its header, data and total rows' and its columns') are drawn over its style and under the cells' own formatting, as in Excel. The filter menu filters by cell colour, font colour and icon, top or bottom N (items or percent), above or below average and Excel's dynamic dates (today, this month, a quarter...), and the Sort panel sorts by cell colour, font colour, icon or a custom list (Excel's day and month lists, or your own, made in Custom Lists… and kept in Kantor's settings; the fill handle continues them too,Low→Medium→High); Reapply sorts by them again..ods,.xlsand.xlsbare import-only..xlsimports bring shapes, lines, text boxes and groups (with their text), radar, surface, bubble, pie-of-pie and bar-of-pie charts, combination charts (scatter and pie plots and secondary axes too), points with their own colours, data label and axis number formats and date axes with their bounds, charts inside groups and patterned shapes (an Excel pattern fill comes in as the same pattern; LibreOffice saves patterns as pictures, which come in as plain fills); they leave out TIFF pictures (an import note says how many), draw 3-D charts flat, and skip a validation or conditional formatting rule whose formula Kantor can't read back (array constants, external references, add-in functions; an import note says how many); Excel 5/95 files bring their values with their cell formatting, column widths, row heights and page setup, but not their notes or drawings. Patterned cell fills are drawn as patterns on screen and in the PDF; an.xlsor.xlsbimport saved as.xlsxkeeps them as one mixed colour..odsimports bring radar, filled radar, bubble and stock charts, freehand shapes (paths, polygons and polylines, arcs included), custom shapes drawn from their own geometry (draw:enhanced-path, with its arcs, curves and formulas), groups as groups, callouts, form controls (drawn as Excel draws its form controls, not run), embedded objects' pictures, charts inside groups, and hatched fills (as the nearest Excel pattern), but leave out other chart types Kantor doesn't draw and TIFF pictures (an import note says how many), draw 3-D charts flat, and skip a validation or conditional formatting rule whose condition has no Excel counterpart (an import note says how many);.xlsbimports bring values, formulas, cell formatting (number formats, fonts, fills, borders, alignment), merged cells, column widths, row heights, defined names, data validation, conditional formatting (Excel 2007's rules: cell value, formula, text, date, blank, error, duplicate, above/below average (also "equal to or above" and standard deviations) and top/bottom rules, colour scales, data bars and icon sets, with Excel 2010's extras: data bars' lengths, borders, negative colours, axis and direction, and icon sets with icons picked one by one), pictures and charts. Sparklines (line, column and win/loss, with their markers, highlighted points, axis, empty-cell setting and axis scaling) are drawn in their cells and printed, but can't be made or changed in Kantor yet (they are kept on save). Printing: Page Break Preview (View menu, or the buttons by the sheet tabs) shows each page with its number, greys what doesn't print and draws automatic (dashed) and manual (solid) page breaks; dragging a break moves it (an automatic one becomes manual, one dragged off the pages goes) and dragging the outline sets the print area. The view each sheet is in is saved in the file, and so is its zoom (10–400 %: the slider by the sheet tabs, Ctrl+mouse wheel, Ctrl+= and Ctrl+-, Zoom to Selection and the Zoom dialog); Page Break Preview keeps a zoom of its own and starts at 60 %, as in Excel. Chart sheets zoom too (their chart at its size times the zoom, or following the window). Printing ignores the zoom. Notes print at the end of the sheet or as displayed (with their formatting). Conditional formatting rules are made and managed in Kantor (rules can set a number format and an outline border, and borders a rule has from the file are kept when it is edited); Edit Formatting Rule sets an icon set's thresholds (type, value,>=or>), its icons one by one (from any set), reverse order and icon only, and a data bar's minimum and maximum, bar lengths, fill, border, negative bar colours, axis position and colour, direction and bar only, saved as Excel 2010 saves them (Excel's "No Cell Icon" too); a sheet whose rules were changed keeps the file's Excel 2010 extras for the rules left as they were. Data validation works from the file and is made with Data Validation…, including Excel's IME mode (kept and set; Kantor leaves the input method to the system). - Sheets functions that need the network:
IMAGEandWEBSERVICEdownload as in Excel (pictures overhttpsonly, redirects blocked;WEBSERVICEoverhttporhttps), show#BUSY!while they wait and keep what they got until Kantor quits (F9fetchesWEBSERVICEagain).IMAGEpictures are drawn in their cells with Excel's four sizing modes, and pictures Excel saved in the file (also "Place in Cell" pictures) show offline, follow their cells when rows or columns are inserted or deleted, and are saved back; a picture downloaded in Kantor is saved into the file as Excel saves it, so Excel (and Kantor) show it without downloading. A workbook opened from a file asks first (Allow / Block, once per file and session); turn downloading off with Let Formulas Download from the Internet in the palette or[sheets] web_formulas = false(then#BLOCKED!). See PRIVACY.md. TheCUBE*family,RTD,STOCKHISTORY,TRANSLATE,DETECTLANGUAGE,COPILOTandPYneed Microsoft's services: they keep the results saved in the file, and a formula typed in Kantor gives Excel's error without a connection (#CONNECT!,#NAME?for the cube functions,#N/AforRTD).FILTERXMLsupports XPath 1.0 without namespace prefixes, as in Excel. - Docs: SmartArt's text can be edited, its layout changed (the SmartArt button beside a selected SmartArt) to one of the layouts Kantor lays out, and its items added and removed (Add Shape Before / After, Delete Shape in the text popover) and laid out again when resized (its text shrinking to fit) in Basic Block List, Vertical and Horizontal Bullet List, Basic, Continuous Block and Step Up Process, Basic and Radial Cycle, Organization Chart, Hierarchy, Horizontal Hierarchy, Labeled Hierarchy, Basic Venn, Basic Matrix, Basic Pyramid and the picture layouts Horizontal Picture List, Picture Accent List, Bending Picture Accent List, Vertical Picture List, Picture Caption List, Titled Picture Blocks, Picture Grid and Circular Picture Callout (whose pictures are kept and drawn in their shapes, on screen and in the PDF, new items getting an empty picture placeholder; Change Layout to them leaves the placeholders empty; the other picture layouts keep their items and scale; Organization Chart shapes take Add Assistant and Standard / Both / Left Hanging / Right Hanging in the text popover; other layouts keep their items and scale until their layout is changed; the layout part Kantor writes for a changed layout is its own short definition, not checked in Word yet), map charts whose map data was saved in a form Kantor can't read list their values instead of a map, gradients are drawn (path gradients as radial ones), glows and soft edges are approximated, 3-D extrusions and bevels are approximated (no lighting or perspective), objects in headers and footers are selected, moved and resized while the header or footer is edited, a box whose text is turned is edited as plain text in a popover, and a "Resize shape to fit text" box grows with its text as it is typed, the text beside it wrapping around its new size as it grows. Fields work out formulas,
IF,COMPARE,STYLEREF,LISTNUM,SETandSEQ; an index (INDEX) lists itsXEentries with their pages, sub-entries, cross-references (\t) and letter headings (\h), in the columns its\casks for (in a section of its own, as Word makes it), andSTYLEREFin headers and footers shows each page's own heading. Word 97-2003.docand.dotfiles are imported (Save asks for a new.docx), with their floating pictures (PNG, JPEG, EMF, WMF, PICT, BMP), shapes (LibreOffice's arcs and rounded corners too), groups, text boxes (in headers and footers too), comments with their dates, nested tables and tracked changes (as revisions); TIFF pictures are left out (the status bar says so), and Word 6/95 and password-protected files are refused. With Track Changes on, merges across columns are recorded withw:hMergeand the cells' old properties and splits as the cells and rows they add, which Word reads but doesn't make itself; merging cells before a split, and deleting a column a merged cell spans past, go in untracked (Kantor says so, as Word does). - Slides: SmartArt is laid out again when resized, and its items added and removed, only in Basic Block List, Vertical and Horizontal Bullet List, Basic, Continuous Block and Step Up Process, Basic and Radial Cycle, Organization Chart, Hierarchy, Horizontal Hierarchy, Labeled Hierarchy, Basic Venn, Basic Matrix, Basic Pyramid and the picture layouts Horizontal Picture List, Picture Accent List, Bending Picture Accent List, Vertical Picture List, Picture Caption List, Titled Picture Blocks, Picture Grid and Circular Picture Callout (whose pictures are kept, new items getting an empty picture placeholder; Change Layout to them leaves the placeholders empty; Circular Picture Callout shows up to seven items; Kantor's own placement, close to but not PowerPoint's exact one: Organization Chart boxes, gaps, assistants and hanging layouts follow PowerPoint's layout definition, the picture layouts' proportions are PowerPoint's for Bending Picture Accent List, Vertical Picture List and Circular Picture Callout and Kantor's estimate for the others; other layouts are scaled and keep their items; its text, fill and outline can always be edited, and Convert to Shapes makes ordinary shapes of it); Change Layout (right-click) redraws any SmartArt in one of those layouts, keeping its items, text and their formatting where the new layout has a place for them, and writes a short layout definition of its own (not yet checked in PowerPoint, which may lay it out again from the data); 3-D charts are drawn in 3-D (boxes, ribbons, slabs, a tilted pie, surfaces as a mesh, on a floor with walls, as
view3Dturns them, with cylinder, cone and pyramid columns and data labels), map charts are drawn only from map data saved in Office's documented form (the undocumented binary form Excel usually saves is tried as compressed XML, else the values are listed), and the series of the newer chart types (waterfall, funnel, treemap, sunburst, histogram, Pareto, box & whisker) can't be added, removed or reordered (their data can be edited). - PDF: comments, stamps, forms and Fill & Sign are added and edited, but the text on a page can't be edited. Text boxes and form appearances use Helvetica or Courier (Latin text; other characters show as
?in the appearance, the value keeps them); multi-line form fields are typed on one line; rich-text comments are shown as plain text once edited; a time-stamp server that needs a login isn't supported, the visible signature's text uses Helvetica (Latin text), and the system store isn't available on Linux (use a.p12file or a PKCS #11 module); e-meterai and certified signatures need your own account at a provider (VIDA or Mekari Sign for e-meterai, Xignature for signatures) and were built from the providers' public API documentation and tested against mock servers, not yet against the live services (VIDA's production addresses come with its credentials; Mekari's coordinate origin and Xignature's hash encoding follow their examples), providers that send a one-time password for each signature can't sign in a Batch, a password-protected PDF gets an e-meterai only as an unprotected copy (adding the password back would break the stamp's signature), and Peruri, Pajakku, Privy, Tilaka and other providers without public API documentation aren't available; the checker trusts the system's roots plus Root CA Indonesia DS G1 and BSrE's OSD LU Kelas 2, Adobe's AATL and the EU trusted lists aren't bundled yet, FieldMDP field locks aren't enforced, and RSA-PSS needs 2048-bit keys or more; a turned page's text boxes aren't turned with it. Pages of a document a separate PDF shares are edited once (a duplicated page shares its annotations). pyHanko reports added comments as "OTHER" changes (its diff rules don't cover annotations), though the signature stays intact. A duplicated page doesn't copy its form fields. The watermark and page numbers use Latin text (Helvetica). Batch places pictures and drawn signatures from My Stamps, not typed ones, and its Sign with Certificate step takes a PNG or JPEG signature picture. Text is selected in the order the PDF draws it, which in some multi-column layouts isn't reading order. Arabic and Hebrew lines are put in reading order by a simple rule, so a line mixing several left-to-right words and numbers into right-to-left text can come out in another order. XFA forms show the pages the file has; when pages change, the XFA part is dropped and the pages' own form fields remain. Very high zooms draw a page at most 6000 pixels across, so it can look soft past about 500 %. - Docs mail merge: unticked recipients are remembered only while the document is open (filter and sort are saved, as Word's query); the merge fields of headers and footers show their names while Preview Results is on (they are filled in when merging); a template's footnotes and comments are shared by every copy in an Edit Individual Documents document; envelopes, labels pages and e-mail aren't made in Kantor; Address Block's Preview Results shows the block on one line (merged documents get a paragraph per line). Slides and Sheets merges fill
{{Field}}text only (no Word-style fields). - Sheets cells: a font named after one style of a family, as Windows lists the styles of a variable font (
Plus Jakarta Sans ExtraBold,Inter SemiBold), isn't found and shows in another font; Docs, Slides and their PDFs use that style of the family. - The Linux builds need glibc 2.34 or newer (Ubuntu 22.04, Debian 12, RHEL 9 or later): older systems such as Ubuntu 20.04, Debian 11 and RHEL 8 can't run them.
All builds run on GitHub Actions (ubuntu-24.04-arm, ubuntu-24.04 and macos-15; the Linux release and nightly binaries are built in an AlmaLinux 9 container on those runners, so they need only glibc 2.34); contributors don't need a powerful machine. If you do want to build locally:
./scripts/ci-deps.sh # Ubuntu (or EL 9) packages; on Arch: wayland libxkbcommon vulkan-icd-loader fontconfig; macOS needs only Xcode's tools
cargo run -p kantor -- file.xlsx
cargo test --workspaceExpect target/ to reach 10–20 GB and the first build to need plenty of RAM.
crates/
kantor binary: CLI (`convert`, `pdf`, `mcp`), suite shell (tabs, Home, palette, status bar)
kantor_ui design system: metrics, colour tokens from Omarchy, cached views
kantor_core shared non-GPUI pieces (fuzzy search, find, settings, session)
kantor_ai AI providers, streaming HTTP clients, prompts, keychain (no GPUI)
kantor_theme Omarchy palette parser (no GPUI)
kantor_update in-app updates: signed manifests, download, verify, swap the install (no GPUI)
kantor_mem gives freed heap memory back to the system after big documents close (no GPUI)
kantor_esign e-meterai and certified signatures through licensed providers' APIs (no GPUI)
kantor_pdf PDF page tools behind `kantor pdf` (no GPUI)
pdf_engine PDF viewer engine on hayro: render pages, text with positions, outline, links (no GPUI)
pdf_ui PDF app: continuous pages, zoom, thumbnails, bookmarks, find, selection, page tools, save
sheets_engine IronCalc wrapper: open/save xlsx, imports, part preservation (no GPUI)
kantor_numfmt Excel number formats, adapted from GridCraft (MIT OR Apache-2.0; no GPUI)
sheets_pdf workbook → PDF as Excel prints it: page setup, pagination, cells (krilla)
sheets_ui grid, formula bar, sheet tabs
docs_engine document model, styles, undo, .docx read/write and preservation (no GPUI)
docs_layout parley text layout into pages (no GPUI)
docs_pdf .docx → PDF with the same layout as the screen
docs_ui page view, caret, selection, IME, toolbar, ruler
slides_engine slide/shape/text model, undo, .pptx read/write and preservation (no GPUI)
slides_scene slide → display list (paths, gradients, pictures, glyph runs), shared by screen and PDF
slides_pdf slide scenes → PDF (krilla)
slides_ui slide canvas, thumbnails, notes, slide show
vendor/
gpui-pre-wgpu GPUI's wgpu renderer (Linux) with memory patches for low-memory GPUs
ironcalc_base IronCalc's engine with cached lookups for large workbooks (KANTOR_PATCHES.md)
ironcalc IronCalc's xlsx reader and writer, patched to match (KANTOR_PATCHES.md)
site/ the download site (kantor.paparanai.id); site/tools/ takes the screenshots
- IronCalc (MIT OR Apache-2.0) does the formulas and xlsx import/export; Kantor carries patched copies in
vendor/. - GPUI (Apache-2.0) draws the UI, through GPUI Kit (Apache-2.0).
- Cell values are formatted by
crates/kantor_numfmt, adapted from GridCraft'sgridcraft-numfmt(MIT OR Apache-2.0, by the ArtCraft Team and the GridCraft contributors); see its PROVENANCE.md. - parley lays out text and krilla writes the PDFs; hayro (MIT OR Apache-2.0) reads and draws them in the PDF viewer and print preview.
Third-party notices are in NOTICE. Every download also ships THIRD_PARTY_LICENSES.txt with the licence texts of all linked crates (generated by scripts/third-party-licenses.py).
The shell's structure and styling follow Voltrus Tools (see docs/reference-voltrus-tools.md).
GNU Affero General Public License v3.0 or later (AGPL-3.0-or-later). Modified versions, including ones offered over a network, must publish their source under the same licence.


