Comparison
Excalidraw vs draw.io Desktop
Excalidraw: a whiteboard with a hand-drawn look. draw.io Desktop: a diagram and flowchart app. The facts below set the two side by side.

What it is
ExcalidrawA whiteboard with a hand-drawn look
draw.io DesktopA diagram and flowchart app
Works on
ExcalidrawAny web browser
draw.io DesktopWindows, Mac, Linux
Cost
ExcalidrawFree
draw.io DesktopFree
License
ExcalidrawOpen-source (MIT)
draw.io DesktopOpen-source (GPL-3.0)
Good to know
ExcalidrawThere is also a paid product called Excalidraw+. The whiteboard at excalidraw.com is the free one.
draw.io DesktopThere is no private support for non-paying users. Help comes through the project's public pages.
The two tools
Excalidraw
A whiteboard with a hand-drawn look.
Works on Any web browser. Free, Open-source.
draw.io Desktop
A diagram and flowchart app.
Works on Windows, Mac, Linux. Free, Open-source.
These two do not need to compete: pick the one that fits the job in front of you. Each tool's details were checked against the project's own page.