Learn how to export production-ready assets from Adobe XD to PNG, SVG, JPG, and PDF formats.

You can export assets such as bitmap images, icons and background patterns, text, and artboards from XD to PNG, SVG, JPG, and PDF. These exported assets are optimized for deployment on iOS, Android, or the web apps.

export_asset

If you are using XD on Mac, you can also bring your designs into third-party integrations such as ZeplinAvocodeSympliKite Compositor, and Protopie.

Export assets and artboards

To export assets or artboards, select any of these options:

Mac

Select an object or an artboard, navigate to File > Export or press Cmd + E.    

selection_updated

Windows

Select an object or an artboard and navigate to File > Export.  

selection_win_updated
  • Batch: You can batch export assets that are marked using Mark for Export option in the Property Inspector. To export multiple objects as a single asset, group the objects before export.
  • Selected: You can select and export specific assets.
  • All artboards: You can select all the artboards for export in a design project.
  • After Effects: You can select the asset to export to After Effects.

Export assets to different file formats

Assets are design files required by the developers to re-create what you designed, using HTML/CSS/JS in a website, or native languages like Swift or Java in iOS and Android apps.

In general, the most common assets are bitmap images, icons, and background patterns that you can export in the following formats:

png_image

Single PDF file: You can select multiple artboards or assets, and export them as a single PDF file. 

Individual PDF files: You can select multiple artboards or assets, and export them as individual PDF files. Separate PDF files are created for each of the selected assets or artboards.

jpg_image

When you export assets as JPG, you can set the quality level of the exported JPG accordingly. Choose any of the percentage options in the Quality drop-down list, and against Export for, choose Design or Web.

JPGs are not converted to PDFs; raster images are imported as images and hence they seem to turn into PDFs.

svg_image

When you export objects or artboards as SVG, you can set the visual styling to Presentation Attributes or Internal CSS

  • Presentation Attributes: Uses separate XML attributes for each individual style property on each SVG tag. This format is required to use SVG assets with Android Studio.
  • Internal CSS: Uses a single style tag with CSS classes and shares the styling settings between objects with same styles leading to smaller file sizes.

You can save them as embedded or linked images.

  • Embed: The bitmap image is encoded into the SVG file.
  • Link: The bitmap image is stored separately with a reference to the SVG file.

png_image

When you select PNG, you can choose to export the assets on the following platforms:

  • Design - The default option where your asset is exported to PNG at 1x resolution.
  • Web - Assets are exported at 1x and 2x resolutions.
  • iOS - Assets are exported at 1x, 2x, and 3x resolutions.
    The default artboard sizes for various iOS devices assume that you are designing at 1x, so if you’ve used the defaults, leave your export at 1x. However, you can opt to design at 2x too by doubling the width and height of your artboard.
Export-Assets-updated-iOS
  • Android - Design assets are optimized and exported for the following Android screen densities:
    • ldpi - Low density (75%)
    • mdpi - Medium density (100%)
    • hdpi - High density (150%)
    • xhdpi - Extra high density (200%)
    • xxhdpi - Extra extra high density (300%)
    • xxxhdpi - Extra extra extra high density (400%)
export-assets-updated-android1

Export assets to third-party applications

You can also bring your designs from XD into other applications such as Zeplin, Avocode, Sympli, Kite Compositor, and Protopie

  1. Select an artboard or layer in your XD file, and click File > Export > Zeplin.

    If you have multiple applications integrated with XD, the keyboard shortcut (⌥⌘E) launches the last integration you used.

    Exporting assets to Zeplin
    Exporting assets to Zeplin
  2. Click Import. To replace existing screens in Zeplin with the same name, select Replace screens with the same name. Zeplin adds it as a new version of that same screen, without losing your notes.

    If you are experiencing issues when working with Zeplin in XD,  check this article for solutions.

Learn more

Watch this tutorial to learn more on exporting assets from XD.

Viewing time: 2 minutes.


Troubleshooting

Are you facing issues with exporting assets? read this article to troubleshoot export related issues.

Have a question or an idea?

community

Do you want your favourite design tool to have additional export workflows? Upvote or add your request in XD UserVoice.

If you have a question to ask or an idea to share, come and participate in Adobe XD Community. We would love to hear from you and see your creations.


This work is licensed under a Creative Commons Attribution-Noncommercial-Share Alike 3.0 Unported License  Twitter™ and Facebook posts are not covered under the terms of Creative Commons.

Legal Notices   |   Online Privacy Policy