Skip to content
BENIBIX Learn

draw.io

Design🛠️ Design ToolsDiagram Tools

Also known as diagrams.net, draw.io Desktop, drawio

A free tool for neat diagrams. You drag shapes from libraries and save the file anywhere.

Think of it like

It is like a free set of stencils for drawing neat charts.

Example

Jack draws his company's network in draw.io. He keeps the .drawio file in the same Git repo as the code, so changes get reviewed like code.

Why it matters

It costs nothing and needs no account. That makes it a common choice for diagrams inside company docs.

Definition

draw.io is a free diagramming tool for the web and the desktop. You drag shapes from big libraries, for flowcharts, networks, cloud setups and UML. It saves your files where you choose, such as your own computer or a cloud drive. A draw.io file is XML text, so it can live in Git beside your code. For a time it was also called diagrams.net.

Example code

xml
<mxfile><diagram name="Page-1">
  <mxGraphModel>
    <root>
      <mxCell id="0"/>
      <mxCell id="1" parent="0"/>
      <mxCell id="2" value="Shop" vertex="1" parent="1">
        <mxGeometry x="40" y="40" width="120" height="60" as="geometry"/>
      </mxCell>
    </root>
  </mxGraphModel>
</diagram></mxfile>
A .drawio file is plain XML. Each box is one cell with its text, place and size.
In the middle is the draw.io way: drag shapes from a library, and the lines stay stuck.

Common mistake

Sharing a plain PNG and losing the source. Keep the .drawio file, or tick the option to put the diagram inside the PNG, or the next person has to redraw it.

Key takeaways

  1. 1
    Free, no sign-up. Runs in a browser or on a desktop.
  2. 2
    Your storage. Files stay where you save them.
  3. 3
    XML files. Plain text that fits in Git.

Compare

Learn it properly