
OpenPencil
OpenPencil is an open-source design editor that opens Figma files natively, includes built-in AI, and is fully programmable.
- GitHub stars
- 9.8k
- Last commit
- yesterday
- Latest release
- v0.16.0
- Licence
- MIT
- Self-hosted
- Yes
- Hosted version
- Available

OpenPencil is an open-source design editor that opens Figma files natively, supports copy and paste between Figma and OpenPencil, and uses a Kiwi binary codec for round-trip fidelity. It includes a headless CLI for inspecting, exporting, and analyzing .fig files, supports the Figma Plugin API via eval, and can export to Tailwind CSS and JSON for CI and automation.
The editor is built with a Vue SDK and can be embedded into other products or used to assemble workflow-specific editors. It features a built-in AI chat with 90 tools for creating shapes, setting styles, managing layout, and analyzing tokens, and includes an MCP server for Claude Code, Cursor, and Windsurf. OpenPencil is released under the MIT license, requires no account, server, or internet for the desktop app, and supports real-time collaboration via P2P WebRTC.
Key features
- Opens .fig files natively
- Copy and paste between Figma and OpenPencil
- Headless CLI for inspecting, exporting, and analyzing .fig files
- Figma Plugin API via eval
- Tailwind CSS export
- Built-in AI chat with 90 tools
- MCP server for Claude Code, Cursor, Windsurf
- Real-time collaboration via P2P WebRTC with live cursors and follow mode
























