Page 1 of 1

Best Way to Convert Website Image Names Into Clean Filenames?

Posted: 2026-07-24 09:38:48
by jrsbailbond
Hi,

I’m cleaning up the media files for a website I manage

Some images have inconsistent filenames containing spaces, uppercase letters, underscores, and other formatting differences. I’d like to use Ant Renamer to standardize downloaded images into a format such as:

location-service-image-01.jpg

Ideally, I want to convert names to lowercase, replace spaces/underscores with hyphens, remove unnecessary characters, and preserve the correct file extensions.

Can this be done efficiently using a sequence of actions in Ant Renamer, and is there a recommended order for applying those actions?

Thanks.

Re: Best Way to Convert Website Image Names Into Clean Filenames?

Posted: 2026-07-25 08:19:19
by antp
Including the URL of the site in your post makes your request look more like spam than a genuine question, so I removed it, as it is not relevant for this question.
You can use the "case change" and "multiple string replacement" actions to achieve something somewhat similar to what you want, though there would be much more effective ways to achieve that with a custom script, especially the "remove unnecessary characters" part: using a regular expression.