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.
- Generate from a prompt or paste source code.
- Auto-infer relationships and cardinality.
- Public, private, protected visibility, abstract classes, interfaces.
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.
- 01
Prompt or paste
Describe the model or paste real source code.
- 02
Refine relationships
Adjust cardinality, change inheritance to composition, etc.
- 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 flowcharts with RalteyBuild mind maps with RalteyDesign database schemas in RalteyBuild entity relationship diagrams (ERDs) in RalteyBuild UML diagrams in RalteyBuild sequence diagrams in RalteyBuild activity diagrams in RalteyBuild state diagrams in RalteyBuild use case diagrams in RalteyBuild swimlane diagrams in RalteyBuild system architecture diagrams in RalteyBuild AWS architecture diagrams in Raltey
Build your first class diagram in Raltey
Free plan includes the AI agent. No card required.