DiagramPreview

Workflow guide

Open draw.io file online

Inspect diagrams.net XML, check pages and objects, then convert or export draw.io files for documentation.

1

Open the XML safely

Paste .drawio XML first to check whether the file is complete and whether page names are meaningful.

2

Review portability

Look for hidden draft content, external images, oversized labels, and pages that should be split before sharing.

3

Convert when needed

Use PlantUML to draw.io or Draw.io to SVG when the diagram needs to move between editable and publishable formats.

Paste-ready example

Minimal diagrams.net XML

Open a tiny draw.io XML document first to confirm preview, page detection, and conversion behavior.

Open this example
<mxfile host="DiagramPreview"><diagram name="System"><mxGraphModel><root><mxCell id="0"/><mxCell id="1" parent="0"/></root></mxGraphModel></diagram></mxfile>

Workflow FAQ

Can I inspect draw.io XML before sharing it?

Yes. Preview the XML first to confirm the diagram opens, check page names, and catch hidden draft content before sending it to teammates.

When should I convert draw.io to SVG?

Convert to SVG when the diagram is ready for documentation, issue comments, or a README where an editable draw.io file is not needed.

Related tools