Clean Layers — Delete Hidden Layers in Figma | Trace Logo's Skip to content
← ToolsClean Layers / Figma plugin for cleaning layouts

Clear out
the hidden.

Figma plugin: clear hidden layers and leftover styling from your selection — with two independent tools.

Open in Figma
Clean LayersInteractive example · not your file
LAYERS
▱Main screen
TTitle
▣Button
▱Content
TDescription
▣Illustration
SELECTED FRAME
Studio.Work / About
Good idea.
Clean layout.
Room for the new.↗
STYLING
Color100%
Old fill⊘
Old shadow⊘
Clean Layers
1 layer selected

1 hidden layer, 2 hidden style entries

LAYERSFILLS
Try both buttons.
In any order.
Selection onlyNo network requestsUndo: Cmd / Ctrl + Z
SELECTION TREESample example
BEFORE
▱Main screen◉
TTitle◉
▣Button◉
▱Content◉
TDescription◉
▣Illustration◉
AFTER
▱Main screen◉
TTitle◉
▣Button◉
▱Content◉
TDescription◉
▣Illustration◉
The hidden variant disappears.Visible layers stay.
01 / LAYERS

Draft gone.
The good stuff stayed.

Drag the divider: a hidden node is deleted whole, contents and all.

← Drag or use the arrow keys →
02 / STYLING

Clean inside.
Layer stays.

Disabled fills, strokes and effects go; fully covered fills are deleted too.

FILLS / EXAMPLECard selected
Bottom fill▱
Disabled fill⊘
Opaque color100%
▱The card stays in the layout✓
SELECT

Start with the frame you need.

Before a handoff or after rounds of iteration — you set the cleanup scope.

REMOVE THE DISABLED

Old styling goes.

Fills, strokes and effects with visibility turned off are removed from visible nodes.

KEEP THE VISIBLE

Clean under the color too.

An opaque color or gradient removes the fills beneath it; images and blend modes don’t count as covering.

YOU STAY IN CONTROL

Your call.
Your selection.

Without a selection, cleanup is unavailable; changes undo with the usual Cmd+Z / Ctrl+Z.

CLEANUP SCOPEopacity 0% staysHidden inside instances stays too
INSTALL / FIGMA COMMUNITY

One page.
One launch.

Open the plugin page in Figma Community and run it in your file. It becomes available after Figma review.

Compatible with: Figma / FigJam / Slides / Buzz
FIGMA COMMUNITY
{ }Figma Community
JSRun
< >Plugin
Figma DesktopPlugins → CommunityRunRun in your file
Source on GitHub ↗
CLEAN LAYERS / TRACE LOGO’S

Leave room
for the new.

Start with one frame: see what was found and pick the tool you need.

Open in Figma

Before your first cleanup.

How do I delete all hidden layers in Figma at once?

Select a frame or group, run Clean Layers and click “Delete hidden layers”. Hidden nodes disappear together with their contents, nested ones included.

How do I remove hidden fills, strokes and effects?

The “Delete hidden fills, strokes, effects” button cleans disabled entries on visible nodes and leaves the layers themselves. Fills under a fully opaque fill are removed too. The two tools are independent: run either one on its own, or both in any order.

How do I set the scope, and where does my file go?

Select the layers you want cleaned: without a selection the cleanup is unavailable. The plugin has no network access; everything runs inside Figma.

Does locking protect layers and main components?

No. Hidden locked nodes and main components are deleted; deleting a main component can break the link to its instances.

What is left after the layer cleanup?

Layers with opacity 0% and hidden nodes inside instances. A hidden instance itself is deleted whole; there is no automatic Detach.

How do I undo the result?

With the regular Figma undo: Cmd+Z / Ctrl+Z. The plugin has no history of its own.

What should I check before handing a file off to developers?

After the cleanup, look for links to external libraries with Style Scanner: it shows the external styles and variables in your selection.

How much does the Clean Layers plugin cost?

The plugin is free. Open its Figma Community page and run it in your file after Figma review.