# Excalidraw — AI-Friendly Whiteboard & Diagramming > Open-source virtual whiteboard for hand-drawn style diagrams. Export to SVG/PNG, real-time collaboration, and AI integrations for generating diagrams from text descriptions. 90,000+ stars. ## Install Save in your project root: ## Quick Use Visit [excalidraw.com](https://excalidraw.com) — start drawing immediately, no signup needed. Self-host: ```bash git clone https://github.com/excalidraw/excalidraw.git cd excalidraw && npm install && npm start ``` Generate diagrams with AI: ``` Prompt: "Draw a system architecture diagram with a React frontend, Node.js API, PostgreSQL database, and Redis cache" ``` --- ## Intro Excalidraw is an open-source virtual whiteboard for creating hand-drawn style diagrams with 90,000+ GitHub stars. It is the most popular diagramming tool in the developer community — used for system architecture, flowcharts, wireframes, and brainstorming. Real-time collaboration, export to SVG/PNG, and a growing ecosystem of AI integrations make it perfect for documenting AI systems and workflows. Best for developers and teams who need quick, beautiful diagrams without the overhead of Visio or Figma. Works with: any browser, self-hostable. Setup time: instant. --- ## Why Developers Love It ### Hand-Drawn Style Diagrams look informal and approachable — perfect for architecture discussions, not formal documentation. ### Instant Start No account, no login, no install. Open excalidraw.com and start drawing. ### Real-Time Collaboration Share a link and draw together: ``` https://excalidraw.com/#room=abc123 ``` ### Developer-Friendly Features | Feature | Description | |---------|-------------| | `.excalidraw` files | JSON format, git-friendly | | SVG/PNG export | Embed in docs, READMEs, PRs | | Dark mode | Native dark theme | | Libraries | Reusable component libraries | | Embeddable | React component available | ### AI Diagram Generation Use with Claude Code or ChatGPT to generate diagrams: ``` "Create an Excalidraw diagram showing: - User sends request to API Gateway - Gateway routes to Auth Service and Product Service - Both services connect to PostgreSQL - Product Service uses Redis cache" ``` AI generates `.excalidraw` JSON that opens directly in Excalidraw. ### Common Diagram Types | Type | Use Case | |------|----------| | System architecture | Microservices, cloud infra | | Flowcharts | Business logic, algorithms | | Sequence diagrams | API call flows | | Wireframes | UI mockups | | ER diagrams | Database schema | | Mind maps | Brainstorming, planning | ### React Component ```jsx import { Excalidraw } from "@excalidraw/excalidraw"; function DiagramEditor() { return (