ConfigsApr 6, 2026·2 min read

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.

TL;DR
Excalidraw is an open-source whiteboard for sketchy hand-drawn diagrams with AI text-to-diagram generation.
§01

What it is

Excalidraw is an open-source virtual whiteboard for creating hand-drawn style diagrams. It produces sketchy, informal visuals that are popular for architecture diagrams, flowcharts, wireframes, and brainstorming. It supports export to SVG and PNG, real-time collaboration, and AI integrations for generating diagrams from text descriptions.

Excalidraw targets developers, designers, and teams who want quick, informal diagrams without the rigidity of traditional diagramming tools. Its hand-drawn aesthetic makes diagrams feel approachable rather than final, encouraging iteration.

§02

How it saves time or tokens

Excalidraw eliminates the setup overhead of traditional diagramming tools. You open the browser, start drawing, and export immediately. No account is required for basic use. The AI integration generates diagrams from natural language descriptions, turning a text prompt into a visual in seconds. Real-time collaboration lets multiple people diagram simultaneously without screen sharing.

§03

How to use

  1. Visit excalidraw.com and start drawing immediately.
  1. Or self-host:
git clone https://github.com/excalidraw/excalidraw.git
cd excalidraw
npm install
npm start
  1. Use the AI feature to generate diagrams from text prompts.
  1. Export diagrams as SVG, PNG, or share via collaboration links.
§04

Example

# Self-hosted Excalidraw with Docker
docker run -d --name excalidraw \
  -p 3000:80 \
  excalidraw/excalidraw:latest

# Access at http://localhost:3000
{
  "type": "excalidraw",
  "version": 2,
  "elements": [
    {
      "type": "rectangle",
      "x": 100,
      "y": 100,
      "width": 200,
      "height": 100,
      "strokeColor": "#000000",
      "backgroundColor": "#a5d8ff"
    }
  ]
}
§05

Related on TokRepo

This tool integrates with standard development workflows and requires minimal configuration to get started. It is available as open-source software with documentation and community support through the official repository. The project follows semantic versioning for stable releases.

For teams evaluating this tool, the key advantage is reducing manual work in repetitive tasks. The automation provided by the built-in features means less custom code to maintain and fewer integration points to manage. This translates directly to lower maintenance costs and faster iteration cycles.

§06

Common pitfalls

  • Excalidraw files are JSON-based; version control works well but diffs can be hard to read for complex diagrams.
  • The AI text-to-diagram feature requires an API key for the underlying LLM provider; self-hosted instances need additional configuration for AI features.
  • Real-time collaboration requires a WebSocket backend; the default self-hosted setup does not include collaboration unless you deploy the Excalidraw collaboration server separately.

Frequently Asked Questions

Is Excalidraw free?+

Yes. Excalidraw is open-source under the MIT license. The web app at excalidraw.com is free to use with no account required. Self-hosting is also free.

Can I use Excalidraw with AI to generate diagrams?+

Yes. Excalidraw supports text-to-diagram generation via AI. Describe what you want in natural language and the AI creates a hand-drawn style diagram. This feature may require API key configuration for the underlying model.

Does Excalidraw support real-time collaboration?+

Yes. The hosted version at excalidraw.com includes real-time collaboration via shareable links. Self-hosted instances need a separate collaboration server for this feature.

What export formats are available?+

Excalidraw exports to SVG, PNG, and its native JSON format. SVG exports maintain the hand-drawn style and are scalable for use in documentation, presentations, and web pages.

Can I embed Excalidraw in my application?+

Yes. The @excalidraw/excalidraw npm package provides a React component for embedding the whiteboard in web applications. It supports custom themes, initial data, and event callbacks.

Citations (3)
🙏

Source & Thanks

Created by Excalidraw. Licensed under MIT.

excalidraw — ⭐ 90,000+

Thanks for making diagramming effortless for developers.

Discussion

Sign in to join the discussion.
No comments yet. Be the first to share your thoughts.

Related Assets