Interactive architecture diagrams
A clear map of any codebase: services, modules and the connections between them, drawn in seconds.
Turn any GitHub repository into an interactive diagram for visualization.
Or, replace 'hub' with 'diagram' in any GitHub URL.
$0
Free to use, no account needed
1
URL change: github → gitdiagram
2
Export formats: PNG and Mermaid
100%
Open source on GitHub
Three steps, no setup. GitDiagram does the reading so you can get straight to understanding.
Enter owner/repo or any GitHub URL. Or replace “hub” with “diagram” in the address bar of any repository page.
GitDiagram reads the file tree, the README and key source files, then maps the components and how they connect.
Zoom and pan, click any component to jump to its source on GitHub, and export the result as PNG or Mermaid.
Built for engineers who need to understand unfamiliar code quickly, and for the AI tools they work with.
A clear map of any codebase: services, modules and the connections between them, drawn in seconds.
Click into any module, file or function, trace a feature end to end, see what breaks if it changes, and ask Gemma. Answers cite the exact lines.
Drop the diagram into docs, slides or a pull request, or keep editing the Mermaid source yourself.
Use your own GitHub token for private code. The token stays in a secure cookie and is never saved on our servers.
Every diagram is also Markdown at /owner/repo.md, and an MCP server lets assistants look up diagrams directly.
Add your own OpenAI API key for unlimited generations on your account, whenever you need more.
Whether you are joining a team, reviewing a dependency or teaching system design, a diagram gets everyone on the same page.
Understand a new codebase on day one instead of week three.
See how a project fits together before you open your first pull request.
Learn real architecture from production projects like FastAPI and Flask.
Export an up-to-date diagram for design docs, READMEs and architecture reviews.
Anything else? Open an issue on GitHub or visit the support page.
Yes. Generating and viewing diagrams of public repositories is free and needs no account. You can add your own API key if you want to generate more.
Yes. Open Private Repos in the navigation and paste a fine-grained GitHub token that can read the repository. The token is sent with each request and never stored on our servers.
Replace “hub” with “diagram” in any GitHub URL. github.com/owner/repo becomes the same path on GitDiagram and opens that repository’s diagram.
You can export it as a PNG image or copy the Mermaid source, then edit it in any Mermaid-compatible tool or paste it straight into Markdown.
Yes. Each repository’s diagram is available as Markdown at /owner/repo.md, and the MCP server at /mcp lets assistants like Claude and ChatGPT find and open diagrams.
Paste a repository and get an interactive diagram in seconds. Free, open source, no sign-up.