
Graphite - AI-Powered Diagram Editor
Turn text & images into Mermaid, Vega, D2, and Infographics
3 followers
Turn text & images into Mermaid, Vega, D2, and Infographics
3 followers
Graphite is the ultimate AI diagramming tool. Convert text or hand-drawn sketches into professional Mermaid, Vega, D2, and Infographics diagrams instantly. Edit with natural language, visualize data, and export high-quality SVGs.





Hi Product Hunt! 👋
I'm Alex, the creator of Graphite.
As a consultant and architect, I love "diamonds as code" tools like Mermaid and D2, but I hated the friction of looking up syntax or starting from scratch. I also wanted a way to turn my messy whiteboard scribbles directly into clean, editable code.
That's why I built **Graphite**.
Graphite combines the power of LLMs with industry-standard diagramming libraries to give you the best of both worlds:
- Describe complex architectures, flows, or data visualizations in plain English.
- Snap a picture of your napkin sketch, and Graphite converts it to working code.
- We support **Mermaid** (flowcharts, sequences), **D2** (clean architecture diagrams), **Vega** (data charts), and even **Infographics**.
- Don't like text annotations? Want to flip the layout? Just ask the built-in AI assistant to change it.
It's perfect for developers, PMs, and anyone who needs to visualize ideas fast.
Check it out: https://www.graphite-app.com/app?p=How+the+world+economy+works&t=mermaid
I'd love to hear your feedback! What other diagram formats should I add next?
Thanks!