Photoshop: Convert all layers in each Artboard to a Smart Object automatically?
Hi everyone,
I'm trying to automate part of my workflow in Photoshop and I'm wondering if there's a way to achieve this, either with an Action, a JSX/UXP script, or a plugin.
I have a PSD containing multiple Artboards. Each Artboard contains several layers (text, shapes, images, etc.).
For each Artboard, I'd like to:
- Select all layers inside that Artboard only (excluding hidden and locked layers).
- Convert those layers into a single Smart Object.
- Rename the Smart Object using the Artboard's name.
- Center the Smart Object horizontally and vertically within the Artboard.
- Repeat this process automatically for every Artboard in the document.
The final result would look like this:
Before:
Card 01 (Artboard)
Background
Title
DescriptionAfter:
Card 01 (Artboard)
Card 01 (Smart Object)I'm using Photoshop 2025 on macOS.
I initially thought this could be done with an Action, but I couldn't find a way to select only the layers inside the current Artboard or loop through every Artboard automatically.
Has anyone achieved something similar, or knows of a script/plugin that can do this?
I'm also open to alternative workflows if there's a more efficient way to achieve the same result. My goal is to prepare hundreds of card designs as Smart Objects for use with batch mockup generation.
Any suggestions would be greatly appreciated. Thanks!
