Mermalaid helps you create Mermaid diagrams faster, without paywalls or sign-ups. Build flowcharts, sequence diagrams, class diagrams, and more with live preview and visual editing. The source code is available under CC BY-NC-SA 4.0 (non-commercial).
If you need a free Mermaid editor without limits, subscriptions, or account walls, Mermalaid is built for you. It stays free and source-available, with no document caps and no premium lock-in.
- β 100% Free - No usage limits, no hidden fees, no premium upsell
- β Source-available Codebase - Full source under CC BY-NC-SA 4.0 (non-commercial)
- β No Sign-Up Required - Open the editor and start diagramming instantly
- β Unlimited Diagrams - Create as many Mermaid charts as you need
- β Professional Features - Live preview, visual editor, syntax checks, flexible export, and private share links
- β Privacy-First - Your diagrams stay local; no cloud sync required
- β Web & Desktop - Use it in your browser or as a native macOS or Windows app
Visit Mermalaid to start creating Mermaid diagrams instantly in your browserβno installation needed.
- Download the latest release from GitHub Releases
- Install the
.dmgfile on macOS or the x64.exesetup file on Windows - Start creating unlimited free Mermaid diagrams
- π΄ββ οΈ IMPORTANT: Follow this step: Installing the Desktop App.
Mermalaid includes the features teams usually pay for, while staying free to use:
- Monaco Editor - Write Mermaid with robust syntax highlighting
- Live Preview - See updates in real time with smooth debounced rendering (500ms)
- Resizable Panels - Drag the divider to set the editor width; your layout is saved across sessions
- Visual Editor - Drag and connect flowchart nodes, then sync changes back to code
- Real-time Syntax Validation - Catch errors early and fix faster
- Auto-save - Keep work in local storage so progress is not lost
- Dark/Light Mode - Work comfortably in your preferred theme
- beautiful-mermaid Themes - Style both diagrams and app UI with curated themes
- Toast Notifications - Get clear feedback for save, export, and error actions
- AI Syntax Fix - Fix broken Mermaid syntax quickly using your own OpenAI API key (stored locally on your machine)
- Open Files - Import
.mmd,.txt, or.mdfiles - Live Reload (desktop) - Edit the open file in any external editor; Mermalaid re-renders on save
- Save Diagrams - Export Mermaid diagrams to local files
- Export Options:
- SVG Export - Vector graphics for presentations and documents
- PNG Export - Raster images for documentation and web use
- ASCII Export - Unicode box-drawing for terminals (flowcharts, state, sequence, class, ER diagrams)
- Copy to Clipboard - Copy Markdown-ready Mermaid blocks for docs and GitHub
- Private URL Share - Copy private link stores encrypted diagram data in the URL fragment only (no upload, no server-side storage)
Create diagrams across the full Mermaid ecosystem:
- Flowcharts (
graph,flowchart) - Sequence Diagrams (
sequenceDiagram) - Class Diagrams (
classDiagram,classDiagram-v2) - State Diagrams (
stateDiagram,stateDiagram-v2) - Entity Relationship Diagrams (
erDiagram) - User Journey (
journey) - Gantt Charts (
gantt) - Pie Charts (
pie) - Git Graphs (
gitGraph) - And More - Broad Mermaid.js coverage
- Web Application - Works in any modern browser
- Native Desktop App - Lightweight application for macOS and Windows
- Vercel Hosting - Static Vite deployment with preview and production URLs
- Tauri - Lightweight, secure, native desktop framework (~10MB vs ~100MB+ Electron apps)
- React + TypeScript - Modern, type-safe UI development
- Monaco Editor - The same editor that powers VS Code
- beautiful-mermaid - Beautiful, themed Mermaid diagram rendering with customizable themes
- @xyflow/react - Visual editor for drag-and-drop flowchart editing
Mermalaid uses Tauri instead of Electron for a superior experience:
- π Much smaller app size (~10MB vs ~100MB+ for Electron)
- β‘ Better performance using system webview instead of bundled Chromium
- π Enhanced security with Rust backend
- π° Lower memory usage - Runs efficiently on any machine
- π― Better native integration - Feels like a real native app
Mermalaid works well for:
- Software Developers - Document architecture, workflows, and system design
- Technical Writers - Add clear diagrams to docs and tutorials
- Project Managers - Visualize processes and delivery plans
- Students - Create diagrams for assignments and presentations
- DevOps Engineers - Map infrastructure and deployment pipelines
- Anyone - Build Mermaid diagrams without limits or subscriptions
Try these examples in Mermalaid:
graph TD
A[Start] --> B{Decision}
B -->|Yes| C[Action 1]
B -->|No| D[Action 2]
C --> E[End]
D --> E
sequenceDiagram
Alice->>Bob: Hello Bob, how are you?
Bob-->>Alice: Great!
classDiagram
class Animal {
+String name
+int age
+eat()
}
class Dog {
+bark()
}
Animal <|-- Dog
- Node.js 18+
- Rust (Tauri will install automatically if not present)
- macOS (to build the macOS app) or Windows 10/11 with the Microsoft C++ Build Tools (to build the Windows installer)
# Install dependencies
npm install
# Run Tauri in development mode (desktop app)
npm run tauri:dev
# Or run web version only
npm run devThis will:
- Start the Vite dev server on
http://localhost:5173 - Launch Tauri with the development server (if using desktop)
- Hot reload your React app
# Build web assets
npm run build
# Build the desktop app for the current platform
npm run tauri:buildThe built app will be in src-tauri/target/release/bundle/:
- macOS:
.appbundle and.dmginstaller - Windows: x64 NSIS
.exeinstaller
Important: The app is currently unsigned (not code-signed), so macOS warns you the first time you open the app and Windows warns you when you run the installer.
macOS may report the app as "damaged" when you first open it.
Recommended Installation Method:
# 1. Copy the app from the DMG to Applications
cp -R /Volumes/Mermalaid_*/Mermalaid.app /Applications/
# 2. Remove quarantine attribute
xattr -cr /Applications/Mermalaid.app
# 3. Open the app
open /Applications/Mermalaid.appAlternative: System Settings
- Open System Settings β Privacy & Security
- Scroll down to see the blocked app message
- Click "Open Anyway" next to the Mermalaid warning
- Click "Open" in the confirmation dialog
The installer is unsigned, so SmartScreen shows "Windows protected your PC" when you run the .exe. Click More info, then Run anyway to continue with the installation.
βN(Mac) /Ctrl+N(Windows/Linux): New diagramβO/Ctrl+O: Open fileβS/Ctrl+S: Save file
Mermalaid is source-available and welcomes contributions! See CONTRIBUTING.md for guidelines.
Areas where contributions are especially welcome:
- Additional Mermaid diagram types
- Export formats (PDF, etc.)
- Platform support (Linux)
- Performance improvements
- Documentation and examples
- Contributing Guide - How to contribute to Mermalaid
- Project Structure - Codebase organization and file structure
- Deployment Guide - Deploy the Mermalaid web version on Vercel
- AI Agent Integration - Let Claude, Cursor & other MCP agents edit diagrams live
Tauri won't start:
- Make sure Rust is installed:
rustc --version - Tauri will prompt to install Rust if missing
- Check that port 5173 is available for dev server
Build fails:
- Ensure you've run
npm run buildfirst - Check that
dist/directory exists with built files - On macOS, you may need to allow the app in Security & Privacy settings
App size concerns:
- Tauri apps are much smaller than Electron (~10MB vs ~100MB+)
- First build may take longer as Rust compiles dependencies
This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License.
CC BY-NC-SA 4.0 - Free to use, modify, and share for non-commercial use.
Because this license includes a non-commercial clause, Mermalaid is source-available rather than OSI open source.
| Feature | Mermalaid | Other Tools |
|---|---|---|
| Cost | β 100% Free | β Free tier with limits, paid for unlimited |
| Source-available | β Yes (CC BY-NC-SA 4.0, non-commercial) | β Usually closed source |
| Document Limits | β Unlimited | β Often 3-5 documents max |
| Sign-Up Required | β No | β Usually required |
| Privacy | β Local storage only | β Cloud sync required |
| Export Options | β SVG, PNG, ASCII | β /β Varies |
| Syntax Validation | β Real-time | β /β Varies |
| Desktop App | β Native macOS and Windows | β Often web-only |
| Visual Editor | β Yes (flowcharts) | β Usually code-only |
β Star this repo if you find Mermalaid useful for creating free, unlimited Mermaid diagrams!
π Share Mermalaid with others who need a completely free, source-available Mermaid editor.
π¬ Have questions? Open an issue or check our documentation.
Mermalaid - Free Mermaid Diagram Editor. Source-available. 100% free. Forever.