Back to Plugins
Clean Document

Clean Document

Automagically organize and clean up your Figma document

documentation

Plugin Preview

Clean Document preview

About this plugin

Automagically organize and clean up your Figma document.


Fund my work on Figma plugins →


Delete Hidden Layers

Deletes all hidden layers within the selection or on the current page.


Ungroup Single-Layer Groups

Ungroups single-layer groups within the selection or on the current page that have no background, blend mode, effect or export setting.


Make Pixel-Perfect

Rounds the X and Y position and dimensions of layers within the selection or on the current page to the nearest pixel.


Smart Rename Layers

Intelligently renames layers within the selection or on the current page.

  1. Layers of type Text will be named based on their text content.
  2. Layers of type Instance will be given the same name as their Main Component.
  3. Layers of all other layer types will be named based on their layer type. (For example, a layer of type Rectangle will be named “Rectangle”, a layer of type Group will be named “Group”, and so on.)
  4. Layers with export settings will not be renamed.

Optionally specify a Regular Expression to skip the renaming of particular layers.


Smart Sort Layers

Sort layers within the selection or on the current page by their X and Y position while maintaining their relative stacking order on the page.


Clean Layers

Run all the above commands on layers within the selection or on the current page. Optionally skip processing of Locked layers.


Sort Pages

Sorts pages of the current document in alphabetical order.


Reset Plugin

Resets all settings to their defaults.

Plugin Details

Version30
CreatedOctober 19, 2019
Last UpdatedOctober 8, 2024
CategoryFile organization plugins
CreatorYuan Qing Lim
Stats97963 installs, 2359 likes
PricingPaid

Technical Details

  • API:1.0.0
  • UI:build/ui.js
  • main:build/main.js
  • Document Access:dynamic-page
  • Editor Types:
    figma
  • Allowed Domains:
    • none