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 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 - 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)
- 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 - 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 macOS App - Lightweight desktop application
- 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 macOS 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 (for building macOS apps)
# 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 macOS desktop app
npm run tauri:buildThe built app will be in src-tauri/target/release/bundle/:
.appfile for macOS.dmginstaller
Important: The app is currently unsigned (not code-signed). macOS may show a "damaged" warning 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
โ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 (Windows, 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
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 | โ 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.