Excalidraw vs tldraw: Which Whiteboard to Self-Host?

Quick Verdict

Excalidraw is the better choice for self-hosting. It has an official Docker image, a permissive MIT license, and a hand-drawn aesthetic that makes quick diagrams feel approachable. tldraw has stronger real-time collaboration features but uses a non-commercial license for v2, making it legally risky for business use without a paid license.

Updated March 2026: Verified with latest Docker images and configurations.

Overview

Both are browser-based collaborative whiteboard tools, but they take different approaches:

  • Excalidraw is the open-source whiteboarding tool known for its distinctive hand-drawn sketch style. Used by millions and embedded in products like Notion and Obsidian. MIT licensed.
  • tldraw is a collaborative whiteboard and drawing SDK. Originally MIT licensed, tldraw v2 switched to a restrictive non-commercial license. The SDK is designed for embedding in other products.
AspectExcalidrawtldraw
LicenseMITtldraw license (non-commercial)
Self-HostingOfficial Docker imageCommunity Docker images only
StyleHand-drawn / sketchClean / precise
Primary UseStandalone whiteboardSDK for embedding
MultiplayerYes (WebSocket)Yes (built-in)
GitHub Stars95,000+40,000+
First Release20202021

Feature Comparison

FeatureExcalidrawtldraw
Freehand DrawingYesYes
Shapes (Rectangle, Circle, etc.)YesYes (more shape types)
Arrows & ConnectorsYes (smart connectors)Yes
TextYesYes
Image EmbeddingYesYes
Sticky NotesNo (use text boxes)Yes
Frames / GroupingYes (frames)Yes (frames + groups)
Export FormatsPNG, SVG, JSON, ClipboardPNG, SVG, JSON
Libraries (Stencils)Yes (community libraries)No
Dark ModeYesYes
Keyboard ShortcutsComprehensiveComprehensive
Infinite CanvasYesYes
Zoom / PanYesYes
Undo/RedoYesYes
Real-time CollaborationYes (requires WebSocket server)Yes (built-in)
End-to-End EncryptionYes (when self-hosted with collab)No
Offline SupportYes (PWA)Partial
Mobile SupportResponsive webResponsive web

Self-Hosting Comparison

AspectExcalidrawtldraw
Official Docker Imageexcalidraw/excalidraw:latestNone (community only)
Docker SetupSingle container, no databaseVaries by community image
RAM Usage~50 MB (static site)~100-256 MB
StorageNone required (client-side)File-based persistence (community)
Collaboration ServerSeparate excalidraw-room server neededBuilt into community images
MaintenanceLow (static assets)Medium (Node.js server)

Licensing Warning

tldraw v2.0 changed from MIT to a non-commercial license. This means:

  • Personal/hobby use: allowed
  • Commercial use: requires a paid license
  • Embedding in commercial products: requires a paid license
  • Open-source projects: need to apply for a free license

Excalidraw remains MIT licensed with no restrictions.

Performance and Resource Usage

Both tools run primarily in the browser, so server resource usage is minimal:

MetricExcalidrawtldraw
Server RAM~50 MB (Nginx serving static files)~100-256 MB (Node.js)
Browser RAM100-500 MB (depends on canvas size)100-500 MB
Server CPUNegligibleLow
Collaboration OverheadSeparate WebSocket serverIntegrated

Use Cases

Choose Excalidraw If…

  • You want a permissive MIT license with no commercial restrictions
  • You need an official, maintained Docker image
  • You prefer the hand-drawn sketch aesthetic
  • You want library support for reusable stencils and icons
  • You need end-to-end encryption for collaboration
  • You want minimal server resources (static site)

Choose tldraw If…

  • You need the SDK for embedding a whiteboard in your own product
  • You prefer clean, precise drawing over sketchy hand-drawn style
  • You have a commercial license or are using it for personal/hobby projects only
  • You need built-in multiplayer without a separate collaboration server
  • You want more shape types and drawing tools out of the box

Final Verdict

For self-hosting, Excalidraw wins on every practical dimension: official Docker support, MIT license, larger community, and lower resource requirements. The hand-drawn aesthetic is a feature, not a limitation — it makes quick diagrams and brainstorming feel natural. tldraw is a better SDK for embedding whiteboard functionality in your own product, but as a standalone self-hosted whiteboard, Excalidraw is the clear choice. The licensing difference alone makes this decision straightforward for any team or business use case.

Comments