How To Export Figma To Xml

Figma is a popular tool among designers for designing user interfaces and improving user experience. Although it provides excellent features and functionalities, many designers often wonder about the process of exporting Figma to XML. To address this question, we have prepared a detailed guide.

Why Export Figma to XML?

XML stands for Extensible Markup Language, which is a markup language much like HTML. It’s designed to store and transport data, making it easier for designers to communicate their designs to developers. By converting Figma designs into XML, it significantly simplifies the design-to-development process and ensures the final output aligns with the initial design.

Steps to Export Figma to XML

Unfortunately, Figma does not directly support XML export. However, there is a workaround by first exporting to SVG and then converting SVG to XML. Here’s how you can do it:

Step 1: Exporting Figma to SVG

The first step involves exporting your Figma file to SVG (Scalable Vector Graphics). Follow the steps below:

  1. Open your Figma design.
  2. Select the layer or frame that you want to export.
  3. In the right panel, click on the ‘Export’ button.
  4. Choose ‘SVG’ as the format.
  5. Click ‘Export’ again and save the file to your desired location.

Your Figma design is now saved as an SVG file.

Step 2: Converting SVG to XML

Now that you have an SVG file, you need to convert it to XML. You can make use of any online SVG-to-XML converter tool. Here’s how:

  1. Go to your preferred SVG to XML converter tool online.
  2. Upload the SVG file that you just exported from Figma.
  3. Click on ‘Convert’ or a similar button. This usually depends on the tool you’re using.
  4. Save the file when the conversion is complete.

And there you have it! Your Figma design is now in XML format.

Using Plugins

Alternatively, you can use Figma plugins that support XML export. One such plugin is ‘Copy SVG Code’. Here’s how you can use it:

  1. Install the ‘Copy SVG Code’ plugin in your Figma.
  2. Select the design you want to export.
  3. Click on the plugin, and it will generate the SVG code for your selected design.
  4. Copy the code and paste it into a text editor.
  5. Save the file with the .xml extension.


Although Figma does not directly support XML export, the process of exporting from Figma to XML is not overly complicated. By following the steps mentioned above, you can easily convert your Figma designs into XML. This not only simplifies the design-to-development process but also ensures the smooth execution of the final output.

Happy designing!