draw.io — Create, save, and export a flowchart

Last content update 2026-10-16
QUICK ANSWER
To start without installing anything, open the official web editor, place shapes, and join them with connectors. Use File → Save as to keep an editable .drawio file, and File → Export as to create PNG, SVG, or PDF output. Choose the official desktop app for offline work. Browser storage and a file saved to your computer are different, so check where your diagram is stored.
draw.io
Software
Purpose Flowcharts and diagrams
Web editor app.diagrams.net · no installation required
Desktop app Windows, macOS, Linux
Basic use Free and open source
Editable file .drawio (XML)
Export formats PNG, SVG, PDF, and others
Open the official web editor ↗

Choose the web editor or desktop app

If this is your first flowchart, start with the web editor. The official website button above opens it directly. Choose the desktop app for editing without an internet connection or working mainly with local files.

Working environmentChooseWhat to check
Make one flowchart without installing softwareOfficial web editorWhere you save the file
Offline work or mainly local filesOfficial desktop appThe release for your operating system and CPU
Store diagrams in Google Drive or OneDriveSelect a storage location in the web editorAccount login and access permission

The official desktop release page separates Windows, macOS, and Linux downloads. Windows installers and portable versions also differ, so check the file name. A portable app may run without automatically associating .drawio files with it. Installing the desktop app is not required to use the web editor.

Make a simple flowchart

The example below shows a check, revise, and submit workflow. It is an explanatory diagram of the flow you will build, rather than an app screenshot.

Start, check the data, and decide whether revision is needed. If yes, revise and check again; if no, submit and end.

  1. Open the web editor. If a storage or new-diagram dialog appears, choose a working location and a blank diagram. The editor may also open directly with an empty canvas.
  2. Drag an ellipse or rounded start/end shape, rectangles, and a diamond from the shape library onto the canvas. If flowchart shapes are missing, add the Flowchart library through More Shapes.
  3. Double-click the shapes and enter Start, Check data, Revise?, Revise data, Submit, and End.
  4. Arrange the main flow from top to bottom, with Revise data to the right of Revise?.
  5. Connect the revision branch back to the check step. Connect the branch that needs no revision to submission.
ShapeRole in this exampleLabel
Ellipse or start/end shapeBeginning and endStart, End
RectangleA process or actionCheck data, Revise data, Submit
DiamondA decisionRevise?
Arrow connectorDirection of travelBranch labels such as Yes and No

Writing a decision as a question, such as Revise?, makes the next direction clearer than an action label alone. Label the two outgoing connectors from the diamond Yes and No.

Keep connectors attached when moving shapes

A line that appears to touch a shape is not necessarily attached to it. Hover over a shape, drag from a connection arrow or connection point to another shape, and release when the target is highlighted. Double-click a connector to label a branch.

  • Check the connection: Move a shape sideways and see whether the line endpoint follows. If it stays behind, reconnect it.
  • Align shapes: Shift-click to select several shapes, then use Arrange’s alignment and spacing tools. Matching the main shapes’ sizes first helps keep the rows tidy.
  • Route the return line: Keep the line from revision back to checking outside the main flow. Adjust its bends to reduce overlaps with labels.

Before adding many colors or effects, check whether someone can understand the sequence simply by following the arrows from start to finish.

Save and reopen an editable original

Use File → Save as to choose a name, file type, and location. Keep the default .drawio XML format. To keep it on your computer, choose Device or a download location. Saving in browser storage and downloading a file to your computer are different options.

For example, keep data-review.drawio as the original. To edit it later, use File → Open from and select the location where you saved it. Do not confuse importing a diagram into the current document with opening it separately.

After saving, check three things:

  1. Confirm that the original exists in the location you selected.
  2. Reopen it and select a shape.
  3. Check that you can edit shape labels and connectors individually.

If you chose to decide on storage later, or have not selected a location yet, an editor that is still open does not prove the diagram has been saved permanently. Browser storage also does not replace a separate file backup.

Export PNG, SVG, or PDF

Save the original first, then choose File → Export as and the format needed for your submission. The Korean editor checked for the original article in September 2026 offered PNG settings for zoom, size, transparent background, and including a copy of the diagram.

FormatWhen to use itWhat to check
.drawioContinue editing or hand over the sourceThe recipient also opens it in draw.io
PNGInsert an image into a document or presentationSmall text, resolution, and background
SVGKeep lines sharp when enlarging the graphicSVG support in the receiving program
PDFPrinting, submission, or readingPaper size, page breaks, and clipping

Enabling Include a copy of my diagram can store editing data inside a PNG or SVG. You can then reopen it as editable shapes in draw.io. Without that data, it may be treated as a single image. Keeping the editable original separately lets you export again if you chose the wrong options.

When inserting the finished image into PowerPoint (Korean guide), check readability at the actual presentation size. For a PDF, inspect every page rather than just the first, looking for blank pages or clipped connectors.

Choose the PDF range, cropping, and margins

In File → Export as → PDF, decide what to include first. Including all diagram pages, the current page, or selected shapes is a separate choice from how the result is laid out on paper. The option names below follow the official English documentation; translated menu labels may differ.

Required resultCheck first
Every diagram pageAll Pages
The current page or only some shapesCurrent Page, Selection Only
Preserve the editor’s paper-page layoutPage View
Reduce blank space around the diagramCrop, Border Width
Fit a chosen number of sheets across and downFit; also check text size in the output
  1. To export a selection, select all the required shapes and connectors first.
  2. Choose the scope in the PDF dialog. Use Page View for paper-page layout, Crop for the diagram’s size, or Fit for a specified number of sheets.
  3. Set outer space with Border Width and scale with Zoom. Hiding the editor’s page view alone does not shrink the diagram onto one sheet.
  4. Open the exported PDF and inspect connectors, text, and blank pages throughout. If text is too small even though it fits on one sheet, adjust the sheet count or shape layout.

The official web editor’s PDF export may send the diagram to draw.io’s PDF-generation server. For custom local fonts, or to generate a PDF without sending diagram data out of your system, use File → Print and save a PDF locally. The server does not have access to custom fonts installed on your computer, so its output may differ.

In the desktop app or a self-hosted installation without an export server, PDF export opens the print dialog. Including editing data inside a PDF may not work in Safari. Keep the editable .drawio original separately on every platform.

Understand free use and storage locations

The basic web editor and official desktop app are free. Confluence and Jira integrations are separate products; their pricing is not the cost of the basic editor.

Do not assume that draw.io automatically stores files in a dedicated draw.io account. Choose whether you are saving to your computer, browser storage, or your own cloud. For collaboration, also check the other person’s access. Saving to the cloud does not automatically create a public link anyone can open.

Use an approved storage location for work documents. Even when choosing the desktop app for offline editing, do not assume that every function is free of network activity: a diagram may reference external images or fonts, and the app may check for updates.

Official sources

Frequently asked questions

Are draw.io and diagrams.net different programs?
The official web editor covered here is at app.diagrams.net, and the product name is draw.io. The different address does not mean you need to install a separate editor.
Do I need an account or an installation?
You do not need a draw.io account or a desktop installation to work with local files in the web editor. Saving to Google Drive, OneDrive, or another cloud service requires that service's login and access permission separately.
Is draw.io free for use at work?
The basic web editor and official desktop app are free. The desktop app uses the Apache 2.0 license and can be used for work. Check the separate pricing of Confluence and Jira integrations and your organization's software and data-storage rules.
Why can I no longer edit shapes in an exported PNG?
A normal image without diagram data opens as a single picture. Open your original .drawio file, or use a PNG or SVG saved with Include a copy of my diagram enabled. Not every PNG contains editable diagram data.
Can I open a browser-saved diagram on another computer?
Browser storage alone does not automatically sync to another computer. Download and move the original file, or use the cloud storage you selected. Keep important originals as files too, in case browser data is cleared.
Why does my PDF have large empty areas or span several sheets?
First choose the required scope, such as all pages, the current page, or selected shapes. Use Crop for dimensions matching the diagram and Fit to scale it to a chosen number of sheets. Hiding the editor's page view alone does not fit the diagram onto one sheet. Adjust border space and zoom, then check the entire PDF.