BlogPricing
Free during open beta

Build class diagrams in Raltey

Raltey drafts UML class diagrams from a domain description or pasted code. Visibility, types, and relationships (association, aggregation, composition, inheritance) are inferred automatically.

What you can do

Built for class diagrams that ship.

Try these prompts

Type, paste, done.

1.Class diagram for a domain model: User, Order, Product, Inventory.
2.Paste this TypeScript file and draw a class diagram.
3.Refactor: extract a Payment interface implemented by StripePayment and PaypalPayment.
How it works

From prompt to class diagram in three steps.

  1. 01

    Prompt or paste

    Describe the model or paste real source code.

  2. 02

    Refine relationships

    Adjust cardinality, change inheritance to composition, etc.

  3. 03

    Export

    Share, export, or attach the diagram to a design doc.

Who uses it

  • Design docs
  • Code reviews
  • Refactor planning
  • Teaching OOP

Why Raltey for this

  • Paste real source code and the AI extracts the model.
  • AI suggests refactors (extract interface, collapse hierarchy).

Frequently asked

Does it support interfaces and abstract classes?

Yes, with the standard UML notation (stereotypes, italics).

Is it free?

Raltey's Free plan includes the AI agent, 5 projects, and 10 AI generations per month. No credit card required.

Other diagram guides

Build your first class diagram in Raltey

Free plan includes the AI agent. No card required.