Use a background image in your draw.io diagram

Instead of the default transparent background in your diagram or a solid background colour, you can add an image from your local device or the web.

Note: Only use images in your diagram and background that you have a license to use.

  1. Make sure nothing is selected in your diagram to see the Diagram tab in the format panel.
  2. Click on Change next to Background in the View settings.
    Click Change next to Background to select an image to use as a diagram background
  3. Drag the image file onto the dialog, or enter the URL in the text fieldThe Width and Height are added automatically - change these if you want to resize the background image.
    Set an image to use as your diagram's background
  4. Click Apply.
    Set an image to use as your diagram's background

Note: Each page in a multi-page diagram has its own background image.

When you export your diagram to an image or print it, the background image will be included

The image background will be included when you export to an image file or a PDF

Set a background image via the Page Setup dialog

  1. Select File > Page Setup from the menu
  2. Click on Change to add a new image, or on the image link to change an existing image.
    Add a new background image or change an existing image via File > Page Setup