How to find and export every image in a Figma file

Scan a whole Figma file for images with UIXport's free Asset finder, group duplicates, skip hidden and tiny layers, and export each look once.

By UIXport team11 min read
On this page

Key takeaways

  • Figma's File > Export dialog only includes selections on the current page that have an export setting, so collecting every image by hand means visiting each page.
  • UIXport's Asset finder scans the selection, the current page or the Entire file for layers with a visible image fill, and loads each page before it scans it.
  • Copies that look the same share one card with a ×N badge. They are matched by content, not layer names, and each group exports once, from its largest visible copy.
  • Hide hidden layers and Hide smaller than (4 px by default) keep hidden layers and slivers out of the grid, and each shows how many layers it left out.
  • The Original format saves the image file Figma stores for each image fill, once per unique image.
  • Scanning, previewing and renaming are free, and so is exporting PNG, JPG, WebP, SVG, PDF and Original, with no export limit.

Collecting every photo from a large Figma file by hand is slow, and the same logo or photo often sits on many screens. This guide shows how to find every image with UIXport's free Asset finder, see each look once, leave out hidden and tiny layers, and export what you need in one run.

Why this is slow in Figma alone#

Figma's export dialog works page by page#

In Figma, an image is one of the fill types a layer can have, on shapes, frames and other closed objects (Figma help: guide to fills). In a real file, those layers are spread across many pages. Figma's File > Export dialog only includes selections on your current page that have an export configuration (Figma help: export static designs). To export every photo in a file, you would visit each page, find each image, and add an export setting to it.

Plugins have to load each page#

There is a second catch for plugins. Figma loads pages only as they are needed, so a plugin has to load each page before it can read the layers on it (Figma plugin docs: dynamic page loading). With Entire file, Asset finder loads each page before it scans it, so images on other pages are found too.

What Asset finder counts as an image#

The Images type is the default. It matches any layer whose topmost image fill is visible and above 0% opacity, including photos placed inside rectangles, frames and components. A layer with an image fill counts as an image even if it is also a frame or a component.

Type What it matches
Images Any layer with a visible image fill
Frames Frames, sections and groups
Components Components and component sets
Instances Component instances

Masks are not images, even when their fill is a photo, because the mask's fill never shows as content. Image fills that are hidden or at 0% opacity do not count either. Layers with zero width or height are skipped.

Step by step#

Scan the file#

  1. Clear your selection. Click an empty part of the canvas. If something is selected, Asset finder switches to Selection and scans only that.
  2. Open Asset finder. In UIXport, click the Asset finder tab.
  3. Pick the scope. Choose Entire file. For one page only, choose Current page and pick it from the page list.
  4. Pick the type. Keep Images, the default. Each type shows how many cards it found.
  5. Let it scan. Cards appear in batches while the scan runs, with thumbnails loading in the background. Click Stop to cancel, or the Rescan assets button to start again.

Review the cards#

  1. Check the list options. Group duplicates, Hide hidden layers and Hide smaller than (4 px) are on by default. The next sections explain each one.
  2. Narrow the list. Type in Search name or size... to match a layer name, type, page name or a size such as 1200x630. Sort by Asset type, Name, Size (px) or Most used.
  3. Check what you need. Every card starts checked, so untick the ones you do not need. Click Preview to see an image on a Dark, Light or Checker background. Click Focus in Figma to jump to the layer.

Export#

  1. Choose formats. In Export as, the default row is PNG at 1x. Click Add format for more rows, for example WEBP at 2x. Each row has its own scale and format.
  2. Set quality. If a row is JPG, WebP or AVIF, use Quality level. Presets are Maximum (98%), High (90%), Medium (75%) and Low (55%).
  3. Name the files. Open Advanced settings and pick a Naming pattern. Page + Frame gives names like Page 1_Hero, which keeps track of where each image came from. Add a Filename suffix from a row's menu if you need one, then click Done.
  4. Name the ZIP. With more than one card checked, set a ZIP archive file name under Archive settings.
  5. Export. Click Export selected (n items). With several rows, the button reads Export selected (n items · m formats).

One file downloads on its own. Two or more arrive in one ZIP, named UIXport Assets.zip unless you set your own name. If two files would share a name, the second gets " (1)" added, and so on.

Find duplicate images#

A logo, an avatar or a product photo is often placed on many screens. With Group duplicates on, which is the default, copies that look the same share one card. The card shows a ×N badge with the number of copies, and · N sizes when the copies come in different sizes. The count next to Group duplicates is the number of extra copies folded into cards.

Copies are matched by content, not by layer name, so two layers called Rectangle 12 and hero-photo still group if they are built the same way. What counts:

  • Merges: copies that differ only in position, or that were scaled evenly (with the K scale tool, for example). We have not yet checked this for scaled instances, and large copies have a limit, covered below.
  • Stays apart: a recolour, different text, a crop, a flip, a rotation, a stretch or a different variable mode.
  • Never merges: components. Each component is its own definition, so it always has its own card. Instances of it can group.

To see where a duplicate is used:

  1. Open the list. Click the ×N badge on a card. The header reads "Used N× · exports once, from the W × H px copy".
  2. Find a copy. Copies are listed by page. Click Focus on any row to jump to that copy in Figma. The copy that will be exported is tagged Exported, and hidden copies are tagged Hidden.
  3. Select them on the canvas. Click Select all on page to select every copy on the current Figma page, for example to edit them together.
  4. Close the list. Click Close or press Escape.

The layers button on a grouped card selects the copies too: every copy on the canvas, or in Entire file, the copies on the current page only.

When you export, each card exports once per format row, from its largest visible copy. To export every copy as its own file instead, uncheck Group duplicates.

Leave out hidden and tiny layers#

Large files collect hidden layers, old versions at 0% opacity and slivers such as divider lines. Two options keep them out of the grid:

  • Hide hidden layers (on by default): skips layers that are hidden or at 0% opacity, and everything inside them. The number skipped shows next to the option.
  • Hide smaller than (on by default, 4 px): hides layers whose width or height is below the size you pick: 1, 2, 4, 8, 16 or 32 px. The number hidden shows next to it.

To bring them back:

  1. Show hidden layers. Uncheck Hide hidden layers. Asset finder scans again and lists them with a Hidden tag.
  2. Show small layers. Uncheck Hide smaller than, or pick a smaller size. Picking a size turns the option back on.
  3. Use the empty state. If the filters leave nothing to show, the grid says how many hidden and small layers it left out, with Show hidden and Show small buttons.

Hidden layers inside instances are never listed, even with Hide hidden layers off.

Sort by Most used#

Most used in the Sort menu puts the cards with the most copies first. With Group duplicates on, that shows which images repeat most across the file, which is a quick way to find the logo, the avatar placeholder or the stock photo you want to replace everywhere.

Export the original image files#

PNG, JPG, WebP, AVIF, SVG and PDF give you a render of the layer, with any crop or resize you made in Figma. The Original format gives you the image file Figma stores for the image fill instead, which you can take to Squoosh or ImageOptim, as in the best image compression tools for designers. Image cards show its size as Original W × H px, so you can see the stored size before you export.

  1. Check image cards. Original only applies to cards with an image fill. Keep Images as the type.
  2. Add an Original row. In Export as, set a row's format to Original ("Image fills only, full size, no watermark"). The scale stays at 1x.
  3. Export. Click Export selected (n items).

What you get:

  • The stored file. Up to 4096 px, in the file type Figma stored: PNG, JPG, GIF or WebP.
  • One file per image. If the same photo fills several checked cards, for example cropped two ways, an Original row saves it once.
  • No watermark. The file is saved as stored, even with the watermark on.

If Original is your only row and none of the checked cards has an image fill, the export stops with "Original export needs image fills. None of the checked assets has one." With other rows as well, cards without an image fill are skipped for the Original row only, and the toast says how many. If Figma cannot read an image file and nothing else was saved, you see "Could not read the image file".

What you get from the other formats#

Each asset is exported the way Figma renders that layer, at the scale you chose:

  • PNG: Figma's own PNG. UIXport does not compress it further.
  • JPG, WebP and AVIF: that PNG, re-encoded at your quality level.
  • SVG: always at 1x, and always cleaned with SVGO.
  • PDF: Figma's own PDF, scaled to the row, plus your watermark if it is on.

If you switched on Apply watermark protection in the Exporter tab, Asset finder uses the same watermark on PDF and image outputs. SVG and Original files get no watermark.

For the format choice itself, read AVIF vs WebP vs PNG for UI design or how to export WebP from Figma.

Clean up while you are there#

Asset finder can also tidy the file.

  • Rename. Click a card's name to rename the layer in Figma. Each rename is its own undo step. Tokens such as {page}, {width} and {height} fill in with that layer's real values. On a grouped card, the copy that will be exported is renamed. If that copy is the layer inside a main component, its instances follow unless they override the name. If Figma refuses a rename, you see "Could not rename: {reason}" and the old name comes back.
  • Delete. On a single card, the trash button deletes the layer from your Figma file, not just the card. The first click turns it into Delete?. The second click deletes, and the toast reminds you that Cmd/Ctrl+Z in Figma undoes it. Grouped cards have the select-copies button instead.

Limits and tips#

  • AVIF is Pro. On the Free plan, a run with an AVIF row in Export as uses one of your 10 free Pro runs a month.
  • WebP depends on your browser. If it cannot encode WebP, the run stops with "Export failed: WebP export isn't supported in this browser".
  • One error stops the run. Nothing downloads, and no free Pro run is used. Fix the item or untick it, then export again.
  • One quality for all. There is no per-asset quality in this tab.
  • JPG has no transparency. JPEG has no alpha channel (MDN image file type guide), so transparent areas turn white. Use PNG, WebP or AVIF to keep them.
  • Big files take time. Entire file loads each page before it scans it. We have not measured scan time on very large files, so start with Current page if you only need one.

Run your first scan#

Install UIXport from Figma Community, open the Asset finder tab and choose Entire file. Scanning, previewing, renaming and PNG, JPG, WebP, SVG or PDF exports are free, with no export limit.

Questions

Does Asset finder scan pages other than the one I am on?

Yes, with the Entire file scope. It loads each page before it scans it, so images on other pages are found too.

How does Asset finder find duplicate images?

It compares how the layers are built, not their names. Copies that differ only in position or uniform scale share one card with a ×N badge. A recolour, different text, a crop, a flip, a rotation or a stretch keeps copies apart, and components are never grouped. The same look built from different layers stays on separate cards.

Which copy of a duplicate is exported?

The largest visible copy, once per format row. Click the ×N badge to see every copy by page. The copy that will be exported is tagged Exported.

Why does Asset finder show fewer layers than I expected?

Hide hidden layers and Hide smaller than (4 px) are on by default, and Group duplicates folds copies into one card. Each option shows how many layers it affects, and you can uncheck any of them. Hidden layers inside instances are never listed.

What is the Original format?

The image file Figma stores for an image fill, up to 4096 px, saved as PNG, JPG, GIF or WebP depending on what is stored. It exports at 1x with no watermark, once per unique image. Other formats give a render of the layer instead.

Is scanning free?

Yes. Scanning, previewing and renaming are free, and so is exporting PNG, JPG, WebP, SVG, PDF and Original, with no limit. Only a run with a Pro feature, such as an AVIF row, uses one of the 10 free Pro runs a month.

Can I export AVIF from Asset finder?

Yes. AVIF is a Pro feature. On the Free plan, a run with an AVIF row uses one of your 10 free Pro runs a month. PNG, JPG, WebP, SVG, PDF and Original are free with no limit.

Does delete only remove the card from the list?

No. Delete removes the layer from your Figma file. It needs a second click, and Cmd/Ctrl+Z in Figma brings the layer back.

Features in this post

Share this post

Share on XShare on LinkedIn

UIXport team

We build UIXport, the Figma plugin for exporting, compressing and delivering UI assets, at Sigma Studio.

About UIXport

Try it in Figma

Install the plugin from Figma Community. Free includes unlimited core exports and 10 Pro runs a month; Pro adds motion export, print-ready PDFs, AVIF and more.