macrostack
Head-to-head · Whiteboards & diagramming

AFFiNE vs tldraw

Both are alternatives to Miro. Here's how they stack up — verified facts, no spin.

Also searched as tldraw vs AFFiNE — same comparison, one verdict.

The short answer

AFFiNE is open source (MPL-2.0) and tldraw is not (tldraw licence (custom — free for many uses; read the terms before commercial embedding)) — so the real question is whether you want to own the whiteboards & diagramming stack or rent it.

91

AFFiNE

Docs and canvas in one — write a page, flip it to a whiteboard.

OPEN SOURCEMPL-2.0SELF-HOSTLOCAL-FIRST

AFFiNE merges the document and the canvas: the same content can be read as a written page or arranged as a whiteboard, switching between the two. That removes a real annoyance — the diagram in Miro and the decision record in Confluence drifting apart until nobody knows which is current. MPL-2.0, self-hostable, local-first, around 50k stars. It is ambitious and still maturing, and the honest caveat is that doing two things well is harder than doing one, which shows in places.

74

tldraw

The canvas as an SDK — embed it in your own product.

SOURCE-AVAILABLEtldraw licence (custom — free for many uses; read the terms before commercial embedding)SELF-HOSTLOCAL-FIRST

tldraw is an infinite canvas that is also a library: the drawing experience is excellent, and the SDK is designed to be embedded so your own application can have a canvas without building one. That dual nature is what distinguishes it — for most people it is a very good free whiteboard, and for a product team it is a component. Licensing is the thing to check: tldraw uses its own licence rather than a standard OSI one, free for many uses with terms for commercial embedding, so read it against your intended use rather than assuming.

Side by side

6 points of comparison, every one read from a verified field. Green marks the side that wins a row outright. A dash means we do not hold that fact — never that it is zero.

 AFFiNEtldraw
Sovereignty ScoreOur transparent 0–100 composite for data ownership and exit cost.9174
Open sourceYesNo
Self-hostableYesYes
Local-first dataYesYes
LicenseMPL-2.0tldraw licence (custom — free for many uses; read the terms before commercial embedding)
PricingFree and open source to self-host. AFFiNE Cloud is a paid hosted option.Free to use. Commercial embedding has its own licence terms.
The verdict

AFFiNE edges it on the Sovereignty Score, but the right pick depends on the trade-offs below.

AFFiNE

Strengths

  • +Document and whiteboard modes over the same content
  • +Local-first — works offline and syncs after
  • +MPL-2.0, self-hostable, with no enterprise carve-out
  • +Removes the drift between a diagram and its written decision

Trade-offs

  • Still maturing; rough edges in both modes
  • Neither mode is quite best-in-class alone
  • Smaller community than the focused tools
  • Self-hosting is more involved than Excalidraw's

tldraw

Strengths

  • +Best drawing feel of anything in this comparison
  • +SDK designed for embedding a canvas in your own product
  • +Very actively developed with a strong design sensibility
  • +Self-hostable

Trade-offs

  • Custom licence, not OSI open source — read it before commercial use
  • Fewer collaboration features than Miro
  • No workshop facilitation tooling
  • Smaller template ecosystem

Which one fits you

The trade-offs above, turned into a decision. Find the line that describes your team.

Choose AFFiNE

if you want the source and the option to fork it, and document and whiteboard modes over the same content.

Choose tldraw

if best drawing feel of anything in this comparison.

Neither, yet

if both carry a real cost you should weigh first — still maturing; rough edges in both modes, and custom licence, not OSI open source — read it before commercial use. If either of those is a dealbreaker for your team, the shortlist is wrong rather than the choice.

AFFiNE vs tldraw — common questions

Is AFFiNE a better fit than tldraw for whiteboards & diagramming?

It depends on what you are optimising for, and the honest split is this: AFFiNE scores 91 to tldraw's 74 on data ownership and exit cost, so it is the safer choice if you care about being able to leave. tldraw earns its place on a different axis — best drawing feel of anything in this comparison. Neither is a wrong answer for every team; the table above is the actual comparison.

What happens if we want to switch later?

AFFiNE keeps its data local or in open formats, so leaving is an export rather than a negotiation. tldraw is still self-hostable, so the files stay on your server either way — but it is not local-first by design, so check what its export produces before you rely on it.

Can I self-host AFFiNE or tldraw?

Both can be self-hosted. The difference is what it costs you in time rather than whether it is possible — see the setup and maintenance rows above.

Are AFFiNE and tldraw both alternatives to Miro?

Yes — both appear in our Miro comparison, which is why they are worth putting side by side. People usually arrive here already having decided to move off Miro and now choosing between the two replacements, which is a narrower and much easier question.

See all 5 Miro alternatives →

Related alternative guides

Facts verified 2026-08-04. Licenses and pricing change — spotted something out of date? That's a correction we want.

The Macrostack brief

New swaps, worth your inbox.

A short, occasional email when we add a high-intent alternative or ship a new head-to-head. No spam, no selling your address — unsubscribe in one click.