🎁Registered users can claim 5 credits dailyLimited
Mermaid · PlantUML · Draw.io · Mind Map

AI Diagram Generator for Mermaid, PlantUML, Draw.io, and Mind Maps

Generate, edit, preview, and export diagrams in four modes within one AI-powered workspace

Workflow Videos

Create Diagrams From Text Or Images

Explore four example workflows. OnUML supports text and image inputs, editable diagrams, mind maps, and one-click AI repair when diagram code breaks.

Draw.io diagrams with AI

Create flexible Draw.io diagrams from text, images, and other source materials with AI. OnUML turns your ideas into editable diagrams with rich built-in shapes, so you can drag, drop, connect, resize, and refine everything directly on the page.

PlantUML and Mermaid diagrams

Generate PlantUML and Mermaid diagrams quickly with AI, then refine them through prompts or code. OnUML renders changes in real time, so you can keep the diagram, source code, and AI editing flow together.

Professional mind maps

Unlike the mind map syntax inside PlantUML or Mermaid, OnUML supports a professional mind map diagram type built for structured thinking. Create and refine mind maps with AI, then add, move, and edit nodes directly on the page without switching back to code.

AI diagram code repair

When PlantUML or Mermaid code has syntax errors, paste it into the code editor and repair it with one click. OnUML helps fix broken diagram code quickly so you can render and continue editing without manual debugging.

Diagram Modes / Use Cases

Choose The Right Mode For Your Diagram

OnUML brings Mermaid, PlantUML, Draw.io, and Mind Map workflows into one AI-powered workspace.

Choose the mode that matches your work. Mermaid fits quick documentation, PlantUML handles formal UML and technical modeling, Draw.io provides a freeform visual canvas, and Mind Map organizes plans and ideas into editable branches.

Mermaid

Mermaid live editor

A lightweight text DSL with markdown-style syntax for fast documentation-driven diagrams.

Characteristics

A lightweight text DSL with markdown-style syntax for fast documentation-driven diagrams.

Highlight

The biggest strength of Mermaid is simplicity. It is lightweight, the easiest to learn, visually modern, and especially effective when you want diagrams to live directly inside Markdown content.

Supported diagram types

  • Flowchart
  • Sequence
  • Gantt
  • State
  • Basic ER

PlantUML

PlantUML online editor

An engineering-oriented text DSL for formal UML and complex architecture modeling.

Characteristics

An engineering-oriented text DSL for formal UML and complex architecture modeling.

Highlight

Compared with Mermaid, PlantUML supports a wider range of complex and formal diagram types. The tradeoff is that the code is usually more detailed and more complex to write.

Supported diagram types

  • Class
  • Sequence
  • Use Case
  • Component
  • Deployment
  • C4

Draw.io

Draw.io XML editor

A visual drag-and-drop editor for freeform diagrams, presentation visuals, and whiteboard-style layouts.

Characteristics

A visual drag-and-drop editor for freeform diagrams, presentation visuals, and whiteboard-style layouts.

Highlight

Compared with Mermaid and PlantUML, Draw.io stands out for direct drag-and-drop editing in the UI. It offers the highest layout freedom across many diagram styles and requires no coding at all.

Supported diagram types

  • Architecture Diagram
  • Flowchart
  • UML
  • Org Chart
  • Network Diagram
  • Whiteboard Layout

Mind Map

Visual mind map

A visual, node-based mode for brainstorming, planning, learning, and organizing hierarchical ideas.

Characteristics

A visual, node-based mode for brainstorming, planning, learning, and organizing hierarchical ideas.

Highlight

Generate a structured map with AI, then add, move, and edit nodes directly without maintaining diagram syntax.

Supported diagram types

  • Brainstorming
  • Project Plan
  • Knowledge Map
  • Study Notes
  • Meeting Summary
Features

Core Features Of The AI Diagram Generator

Create and refine Mermaid, PlantUML, Draw.io, and Mind Map diagrams with AI generation, visual or code editing, live preview, history, export, and sharing

AI-Powered Diagram Generation
Generate Mermaid, PlantUML, Draw.io, and Mind Map diagrams from natural-language or supported image inputs, then keep refining them in the editor
Multi-Diagram Mode Support
Switch between Mermaid, PlantUML, Draw.io, and Mind Map modes in one workspace and view changes in real time
Code Version History
Save and manage multiple historical versions, quickly restore earlier content, and reduce the risk of accidental deletion or code loss
One-Click Code Repair
Automatically detect diagram code issues and fix them in one click, reducing manual debugging and repeated edits
Project-Based Organization
Organize and save diagram content by project for easier lookup, management, and continued editing
Export And Share
Export to PNG or SVG and share polished diagrams with your team through shareable links

Project plans and AI credits

Pro increases account capacity for projects, workspaces, and image upload. Credits stay separate as an AI usage add-on.

Free

$0forever

Core editor access with fair-use limits for personal work.

Pro Monthly

$8/momonthly

Unlock image upload, expanded project capacity, and workspaces with a monthly subscription.

Pro Yearly

$79/yryearly

Unlock image upload, expanded project capacity, and workspaces with a yearly subscription.

CapabilityFreePro MonthlyPro Yearly
Diagrams per project2 diagrams10 diagrams10 diagrams
Cloud projects per workspace10 projectsUnlimitedUnlimited
Workspaces2 workspacesUnlimitedUnlimited
Image uploadNot includedIncludedIncluded
Free model requests10 per dayNo daily limitNo daily limit
Monthly included creditsNone500 credits500 credits
RepairFixed credit costFixed credit costFixed credit cost

AI usage add-on credits

Buy credits for extra AI generation, image understanding, premium model runs, and fixed-cost Repair. Credits do not unlock diagrams, project, workspace.

Credits expire 6 months after they are issued.

Starter

$4.90one-time
240 credits
Standard AI
~240 requests
Premium AI
~20 requests
Sign in to Buy

Popular

Popular
$9.90one-time
500 credits
Standard AI
~500 requests
Premium AI
~41 requests
Sign in to Buy

Pro Pack

$19.90one-time
1,100 credits
Standard AI
~1,100 requests
Premium AI
~91 requests
Sign in to Buy
Process

Create And Deliver Diagrams In Three Steps

Choose the right mode first, describe what you need, then refine and export or share the final result

1
Choose Mermaid / PlantUML / Draw.io / Mind Map

Pick the mode that fits your workflow: Mermaid for quick docs, PlantUML for formal UML, Draw.io for freeform visual diagrams, or Mind Map for structured ideas

2
Describe Or Start From A Template

Use a prompt, rough structure, or template to generate a first draft faster and avoid starting from scratch

3
Edit, Preview, And Export

Refine the diagram, check the rendered result in real time, then export PNG or SVG files or share the finished diagram with a link

FAQ

Frequently Asked Questions

Quickly learn about OnUML's core capabilities, how it works, and pricing

What is OnUML?

OnUML is an AI diagram generator and online UML editor that brings Mermaid, PlantUML, Draw.io, and Mind Map workflows into one workspace. It supports natural-language generation, code or visual editing, live preview, repair, history, export, and sharing.

Are there any usage limits?

OnUML has reasonable usage limits to keep the service stable and the overall experience consistent. For most regular users, day-to-day use will not be affected.

What diagram types are supported?

OnUML supports four modes: Mermaid, PlantUML, Draw.io, and Mind Map. You can create, edit, preview, and switch between them in one workspace.

How can I save my diagrams?

You can export diagrams as PNG, SVG, and other formats. If you create an account, you can also save diagrams by project for easier access, management, and continued editing later.

What is the difference between the four diagram modes?

Mermaid is best for lightweight diagrams in documentation, PlantUML for formal UML and technical modeling, Draw.io for freeform visual layouts, and Mind Map for brainstorming and hierarchical planning.

Is OnUML free?

OnUML offers a Free plan with usage and project limits. Pro increases project and workspace capacity, while AI credits cover additional and premium AI usage. See Pricing for current limits and prices.