OpenPencil
- About
- Open-source design editor that opens Figma files and has AI built in. Open-source alternative to Figma and Sketch.
- Catalogue
- No. 407
- Category
- Productivity
- GitHub stars
- ★ 10.1k

Overview
OpenPencil is an open-source design editor. It reads and writes native Figma (.fig) files and opens Pencil (.pen) documents, has a built-in AI chat that creates and edits designs, and ships as a programmable toolkit: a headless CLI, an MCP server for AI agents, and a Vue SDK for building your own editors. It runs as a small desktop app for macOS, Windows and Linux, or in the browser with no install or account.
What it does well
You can open existing Figma files, copy and paste nodes between apps, and work with components, variants, auto layout and CSS Grid. The AI chat has more than 100 tools for creating and changing nodes, using your own key for the major providers or any compatible endpoint. From the command line you can inspect files, query them with XPath, lint naming, layout and accessibility, extract design tokens, and export selections as JSX and Tailwind. Real-time collaboration works over a peer-to-peer room with no server or account, or through an optional self-hostable OpenPencil Cloud.
Why it’s in the collection
OpenPencil opens the Figma files you already have, so moving off Figma doesn't mean starting over. It's MIT-licensed and scriptable from the CLI or an AI agent.
On GitHub
- Stars
- 10,059
- Forks
- 1,097
- Commits
- 3,951
- Repository
- open-pencil/open-pencil
Languages
- TypeScript 90.3%
- Vue 8.3%
- Rust 0.9%
- Other 0.5%
Compared with
FigmaCommercial collaborative interface design tool.
SketchCommercial Mac design app for interfaces.
Adobe XDAdobe's interface design tool, now in maintenance mode.
PenpotNo. 120Open-source design and prototyping platform.
See every open-source alternative to Figma in the collection.



