The following file extensions are supported when saving a draw.io diagram:
- .xml (or no extension): XML file with compressed diagram data. Use this to keep files small. This is the default format.
- .html: HTML file that contains a redirect to the editor with the file ID in the URL. Use this for cloud storage that syncs to your local file system, to be able to double click a file to start editing.
- .svg: SVG file that contains the diagram data with a visual (SVG) representation. Use this to view or use the file as an SVG image without having to export it first.
.png (Chrome, Firefox, Microsoft Edge, Chrome App and Desktop App): PNG file that contains the diagram data and visual (PNG) representation of the diagram. Use this to view or use the file as an image without having to export it first.
The extension can be changed by clicking on the filename or via File, Save as.