Open Source Microsoft Visio Alternatives
A curated collection of the 4 best open source alternatives to Microsoft Visio.
The best open source alternative to Microsoft Visio is Excalidraw. If that doesn't suit you, we've compiled a ranked list of other open source Microsoft Visio alternatives to help you find a suitable replacement. Other interesting open source alternatives to Microsoft Visio are: Mermaid, drawDB and draw.io.
Microsoft Visio alternatives are mainly Business Intelligence & Reporting but may also be Collaboration & Communication or Design & Visualization. Browse these if you want a narrower list of alternatives or looking for a specific functionality of Microsoft Visio.
An open source virtual whiteboard for hand-drawn style diagrams and wireframes, collaborative, end-to-end encrypted and embeddable as an npm package.

Excalidraw is a virtual whiteboard with a deliberately hand-drawn look. Sketches made in it read as sketches, and that is the point, since a diagram that looks provisional invites the comments a polished one quietly shuts down.
The repository holds two things. One is the editor itself, published as an npm package for embedding in your own React application. The other is the whiteboard the project hosts publicly, a minimal showcase of what the editor can do, whose source lives in the same repository.
The editor covers the drawing work.
- Infinite canvas: rectangles, circles, diamonds, arrows, lines, free drawing and an eraser, with zoom and panning.
- Arrow binding: arrows attach to shapes and carry labels, so a diagram survives being rearranged.
- Export: PNG, SVG and clipboard, plus an open JSON format saved as a single drawing file.
- Libraries and images: shape libraries and image support widen what a board can hold.
- Interface: dark mode, undo and redo, localization and customization throughout.
The hosted app adds real-time collaboration with end-to-end encryption, local-first autosaving to the browser, offline use as a progressive web app and read-only shareable links. Those features are planned as drop-in plugins for the npm package later. Installing the package needs React and React DOM. A VS Code extension exists, and the editor is already embedded in a number of well-known products.
JavaScript diagramming tool that renders flowcharts, sequence diagrams and more from Markdown-like text, so developer documentation stops going stale.

Documentation rot is the problem Mermaid was built against. Diagrams cost developer time and go out of date quickly, but going without them hurts productivity and organizational learning, so Mermaid makes the diagram cheap enough to keep current.
It is a JavaScript diagramming and charting tool that pairs Markdown-inspired text definitions with a renderer. Because a diagram is text, it diffs and reviews like code, can be generated inside production scripts, and renders directly in Markdown on GitHub. The Live Editor gives non-programmers a way to build one without touching a build step.
The feature set stays close to that idea.
- Over twenty diagram types: flowchart, sequence, class, state, entity relationship, Gantt, pie, git graph, mindmap, timeline and Sankey among them.
- Customization: themes, colors, fonts and layout directions.
- Sandboxed rendering: a security level renders inside a sandboxed iframe so scripts in user-submitted text cannot execute, at the cost of some interactivity.
- Small footprint: no heavy dependencies to carry into a page.
- Companion projects: a command line interface, the Live Editor and a rendering server.
Public sites that accept diagram text from users are the case the security work addresses, since standard sanitization breaks diagram syntax. Mermaid is MIT licensed, released frequently, and leans on d3 and dagre-d3 for graphical layout. It won a JS Open Source Award in 2019.
Browser-based database diagram editor that builds entity relationship models, imports and exports SQL and generates migrations without an account.

drawDB is a database schema editor and SQL generator that runs entirely in a browser tab. Sketching a data model usually means either a heavy desktop modelling tool or a diagram app that knows nothing about SQL, and this sits between the two.
Diagrams are built in a few clicks, and the result is a real entity relationship diagram editor rather than a drawing surface with table shapes on it. No account is needed to use it, so a schema can be sketched and discarded without leaving anything behind.
The parts that matter are the ones connecting a diagram to real SQL.
- SQL export: turn a finished diagram into a script for your database.
- SQL import: bring an existing schema in and get a diagram back from it.
- Migrations: generate migration scripts as the model changes.
- Editor customization: adjust the workspace to match how you work.
- Sharing: optional, and it needs the separate drawDB server plus environment variables set from the sample file.
Running it yourself takes a clone, an npm install and either a dev server or a production build. A Dockerfile is included, so a container build and a port mapping are enough to serve it on a local network. Everything except sharing works from the static build alone, which makes it cheap to keep an instance around for occasional schema work.
Diagramming and whiteboarding you can run yourself, from a Docker image, a desktop build or your own GitHub Pages fork.

Jointly owned and developed by draw.io Ltd and draw.io AG, draw.io is a configurable diagramming and whiteboarding application whose editor source lives in this repository. The same code backs the production deployment those companies operate, so a team can host the tool rather than depend on somebody else's servers.
Scope is deliberately narrow. It is a diagramming and whiteboarding application, not an SVG editor; SVG export exists for embedding in web pages rather than for editing elsewhere, and this version does not support real-time collaborative editing.
There are several ways to run it.
- GitHub Pages: a fork published there gives a fully functional editor, without the integrations.
- Docker image: an official image is maintained in a separate repository.
- Desktop: draw.io Desktop is available as a downloadable application.
- WAR files: packaged builds are attached to the releases page.
- Browsers: Chrome 123, Firefox 120, Safari 17.5, Opera 109 and Edge 123 upward are supported, plus recent Android WebView and iOS Safari.
The source is Apache 2.0, while the icon sets, stencil libraries and diagram templates carry a restriction against use as software assets in Atlassian products or the Atlassian marketplace, a restriction that does not touch the diagrams you export. No copyright is claimed on what you create. The core team develops the project alone and does not accept pull requests, so the issue tracker and discussions are where problems get raised.