MasksToLayers is an After Effects script for splitting the masks on one selected layer into separate layers. It duplicates the selected layer once per mask and keeps one mask on each generated layer. This fits a composition where several masks need separate layer-level treatment.

Choose the output settings

Select the layer that holds the masks and run the script. For each new layer, you can specify a blending mode and optionally move its anchor point to the center of its mask.

Compatibility and licensing

The compatibility list names After Effects versions through 2025 and reaches back to CS6, including CC releases. After Effects 2026 is not listed, so support for it is unconfirmed.

MasksToLayers uses aescripts' Name Your Own Price terms. Individual users can choose an amount; businesses, teams and other non-individual buyers must pay the suggested price for a valid license. The posted EULA grants one copy and requires an appropriate license for additional copies or users; it excludes shared or multi-user use under a single copy.