# Export layers in Krita as numbered files. This python script exports Krita layers in the format of `fileName_layerIndex_layerName`. ## How to use 1. Go to Tools -> Scripts -> Scripter and: 1. paste the Python script into the text editor section **OR** 2. go to File -> Open, navigate through the pop up file explorer and click on the python script. 2. Run the Python script by hitting the play button or typing `Ctrl + R`. The name of every layer exported will be printed to the console. Your exported files should be in a folder near to your Krita project file. > [!WARNING] > - You should export from a saved Krita project. An unsaved project will export the files into your home directory (within a folder named `exported_layers` or whatever you set the `export_directory` to in the script.). > - This has only been tested to work on Linux and Windows 11.