Usage
Start screen
On cold start the app shows a start screen (New / Open / Recent). The Excalidraw canvas mounts only after you choose an action. The app does not auto-open the last file.

Files
- New (File → New / Ctrl+N)— blank Untitled drawing on the canvas
- Open (File → Open / Ctrl+O or ⌘O) — native file picker (GTK on Linux, Win32 on Windows, AppKit on macOS) for
.excalidrawfiles anywhere on disk - Save (File → Save / Ctrl+S or ⌘S) / Save As (File → Save As / Ctrl+Shift+S or ⌘⇧S) — native file picker for
.excalidrawfiles anywhere on disk - Open Recent (File → Open recent) — up to 10 recently opened or saved paths (Linux:
$XDG_CONFIG_HOME/excalidraw-offline/recent.json, fallback~/.config/…; Windows:%USERPROFILE%\.config\excalidraw-offline\recent.json; macOS:~/Library/Application Support/excalidraw-offline/recent.json). Missing or unreadable paths are removed when selected - Close (File → Close / Ctrl+W) — returns to the start screen (after unsaved prompts if needed)
- Reload (File → Reload / Ctrl+R or ⌘R) — re-reads the current file from disk and refreshes the canvas (disabled on the start screen and for Untitled drawings). Use when something else changed the file on disk (e.g. a coding agent). Unsaved local edits trigger Cancel / Save / Discard (not a silent autosave) so reload does not overwrite external changes by accident
- Quit (File → Quit) — exits the app
- Export image… (Excalidraw main menu → Export image, or Ctrl+Shift+E / ⌘⇧E). Upstream Excalidraw export dialog (preview, Only selected / Background / Dark mode / Embed scene, scale 1×–3×, filename, PNG / SVG / Copy to clipboard). PNG and SVG use the native save dialog (default folder: same directory as the saved
.excalidrawfile, or home when Untitled); the header shows the saved path. Copy to clipboard uses the webview when supported; otherwise a clear header error. Embed scene and other toggles match upstream behavior
CLI export (agents)
Included in the Tauri build on all platforms.
Run PNG export without opening the interactive window (uses a short-lived hidden webview with the same exportToBlob path as the GUI). This command does not hand off to an already-running instance.
Help (stdout, exit 0, no GUI window):
excalidraw-offline --help
excalidraw-offline -h
excalidraw-offline export --help
excalidraw-offline export -h
Packaged app:
excalidraw-offline export sketches/demo.excalidraw
excalidraw-offline export sketches/demo.excalidraw --frame "Login screen"
excalidraw-offline export sketches/demo.excalidraw --all-frames
excalidraw-offline export sketches/demo.excalidraw --element abc123 --element def456
excalidraw-offline export sketches/demo.excalidraw --bbox 0,0,800,600 --scale 2
excalidraw-offline export sketches/demo.excalidraw --out /tmp/custom --json
excalidraw-offline export sketches/demo.excalidraw --all-frames -d ~/sketches/export
From a repo checkout (after building from source):
./src-tauri/target/release/excalidraw-offline export sketches/demo.excalidraw --frame "Login screen" --json
| Flag | Meaning |
|---|---|
| (none) | Whole scene (default) |
--frame "Name" | Repeatable; exact frame name match; one PNG per match |
--all-frames | One PNG per named frame |
--element <id> | Repeatable; one PNG with all listed elements selected |
--bbox x,y,w,h | Scene coordinates; exports elements intersecting the box |
--out <path>, -d <dir> | Destination directory (created if missing) or a single .png when there is exactly one job (default: folder containing the .excalidraw file) |
--scale N | Export scale (default 2) |
--json | Print {"paths":["…"]} instead of one path per line |
Default output filenames: {drawingBase}_{YYYYMMDD-HHMMSS}.png, or {drawingBase}_{frame}_{YYYYMMDD-HHMMSS}.png when exporting a named frame. Collision suffixes (-2, -3, …) are added if the name already exists.
Stdout lists written file paths; stderr has diagnostics. Exit code 1 with a clear message if the file, frame, or element is missing. Headless export uses the app’s own webview (same renderer as the GUI). Pure WSL without a Windows/macOS/Linux GUI webview may fail — run the command on the host OS or use File → Export in the GUI.
Open from CLI or file manager
excalidraw-offline /path/to/drawing.excalidraw
excalidraw-offline C:\path\to\drawing.excalidraw
"/Applications/Excalidraw Offline.app/Contents/MacOS/excalidraw-offline" /path/to/drawing.excalidraw
Single-instance handoff and OS file associations (double-click) from the Tauri build are not ported to Tauri yet: each launch opens its own window, so pass the path as an argument.
Cursor / agent note
Clicking a .excalidraw path in Cursor chat usually opens the file inside the editor, not in Excalidraw Offline. Agents should run excalidraw-offline <path> (on macOS: the binary inside Excalidraw Offline.app/Contents/MacOS/) instead of relying on chat links.
Unsaved changes
- Dirty drawing with a path (Open, Close, New, Quit): flush/autosave write, then continue
- Dirty drawing with a path (Reload): native Cancel / Save / Discard — Discard drops local edits and loads disk; Save writes your version first, then reloads
- Dirty Untitled (Close, Quit / Ctrl+Q, window close): native Save / Don’t save / Cancel dialog
Autosave
Once a drawing has a file path, autosave writes back to that .excalidraw file. Brand-new Untitled drawings need Save / Save As before autosave can write. Crash recovery from a separate temp location is not part of the first version.
Skills
Use Skills → Install excalidraw-sketching skill to copy the bundled Agent Skill into a destination your coding agents can read.

Choose scope:
- Global (user) — installs under your home directory
- Project — pick a project root folder
- Custom — pick any folder; the skill is copied to
<folder>/excalidraw-sketching/(no extra suffix)
For Global and Project, a native checklist asks which agent tools should receive the skill (defaults: .agents/skills and Claude Code):
| Target | Global | Project |
|---|---|---|
.agents/skills (Codex, Cursor, Copilot, Gemini CLI, OpenCode, Amp, Goose, Roo Code, Windsurf) | ~/.agents/skills/excalidraw-sketching/ | <root>/.agents/skills/excalidraw-sketching/ |
| Claude Code | ~/.claude/skills/excalidraw-sketching/ | <root>/.claude/skills/excalidraw-sketching/ |
| Kiro | ~/.kiro/skills/excalidraw-sketching/ | <root>/.kiro/skills/excalidraw-sketching/ |
| Cline | ~/.cline/skills/excalidraw-sketching/ | <root>/.cline/skills/excalidraw-sketching/ |
| All | every row above | every row above |

Missing parent folders (for example ~/.claude/skills) are created automatically. If any destination already exists, the app lists them and asks once before overwriting. Decline aborts the install.
After upgrading the app (v0.7.1+ skill): run Install excalidraw-sketching skill again so agents get the updated skill. The bundled copy includes:
- How to use the desktop app — File menu actions, keyboard shortcuts, Reload unsaved prompt (Save / Discard, reload / Cancel), Export image dialog, frames, sticky notes (N), right-click drag pan, dark mode
- Headless export CLI — every flag,
--help, default output naming ({name}_{datetime}.png, frame segments, collision suffixes), stdout vs stderr, exit codes - Sketch JSON conventions under
sketches/(no MCP canvas servers)
Menus
- Info (native dialogs): Runtime backend, Assets tip, About Excalidraw Offline (wrapper version), About Excalidraw (upstream package version, e.g.
0.18.0-4ce38fb). OK closes; Open in browser opens the project link
Transient open/save status appears in the app header (not a footer).