EditableImage
Draw.io XML

Convert an image into an editable diagram.

A picture of a diagram is pixels. The converter reads the boxes, labels and arrows back as diagram objects, each arrow attached to the shapes it joins, so you can change the diagram instead of redrawing it. Here is what converts well, and where the file goes next.

Original remains untouchedReview before export
Upload an imageor drop it here, or paste with Ctrl/⌘ V anywhere on this page · PNG, JPG, or WebP up to 20 MB
No image ready?Loads the example above into this editor.
Best withFlowcharts, architecture diagrams, and clean whiteboard exportsProcessing timeUsually 30–75 secondsProcessingImages are sent to third-party AI services. Privacy details

New accounts get 10 free credits — no card.

One run costs 4 credits, so that covers your first 2. Signing in is free and takes one click — the tools need an account to run.

Every new run is charged, including the same image uploaded again. Extra steps you ask for — another edit round, a further split — cost extra; a failed run refunds. See credit packs and pricing.

Image to Draw.ioDraw.io XML

  1. Upload the diagram image.
  2. Nodes, labels, and connectors are recovered, with each arrow attached to the shapes it joins.
  3. Edit in the embedded Draw.io canvas and export .drawio XML.

Which diagram pictures convert well

Four real runs, each counted from the exported file and shown on the Examples page with the file to download:

  • A flowchart exported from a diagram tool. 584×568, twelve steps, two decisions, two loops: 14 nodes and 15 connectors came back, with the fill colours and the Yes and No labels. One label wraps on a different word.
  • An architecture diagram. 1280×720, three tiers, cylinders and a sticky note: 13 nodes and 12 connectors, with the edge labels. The dashed group box was not recovered, although its label was.
  • A flowchart labelled in Chinese, on grid paper. 16 nodes and 18 connectors, all three loops, the grid left behind. One label read “IO” as “10”.
  • A whiteboard photo in marker. 6 nodes and 6 connectors with both branches. Rounded terminators came back as rectangles, and one arrowhead was read as a stray letter.
  • The pattern: clean exports and screenshots come back nearly whole; dashed groups, crossing lines and hand-drawn arrowheads are where to look first.

What the editable diagram is

The result opens in the draw.io editor on this page. Shapes, labels and connectors are separate objects, and a connector is bound to the shapes it joins where the recovery could tell, so dragging a box drags its lines with it. You export a standard .drawio file.

A conversion usually takes 30–75 seconds and costs 4 credits; a run that fails refunds in full.

Where to keep editing the diagram

  • draw.io (diagrams.net), in the browser or the desktop app. Opens the .drawio file directly and is free.
  • Confluence, with the draw.io app installed. Its Embed draw.io diagram option uploads a .drawio file from your computer into a page.
  • VS Code, with the Draw.io Integration extension. It edits .drawio files in the editor, next to the code the diagram describes.
  • Lucidchart. Lucid imports .drawio files exported from draw.io; its help centre says only users with a paid subscription can edit imported documents.
  • Microsoft Visio. Current draw.io no longer exports .vsdx — its maintainers removed the export in 2025 — so a Visio deliverable needs a separate conversion step.

Questions

Is converting an image to a diagram the same as tracing it into a vector?

No. A vector tracer turns the picture into outlines and paths, so a box is still just a shape with no meaning. The diagram converter recovers boxes, labels and arrows as diagram objects: a label is text you retype, and a connector stays attached to the shapes it joins when you move them.

Which file does the image-to-diagram converter export?

A .drawio file, which is draw.io's XML format. It opens in draw.io in the browser or on the desktop, in Confluence with the draw.io app, in VS Code with the Draw.io Integration extension, and imports into Lucidchart.

Can I get the converted diagram into Visio?

Not directly. Current versions of draw.io no longer export .vsdx; the maintainers removed that export in 2025. Keep the diagram in draw.io, or plan a separate conversion step if the deliverable must be a Visio file.

Does the image-to-diagram converter read labels that are not in English?

The published Chinese flowchart came back with its labels read correctly apart from one, where “IO” was read as “10”. Check every label against the picture whatever the language, and numbers and look-alike letters most of all.

What should I check after converting an image to a diagram?

Every label, every arrow direction, and the places where lines cross or a dashed box groups other shapes. Drag one shape to confirm its connectors follow it, and reattach any that came loose before you export.

How much does converting an image to a diagram cost?

A new account gets 10 free credits without a card, and a conversion costs 4 credits, so the free credits cover two diagrams. A conversion that fails refunds what it took, and a finished result reopens free from your account page for 24 hours.