Class diagram generator — turn code into a UML class diagram

Paste TypeScript or Java-style classes and interfaces and get a UML class diagram on an editable canvas. Each class becomes a box with its fields and methods, and extends, implements and typed fields become inheritance, realization and composition arrows. Drag, restyle, and export as PNG or SVG. Everything runs in your browser.