Back to Tools
📊

Online Diagram Editor (Mermaid, PlantUML)
NEW

Create diagrams from code with this online editor. Supports Mermaid and PlantUML syntax for flowcharts, sequence diagrams, and more. Features real-time preview and SVG/PNG export.

Features

Mermaid Diagrams
PlantUML Diagrams
Multi-format Export
+1 more features

Diagram Tools

Diagram Type:
Template:

Code Editor

Code Length: 0 common.characters

Preview

Diagram preview will be displayed here

Help

Common Syntax

  • • graph TD - Top-down Flowchart
  • • sequenceDiagram - Sequence Diagram
  • • classDiagram - Class Diagram
  • • gantt - Gantt Chart

Node Shapes

  • • A[矩形] - Rectangle
  • • B(圆角矩形) - Rounded Rectangle
  • • C{菱形} - Diamond
  • • D((圆形)) - Circle

Usage Examples

Basic Usage

Diagram Tools Usage Example

Usage Steps:

  1. Select Type - Choose between Mermaid or PlantUML diagram types
  2. Choose Template - Select an appropriate diagram template from the presets to get started
  3. Write Code - Enter or modify the diagram code in the code editor
  4. Real-time Preview - View the real-time rendering effects of your diagram as you type
  5. Export Diagram - Export the finished diagram as an SVG or PNG file

Features:

  • Mermaid Support - Supports flowcharts, sequence diagrams, class diagrams, Gantt charts, and more
  • PlantUML Support - Supports use case diagrams, activity diagrams, component diagrams, sequence diagrams, etc.
  • Real-time Preview - Automatically re-renders after code modification, providing a WYSIWYG experience
  • Template Library - Built-in common diagram templates for a quick start
  • Multi-format Export - Supports SVG vector format and PNG bitmap format
  • Syntax Help - Built-in syntax help for quickly learning the diagram syntax

Use Cases:

  • System Design - Draw system architecture diagrams and flowcharts for planning
  • Requirements Analysis - Create use case diagrams and activity diagrams to define needs
  • Project Management - Create Gantt charts and project timelines to track progress
  • Code Documentation - Generate class diagrams and component diagrams for code projects
  • Business Process Modeling - Organize and visualize complex business processes
  • Teaching & Demos - Create educational diagrams and illustrations for presentations