Skip to content

Delete Empty Layers Script

Delete Empty Layers Script

This script will remove all empty layers and sublayers.

Download deleteEmptyLayers Script

Installing and Executing Scripts

5 thoughts on “Delete Empty Layers Script

  • This is great! Is there a way to have a similar script that removes hidden layers and sublayers? I’ve found a couple on the web, but they don’t remove all sublayers (nested several layers deep). Would be VERY helpful.

  • This scripts etc are over complicated…

    Easiest way is to unhide every layer including empty layers.
    Now Ctrl+A as a select all. Than Ctrl+X to cut it out.
    Than in the layers top right corner select “flatten artwork” command so the whole artboard will reduce do one layer – now you have united – deleted all empty layers at once.
    Finally check the check box in the top right layers options dropdown menu saying “Paste remembers layers”

    Ctrl+F and voilaa… All occupied layers including names will appear separated without empty layers.

Leave a Reply

Your email address will not be published. Required fields are marked *