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

You can share production-ready assets with developers for use in websites or mobile applications. You can export design assets from XD to PNG, SVG, JPG, and PDF, optimized for deployment on iOS, Android, or the web.

You can export specific assets or text, specific artboards, or all artboards in the project. If you are using XD on Mac, you can also export assets to other applications. For more information, see Third party integration.

Export assets or artboards

  1. To export all artboards: 

    Ensure that no artboard or asset is selected. You can click the pasteboard (gray area around the artboards) to deselect objects or artboards.

    To export specific assets or artboards:

    You can select the asset or the artboard that you want to export. To select an artboard, click the artboard title, (Cmd/Ctrl + click). Alternatively, open the Layers panel and select the artboards you want to export. 

    You can also mark assets or artboards for export later, and then export them all in bulk to any format XD supports. To mark assets for export, open the Layers panel and click the Mark for Batch Export   icon. Alternatively, right-click an asset in the Layers panel and select Mark for Batch Export.

    ملاحظة:

    To export multiple objects as a single asset, you must group the objects before you export them.

  2. On Mac, select File > Export. On Windows, click the Hamburger menu, and click Export

    If you have artboards selected in the Layers panel, right-click, and select Export.

    The following export options are available:

    • Batch: Export assets that are marked using the Mark for Export option.
    • Selected: Export selected assets.
    • All Artboards: To export all the artboards in your design, choose All Artboards.
    Options to export assets and artboards
  3. Select a target platform (web, iOS, or Android), and the file format (PNG, SVG, JPG, or PDF).

    For more information on the export options, see:

  4. To save the output files, specify the directory.

  5. If prompted, specify the resolution at which the assets were designed. If you are not sure about the resolution, leave the setting to the default (1x).

  6. Click Export.

Export to PNG

When you export to PNG, XD exports all associated resolutions for that object. Choose the format you designed at to get the correct export sizes.

For example, if you designed at 1x, a 10 x 10 rectangle is exported at 10px x 10px, 20px x 20px, and 30px x 30px. If you designed at 2x, a 10 x 10 rectangle is exported at 5px x 5px and 15px x 15px. 

When exporting assets as PNG, you also have to choose which platform you want them to be exported for - Design, Web, iOS, or Android.

Export options when you export as PNG
Export options when you export as PNG

Design

Design is the default option where your asset is exported to PNG at 1x resolution.

Web

Assets are exported at 1x and 2x resolutions.

iOS

iOS has three export sizes. 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.

Use the following infographic to understand how your design assets are exported for iOS when you design at 1x and 2x.

Export assets as PNG for iOS
Export assets as PNG for iOS

Android

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%)

Use the following infographic to understand how your design assets are exported for Android when you design at different resolutions.

Export options when you export as PNG for Android
Export options when you export as PNG for Android

Export to SVG

When you export to SVG, you can choose to export them with embedded or linked images.

Export options when you export as SVG
Export options when you export as SVG

Embed

If an image is exported as an embedded image, the bitmap image is encoded into the SVG.

Link

If an image is exported as a linked image, a bitmap image is stored separately with a reference to it in the SVG file. 

Optimized (Minified)

Select Optimized (Minified) if you want to optimize your assets.

Export to JPG

When you export assets (such as photos) as JPG, you can set the quality level of the exported JPG according to your needs. Choose any of the percentage options in the Quality drop-down list, navigate to the destination folder, and click Export.

Export options when you export as JPG
Export options when you export as JPG

Export to PDF

When you export to PDF, you can choose to export them as a single PDF file or individual PDF files.

Export options when you export as PDF
Export options when you export as PDF

Single PDF file

You can select multiple artboards or assets, and export them as a single PDF file. Multiple artboards or assets are placed in separate pages and a single PDF is created.

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.

Third party integration

You can bring your designs into other applications that integrate with XD: Zeplin, Avocode, Sympli (only on MAC), Kite Compositor, and Protopie. 

This section provides a high-level overview of the workflow using the example of XD running on Mac with Zeplin.

This procedure works the same way on XD running on Windows.

ملاحظة:

This procedure varies slightly depending on the application you are using. For more information, refer to your application's documentation:

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

    Exporting assets to Zeplin
    Exporting assets to Zeplin

    ملاحظة:

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

  2. In the dialog box that opens, 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.

    The Import screen in Zeplin
    The Import screen in Zeplin

    The artboards are imported into Zeplin.

    The artboards in Zeplin
    The artboards in Zeplin

Extract assets for design specs

You can save time and provide developers with the ability to extract and download assets from design specs. Use the feature to mark layers as assets for export and send as a design specs link. Developers can download all the vector assets as SVG, PNG, PDF, and bitmap assets as PNG and PDF.

For more information, see Extract assets for design specs.

Unable to see export options in XD?

If you are unable to see third-party applications in the File > Export option, see Unable to see supported third-party app in Export options.

تم ترخيص هذا العمل بموجب الترخيص العام غير المعدل الخاص بالإسناد وعدم التجارة والمشاركة الإصدار 3.0 ‏من ‏‏Creative Commons‏‏  إن بنود Creative Commons لا تشمل منشورات Twitter™‎ وFacebook.

إشعارات قانونية   |   سياسة الخصوصية على الإنترنت