# draw.io

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

**Field:** Design  
**Category:** Design Tools  
**Also known as:** diagrams.net, draw.io Desktop, drawio

## Think of it like

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

## 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

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.

## 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.

## Why it matters

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

## 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.

## Three principles

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

## Related terms

- [Diagramming Software](https://learn.benibix.com/term/design/diagramming-software)
- [Mermaid](https://learn.benibix.com/term/design/mermaid)
- [Excalidraw](https://learn.benibix.com/term/design/excalidraw)
- [Unified Modeling Language (UML)](https://learn.benibix.com/term/development/uml)
- [Git](https://learn.benibix.com/term/development/git)

## Told apart from

- [Excalidraw vs draw.io](https://learn.benibix.com/compare/excalidraw-vs-drawio): People think Excalidraw is a free copy of draw.io, and it is not. Excalidraw is a whiteboard for quick sketches. Its boxes look drawn by hand, and a team draws on one board at once. draw.io makes neat diagrams from shape libraries, with lines that stay stuck to the boxes. Sketch an idea in Excalidraw, and draw the version people keep in draw.io.
- [Mermaid vs draw.io](https://learn.benibix.com/compare/mermaid-vs-drawio): People think Mermaid and draw.io are two apps for the same job, and they are not. In draw.io you drag every box into place by hand. In Mermaid you write lines of text, and it places the boxes for you. A Mermaid diagram lives in a Markdown file beside the code, so it gets reviewed and fixed like code. draw.io wins when the exact layout matters.
- [Lucidchart vs draw.io](https://learn.benibix.com/compare/lucidchart-vs-drawio): People think draw.io is just a free copy of Lucidchart, and that misses the real difference. Both make neat diagrams by dragging shapes. The key gap is where your file lives. Lucidchart keeps it in its own cloud and is built for live team editing. Its free plan has limits, so most teams pay. draw.io is free and saves the file wherever you choose, even in Git.

## Taught in

- [Diagramming Software](https://learn.benibix.com/learn/design-design-tools/diagramming-software): Design Tools, 12/12

![Three panels, each making the same two boxes, Shop above Pay, joined by an arrow. Sketch by hand, like Excalidraw: wobbly hand-drawn boxes and a curved arrow, marked rough on purpose. Drag shapes, like draw.io: a strip of shapes on the left and two neat boxes joined by a straight line, marked move a box and the line follows. Write text, like Mermaid: two lines of code, flowchart TB and A Shop arrow B Pay, with an arrow down to the two boxes it draws.](https://learn.benibix.com/diagrams/des-diagram-tools.svg)

---

Source: https://learn.benibix.com/term/design/drawio
Author: Behnia Zarei (a developer in Vienna, Austria, who builds and teaches data, AI and business intelligence at BENIBIX)
Publisher: BENIBIX Learn (https://learn.benibix.com/)
Last updated: 2026-11-19
Licence: CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Quote freely with attribution.
