CreativePro Tip of the Week: A Photoshop Script to Delete Empty Layers

This CreativePro Tip of the Week on a Photoshop script to delete empty layers was sent to CreativeProse email subscribers on March 8, 2017.

Sign up now and every week you’ll get a new tip, plus roundups of new articles, and exclusive deals sent right to your Inbox!

Just scroll down to the bottom of this page, enter your email address, and click Submit! We’ll take care of the rest. Now, on with the tip!


As a Photoshop user, one of the kindest things you can do for anyone who has to work with your files (including yourself) is to keep the Layers panel organized. As you build a composition it’s all too easy to end up with a bunch of layers that don’t actually contain any content. You could go through the panel manually, looking for empty layers and deleting them, but with complex files that’s time-consuming and it’s hard to tell from the thumbnails in the panel if a layer is truly empty. A much easier method is to use a script that comes with Photoshop.

Choose File > Scripts > Delete All Empty Layers. And just like that, all truly empty layers will be gone.


Note that the script works only on pixel layers. It won’t touch type layers, even if they contain no text.


Posted on: March 13, 2017

Mike Rankin

Mike is the Editor in Chief of, InDesign Magazine, and He is also the author of several video training series, including Font Management Essential Training, InDesign FX, and InDesign CC: Interactive Document Fundamentals.

Leave a comment

Your email address will not be published.