445 / 20,000 characters. Any language. One function at a time gives the clearest chart.
Frequently asked questions
How do I convert code to a flowchart?
Paste a function or a short file into the box and click Generate flowchart. The AI reads the control flow (decisions, loops, returns and errors) and draws it as a flowchart you can download as PNG or SVG, copy as Mermaid code, or open as an editable Visio file.
Which programming languages are supported?
Any language the AI can read, which covers Python, JavaScript, TypeScript, Java, C, C++, C#, Go, Rust, PHP, Ruby, SQL stored procedures and pseudocode. You don't need to say which language it is.
How much does it cost?
Your first 3 conversions are free, shared with our other AI tools. After that each flowchart uses 1 credit; credits are 30 for $5, with no subscription, and they never expire. If a run fails, the credit is returned automatically.
How long can the code be?
Up to 20,000 characters, roughly 400 lines. Flowcharts are clearest for one function or one module at a time; for a large file, chart its main functions separately.
Can I edit the flowchart?
Yes. The flowchart is Mermaid code, so you can copy it into any Mermaid editor, a GitHub README or Notion, or open it in our editor. Click Visio (.vsdx) to get an editable Microsoft Visio file with real shapes and connectors.
Is my code stored?
No. Your code is sent to our AI provider once to draw the flowchart and is not saved. It stays in this browser only so that it's still here if you sign in or buy credits.
Other converters
- Excel to flowchart: process steps from a spreadsheet, free
- Mermaid to Visio: any Mermaid flowchart as an editable .vsdx
- Mermaid to PNG: PNG and SVG images of any Mermaid diagram, free
- Image to Mermaid: a screenshot or photo of a flowchart, read by AI