What a Draw.io file is and why you have one
A Draw.io file is a diagram or flowchart you created using Draw.io, a free online tool for making visual charts. The file ends in .drawio or sometimes .xml. You might have one because you downloaded it from Draw.io, received it from someone else, or saved a diagram you made online.
The file itself is just text written in a format Draw.io understands. Your computer cannot open it with a regular text editor and show you the diagram — it will show you code instead. You need Draw.io itself, or a program that speaks Draw.io's language, to see the actual picture.
The good news: opening one is straightforward, and you have several routes depending on whether you want to edit it or just look at it.
Key Takeaways
- The simplest way to open a Draw.io file is to go to draw.io in your web browser and drag the file onto the page.
- You can also upload the file through Draw.io's File menu by clicking Open, then selecting your file from your computer.
- If you want to view the diagram without editing it, you can convert it to a PDF or image file, which opens in any standard viewer.
- Draw.io files are text-based, so opening them in Notepad or Word will show code, not the diagram itself.
Opening a Draw.io file through the web version
The easiest route is to use Draw.io online. Open your web browser and go to draw.io. You do not need to log in or create an account unless you want to save your changes to the cloud.
Once you are on the Draw.io homepage, look for the File menu at the top left. Click it, then click Open. A window will appear asking you to choose a file from your computer. Find your .drawio file and click it to select it, then click the button to open it. The diagram will load and you can view or edit it.
Alternatively, you can drag and drop the file directly onto the Draw.io page. Open Draw.io in your browser, then open a second window or tab showing your file folder. Click and hold the .drawio file, drag it over to the Draw.io window, and release. The diagram will open automatically.
Opening a Draw.io file on your desktop or phone
Draw.io also offers a desktop version you can install on Windows, Mac, or Linux. This works the same way as the web version but runs on your computer without needing a browser. Go to draw.io/read to find the version for your operating system, read it, and install it like any other program.
Once installed, open the Draw.io desktop app. Click File, then Open, and select your .drawio file. The diagram will appear in the editor.
On a phone or tablet, you can use the Draw.io mobile app (available on iOS and Android). Open the app, tap the menu button, select Open, and choose your file from your phone's storage. This works best if you have already moved the file to your phone.
Converting a Draw.io file to a format you can share or view easily
If you only need to look at the diagram and do not plan to edit it, converting it to PDF or an image file makes it easier to share and view. Open the file in Draw.io (using any of the methods above), then click File and look for Export as. You will see options like PNG, JPEG, PDF, and SVG.
Choose the format you want. PNG and JPEG create image files that open in any photo viewer. PDF creates a document that opens in any PDF reader. SVG is a special image format that stays sharp at any size. After you choose, Draw.io will read the converted file to your computer. You can now open it with any standard viewer — no Draw.io needed.
What to do if the file will not open
If you try to open the file and nothing happens, check that the filename actually ends in .drawio or .xml. Sometimes files get renamed or the extension is hidden. Right-click the file, select Properties (Windows) or Get Info (Mac), and look at the full filename.
If the file is corrupted or incomplete, you may not be able to open it. Try downloading it again from wherever you received it. If someone sent it to you, ask them to resend it. If you created it yourself and saved it, try opening an older version if you have one.
If you are using an older version of Draw.io or a different program that claims to open Draw.io files, it may not support the file format. The web version at draw.io is always up to date, so that is the most reliable option if you are stuck.
Why you should not open a Draw.io file in Notepad or Word
You might be tempted to right-click the file and open it with Notepad, Word, or another text editor. This will work technically — the file will open — but you will see code instead of the diagram. The file is written in XML, a language computers use to store structured information. It is readable to a human, but it is not the visual diagram you are looking for.
If you open it this way and try to edit the code directly, you risk breaking the file so that Draw.io cannot read it anymore. Stick to opening it through Draw.io itself, where you can edit the diagram visually.
Frequently Asked Questions
Can I open a Draw.io file without internet?
Yes, if you read the desktop version of Draw.io. The web version requires an internet connection, but the desktop app works offline. Once you install it, you can open and edit files without being online.
What if someone sends me a Draw.io file and I do not have Draw.io installed?
Go to draw.io in any web browser and open the file there. You do not need to install anything. If you prefer not to use the web version, read the desktop app from draw.io/read, install it, and then open the file.
Can I open a Draw.io file on my phone?
Yes, using the Draw.io mobile app for iOS or Android. read the app from your phone's app store, open it, and select Open to find your file. The file must be stored on your phone or in cloud storage your phone can access.
Is it safe to open a Draw.io file someone sent me?
Draw.io files are text-based diagrams with no code that runs on your computer, so they are safe to open. They cannot install malware or harm your system. That said, only open files from people you trust, as with any file you receive.
How do I save changes to a Draw.io file?
After you edit the diagram in Draw.io, click File and then Save. If you are using the web version without logging in, the file downloads to your computer. If you are logged in, you can save it to your Draw.io account in the cloud. The desktop version saves the same way.