code2uml.vercel.app is a browser-based playground that converts C#, Java, and Python source files into Mermaid class diagrams and renders them as SVG.
- Drag & drop uploader for files plus an inline editor to paste or prototype code.
- Language selector (C#, Java, Python) that enforces per-language extensions.
- Manual “Generate UML” button so you can curate a batch of files/snippets before rendering.
- Dual-preview surface: SVG diagram and the corresponding Mermaid source with copy/export actions.
- Open code2uml.vercel.app.
- Pick the programming language (C#, Java, or Python).
- Either:
- Drop one or more
.cs,.java, or.pyfiles into the upload area (matching the selected language), or - Switch to the “Inline editor” tab, paste/write code, and click “Add snippet as file”.
- Drop one or more
- Review the file queue; remove or rename anything you don’t need.
- Click Generate UML to parse the current queue.
- Use the Preview tab to inspect the SVG (and download it), or switch to Mermaid to copy the generated DSL.