No tool matches “”

Try a format (“webp”, “mp3”) or a verb (“merge”, “compress”).

Loading index

↵to open

Diagram Tools · Updated November 10, 2026 · Reviewed by FormatFlow Editorial

UML Class Diagram Maker

You can build a UML class diagram in your browser by adding classes with attributes and methods, connecting them with inheritance, association, composition, aggregation or dependency arrows, and export as SVG, PNG, PDF or Mermaid source.

Runs in your browserFree · No sign-up · No watermark
UML class diagramRuns in your browser
Loading the tool…

Everything runs locally in this tab. No file is uploaded while the tool loads.

This tool runs in your tab. Nothing is uploaded and no copy is stored.

How files are handled

Key facts

Category
Diagram Tools
Processing
In your browser — nothing is uploaded
Input formats
Classes/Relationships
Output format
SVG/PNG/PDF/MMD
Maximum size
30 classes
Requirements
Chrome, Edge, Firefox or Safari with JavaScript enabled · No installation or account; diagrams render on your device
Price
Free, no account, no watermark
Last updated
Nov 10, 2026

SummaryUML Diagram Maker is a free online diagram tools tool. You can build a UML class diagram in your browser by adding classes with attributes and methods, connecting them with inheritance, association, composition, aggregation or dependency arrows, and export as SVG, PNG, PDF or Mermaid source. A class diagram is a structured artifact: a handful of classes with typed attributes and methods, plus relationships that say how they depend on each other. Freehand drawing tools make that structure easy to break; a form-based editor keeps the model valid while you work. It runs in your browser — nothing is uploaded. It accepts Classes/Relationships and produces SVG/PNG/PDF/MMD. The maximum size is 30 classes. The editor does not perform UML validation beyond structure; it cannot judge whether a composition or multiplicity is semantically correct. Layout is automatic through Mermaid, so classes cannot be dragged into a specific arrangement.

At a glance

Works with
UML class diagram
Processing
In your browser
Max size
30 classes
Price
Free, no account
Updated
November 10, 2026
All Diagram Tools

About UML Diagram Maker

A class diagram is a structured artifact: a handful of classes with typed attributes and methods, plus relationships that say how they depend on each other. Freehand drawing tools make that structure easy to break; a form-based editor keeps the model valid while you work.

This maker keeps a list of classes and a list of relationships, generates a Mermaid classDiagram from them, and renders it live. Inheritance, association, composition, aggregation and dependency map to Mermaid's own arrows, and the finished diagram exports as SVG, PNG, PDF or the generated .mmd source.

What this tool does

The details that matter when you use UML Diagram Maker for real work.
  • Classes with members

    Each class has a name, one attribute per line as name: type, and one method per line as name(params): return type.

  • Five relationship types

    Inheritance, association, composition, aggregation and dependency generate the correct Mermaid classDiagram arrows.

  • Labels and multiplicity

    Relationships accept a label and a multiplicity, so one-to-many and usage notes appear on the diagram.

  • Validation before export

    Duplicate class names, duplicate relationships and missing classes are reported, and export stays disabled until the model is valid.

  • Library and payment templates

    Two worked templates show a class model from start to finish; load one and edit the classes for your own domain.

  • SVG, PNG, PDF and .mmd export

    Export a vector image, a 2x PNG, or the Mermaid source to keep alongside the code.

How to use UML Diagram Maker

No account, no installation — the whole job happens in this browser tab.
  1. 01

    Add your classes

    Click Add class for each type in the model and give it a name; up to 30 classes are supported.

  2. 02

    Fill in attributes and methods

    Write attributes one per line as name: type and methods one per line as name(params): return type.

  3. 03

    Connect the classes

    Add a relationship, choose the from and to classes, pick the arrow type, and optionally add a label and multiplicity.

  4. 04

    Check the preview and validation

    The Mermaid class diagram renders as you edit; fix any duplicate names or missing endpoints reported above the preview.

  5. 05

    Export the diagram

    Download SVG for documents, a 2x PNG for slides, a one-page PDF, or the .mmd source for version control and further editing.

How this tool works

Works with
UML class diagram
Processing
Client-side, in your browser. Nothing is uploaded.
Maximum size
30 classes
Requirements
Chrome, Edge, Firefox or Safari with JavaScript enabled · No installation or account; diagrams render on your device

Limitations worth knowing

  • The editor does not perform UML validation beyond structure; it cannot judge whether a composition or multiplicity is semantically correct.
  • Layout is automatic through Mermaid, so classes cannot be dragged into a specific arrangement.
  • Diagrams are limited to 30 classes, and the source is regenerated from the form, so hand-written classDiagram syntax cannot be imported back into the editor.
  • PNG export is a fixed 2x raster; SVG is better for print and further editing.

Privacy and file handling

Your class model and the generated Mermaid source stay in this browser tab. The diagram is never uploaded, no copy is stored on a server, and no network request carries the model. SVG, PNG, PDF and .mmd exports are produced locally.

Read the full privacy policy

UML Diagram Maker FAQ

Short, direct answers to the questions people ask before using this tool.
How do I write attributes and methods?
One per line. Attributes use name: type, for example id: string. Methods use name(params): return, for example save(): boolean. Empty lines are ignored and Mermaid receives a + prefixed member for each valid line.
Which arrows do the relationship types produce?
Inheritance uses Mermaid's <|-- arrow, association -->, composition *--, aggregation o-- and dependency ..>. The from class is the source side and the to class is the target side.
Why is the export button disabled?
The model is invalid: there is no class yet, a class name appears twice, a relationship is duplicated, or a relationship points at a missing class. Fix the reported issue and export becomes available.
How many classes can a diagram have?
Up to 30 classes per diagram. Relationships have no separate hard cap in the editor, but very large models make Mermaid's automatic layout slower.
Does the tool validate UML semantics?
No. It validates structure such as duplicate names and missing endpoints, but it does not judge whether a composition is the right model or whether multiplicities are complete.
Can I edit the generated Mermaid later?
Yes. Download the .mmd file, paste it into the Mermaid editor or a docs pipeline, and edit the classDiagram source directly.
Is the diagram uploaded?
No. The model and the Mermaid rendering run in this browser tab; nothing is sent to a server, stored or logged, and the exports are generated locally.
What is a good first template?
Start with the library template to see classes, attributes, methods and relationships together, then replace the classes with your own domain and adjust the arrows.

Background reading

Format guides that explain the trade-offs behind UML Diagram Maker.