Word processing; the word processor of the Form family.
Real pages or pageless, a full ribbon, .docx and .odt round trips,
review, references and charts. Local-first, no account, and yours.
Download FormTxt on formai.studio · Run it from source
Version 0.39.1 · Apache-2.0 · macOS, Windows, Linux (browser, or the desktop app built with ./build_app)
The Annual Report template with a photo and a chart added, shown with the Dark Page view option.
Features · In the box · Agents · Under the hood · Download · Run from source
| Paper size, margins, headers, footers, columns and sections lay out line by line, or switch to a pageless view. | Open and save .docx, .dotx, .odt, .rtf, .html and Markdown, keeping comments and tracked changes. | Documents live in a folder on your computer. The engine listens on this machine only, and no account is needed. | Every editor command also runs from a terminal with ./formtxt cli, the same commands a person uses. |
| Recent documents · Pin and duplicate · Trash with restore · Building blocks | Column · Line · Doughnut · Gauge · Heat map · Process · Cycle · Venn | Opens: .docx, .dotx, .odt, .rtf, .html, Markdown, .doc, PDF · Saves: .docx, .odt, .rtf, .html, Markdown, EPUB, PDF · Native: .ftxt |
Themes: dark and light themes for the window, among them High Contrast and AMOLED Black, which is true black for OLED screens. Pick one in Preferences, under Interface, or turn on Match System Appearance to follow the computer's light or dark setting. Dark Page on the View tab darkens the page itself.
The editor's commands live in one catalogue, and the window and the terminal call the same ones.
./formtxt cli list # the command catalogue
./formtxt cli describe tools.stats # one command and its arguments
./formtxt cli run edit.replaceAll find=draft replace=final # run a command in the open window, as an outside agent
./formtxt mcp # MCP server on stdio for Claude Code, Codex, Cursor and Antigravity
./formtxt agents install # register that server and the formtxt-driving skill for this user- Mail merge fills merge fields from a CSV file, an Excel sheet, pasted rows or a database file: in Mailings > Mail merge, pick a SQLite file, a table and one SELECT. The file is opened read-only and the query is kept with the document, so
merge.refreshreads it again. - List reports: mark a table row to repeat (
merge.repeatRow) and finish the merge as a list (merge.finish mode=list) to get one document with a row per record. Group it by a column (groupBy=order_id) for a page per group, and give a merge field a total (sum, count, average, minimum or maximum) from the Total menu. report runmerges a template with a database query in the engine and writes a PDF, .docx or .ftxt, with no window open:
./formtxt report run template=<id> db=/path/orders.db sql="select * from order_items" out=/path/invoice.pdfIt asks the same Allow outside agents question as the agents below, because it saves a file where it is told; an existing file is kept unless you add overwrite=true.
The commands need the window open, and the first one an outside agent runs asks you in the window: Allow outside agents? Allow lets outside agents run commands from then on; Don't Allow refuses. Only the FormTxt window can change that choice, with the question or with Allow outside agents in Preferences, under Privacy. Agents and other programs follow it, and ./formtxt cli run and ./formtxt report run count as outside agents. If the saved choice is changed outside the app, FormTxt asks again (the check uses your system password store; without one it is skipped). The terminal, Claude Code, chat and cloud storage commands stay yours and are refused to agents. A script that drives FormTxt uses ./formtxt cli run, ./formtxt report run or the MCP server, because every other route that changes something answers only the window. Details in SECURITY.md.
.mcp.json, .codex/config.toml and .cursor/mcp.json are already wired in this repo. See AGENTS.md and CLAUDE.md.
- Frontend: vanilla TypeScript and Vite, with ProseMirror editing and its own page layout.
- Engine: Python and FastAPI own the
.ftxtmodel, file exchange, proofing and exports. - Desktop: a Tauri 2 shell around the same UI, with the engine frozen as a sidecar.
- Format:
.ftxtis a zip ofdocument.jsonandmedia/; the contract isdocs/FORMAT.md. - Tested: backend tests in
backend/tests(library, exchange, versions, format, boot) and a window test infrontend/tests/window.
| Platform | Download | Release |
|---|---|---|
| macOS | Download FormTxt for macOS | FormTxt releases on FormCompiler |
| Windows | Download FormTxt for Windows | FormTxt releases on FormCompiler |
| Linux | Download FormTxt for Linux | FormTxt releases on FormCompiler |
All FormTxt builds are compiled and released from FormCompiler; this repo holds the source.
demo/index.html is an offline demo that opens from file:// or any static server and runs the real FormTxt window: A report under review, an annual report with suggested edits by two people, comments, a chart and a table. The document lives in the page for that tab; what needs the engine (new documents, templates, other formats, export, proofing, versions, sharing, the assistant and the terminal) says so. See demo/README.md.
demos/paper/index.html: A paper with references, with contents, equations, figures, footnotes, citations and a bibliography. Seedemos/paper/README.md.demos/newsletter/index.html: A two-column newsletter, with Text Art, an IntelligentArt diagram, pictures and events. Seedemos/newsletter/README.md.
The same three demos open inside the app from Home, from Help > Demos, or with the demo.review, demo.paper and demo.newsletter commands, each as a new document in your library.
Prefer it in your browser, or want to contribute? Run the web UI straight from this repo.
Requires: Python 3.12 or newer and Node 20.19 or newer.
git clone git@github.com:nodemode-dev/formtxt.git
cd formtxt
./formtxt_oc_install # backend venv and frontend packages
./formtxt # engine on 127.0.0.1:8210, web UI at http://localhost:5210./formtxt desktop dev opens the desktop window instead, and ./build_app builds the installable desktop app.
On Windows use formtxt_oc_install.bat then formtxt.bat. The engine listens on 127.0.0.1:8210 only; FORMTXT_UI_PORT, FORMTXT_ENGINE_PORT and FORMTXT_DATA_DIR (default ~/FormTxt) override the ports and the library folder.
Important
Status: released. FormTxt is built and bundled for macOS, Windows and Linux and has been tested on all three.
Contributing: branch from main, keep changes to source here, and leave packaging and releases to FormCompiler. See AGENTS.md and CLAUDE.md.
frontend/ is the web UI, backend/ the FastAPI engine and its tests, src-tauri/ the desktop shell, setup/ the install, boot and build scripts, and docs/ the format contract and images. Agents: CLAUDE.md, AGENTS.md.
| Maintainer | Role |
|---|---|
| @nodemode-ai | Owner |
| @gbarnai | Co-owner |
Code owners are set in .github/CODEOWNERS.
FormTxt is licensed under the Apache License 2.0 (LICENSE, SPDX Apache-2.0). Copyright 2026 NodeAgentc, Inc. Third-party notices: NOTICE.md (what each component is and why) and THIRD-PARTY-NOTICES.txt (their full licence texts).
Screenshot content: a CC0 photo from Poly Haven and an original sample document.
Microsoft, Word and Office are trademarks of the Microsoft group of companies. Google Docs and Antigravity are trademarks of Google LLC. FormTxt is not affiliated with or endorsed by Microsoft or Google; the names describe file formats, key sets and compatibility only. Claude Code, Codex and Cursor are trademarks of Anthropic, OpenAI and Anysphere respectively; they and Antigravity are named only as MCP clients FormTxt works with.


