Remove Dashes from Save for Web in Photoshop

, , , , , ,

I frequently use Adobe Photoshop to enhance and compress my web related images. When using the “Save for Web & Devices” feature it automagically replaces any spaces, within the filename, with a dash for Unix compatibility purposes. This is not always necessary, so in this article I will show you how to disable the automatic replacement of spaces with dashes when using Save for Web in Photoshop.

Another negative result of this automatic insertion of dashes in place of spaces is when uploading images to WordPress. WordPress pulls the filename and inserts it into the Title field for the uploaded image. For search engine optimization purposes this is okay, but the dashes make it look unsightly when you hover your mouse over the image on the frontend. I then have to manually remove those dashes from the image title and save the changes. Turning the insertion of dashes feature off when using the Save for Web & Devices feature in Photoshop would prevent these additional steps. So lets get into doing so.


Disable Save for Web Hypens

Begin by opening any photo within Adobe Photoshop and click on “File” then “Save for Web & Devices“. Locate the small menu icon (see image below) at the top right corner of the Save for Web & Devices window and select “Edit Output Settings” from the drop down.


Disable Save for Web Dashes


Within the Output Settings window (see image below), under the “Settings” drop down is another drop down with “HTML” pre-selected. Click on that drop down and switch it to “Saving Files“. Then simply remove the checkmark next to “Unix” under the Filename Compatibility section and click the OK button.


Saving Files Without Dashes


Done! No more pesky dashes / hyphens. If you change your mind, simply reverse this process.

Remove File Name Hyphens in Photoshop CS5



I welcome your thoughts, questions or suggestions on my article on how to remove dashes when using Save for Web in Photoshop.

You may support my work by sending me a tip using your Brave browser or by sending me a one time donation using your credit card.

Let me know if you found any errors within my article or if I may further assist you by answering any additional questions you may have.