Exporting images
Export pages as PNG, JPG or SVG, in the light or dark theme, with an optional transparent background and crop.
Choose Export → PNG, JPG or SVG in the header or the Diagram menu, run Export as PNG, Export as JPG or Export as SVG from ⌘K, or choose ⋯ → Download on the dashboard. Anyone who can open a diagram can export it.
Options#
| Option | What it does |
|---|---|
| File format | PNG, JPG or SVG. |
| Pages | The pages to export. The current page is checked at first, or the first page from the dashboard. |
| Theme | Light or Dark: the background, default text and line colors, and icon variants. |
| Transparent background | Leaves out the background. Not for JPG. |
| Crop | Exports part of the page. See Crop to part of a page. |
Colors you picked for items are the same in both themes. With a transparent background, labels keep a small patch of the theme's background so lines don't run through them, so pick the theme that matches where the image goes.
Crop to part of a page#
Switch on Crop, then drag the box to move it and its corners to resize it, down to 64 × 64. Each page keeps its own crop while the dialog is open, and Reset goes back to the whole page.
What you get#
| Format | Size |
|---|---|
| SVG | Vector, at the diagram's own size, with icons, images and fonts embedded. |
| PNG, JPG | 2 pixels per unit, at most 16384 pixels per side; larger pages are scaled to fit. JPG always has a background. |
The image shows everything on the page with a 32-unit margin, without the grid, handles or other people's cursors. Empty pages are left out.
One page downloads as an image named after the page, such as Request-flow.png, and several as a .zip named after the diagram. Characters that aren't allowed in file names become hyphens, and pages with the same name get a number, such as Overview (2).png.