When exporting slices in Photoshop through the Save For Web... dialog, PS automatically names as the input_filename + _XX + .png. So for example: myfile_01.png, myfile_02.png etc.

It is also possible to manually input a filename for a slice; which will then override this numbering system. My question is: how can I get rid of this slice name? I want to revert to the default numbering behavior. Deleting the "name" field in the dialog has no effect (it simply resets to the last used name).

enter image description here

The only workaround I have found is to delete and recreate the slice, which is terrible.

1 Answer 1


Photoshop's Save for Web & Devices tool actually offers multitude of options to control slice file naming, and you don't have to reset the slice name itself. Instead, you'll want the slice file name to include the slice number instead of the slice name (you have given). On CS5 and newer, to control this, after pushing the Save button in the Save for Web & Devices window, before pushing Save again, find the Settings dropdown menu and select Other...

How to access file naming options

This opens a new window to control all the saving options and give the slice files names consisting of e.g. document name, slice name, slice number, current date, custom text, and any combination of these.

For your case, the correct answer would be to make the File Naming section to consist of doc. name + underscore + slice no. (01, 02, 03 ...) + ext. to give the slice file a name of mydocument_01.png, for instance.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.