Naming and renaming utilities

How to lowercase file extensions automatically on Mac

Renames Photo.JPG to Photo.jpg, leaving the rest of the name untouched

Beginner · About 1 minute

In this guide

What this does

Some uploaders and scanners hand back files named like “IMG_0042.JPG” or “Report.PDF”, an uppercase extension that looks inconsistent sitting next to everything else in a folder. This rule leaves the rest of the filename exactly as it is and only lowercases the extension, so “Photo.JPG” becomes “Photo.jpg”.

What you’ll build

A rule that matches every real file, then lowercases just its extension.

Open the rule editor

This walkthrough happens inside FilesAutomator itself, so install it from the Mac App Store first if you have not already, then open it. In its toolbar, choose Add, then New Automation Rule.

Name the rule and choose a folder

Name it something like “Lowercase my file extensions” and use Add Folder to choose the folder you want this applied to.

Build the condition

Add a single condition: Size is greater than 0, matching any real file.

FilesAutomator
The Automation Rule Name card, alongside a single condition, Size is greater than 0
The Automation Rule Name card, alongside a single condition, Size is greater than 0

Add the action steps

Step 1: Rename

Choose Add Step, then Rename. In “New name, built from the parts below”, use Add Part and choose Original name, then Add Part again, choose Text, and type a period. Add Part once more, choose Transform, then lowercase, and on that chip choose “the extension” as what it applies to.

FilesAutomator
The rename pattern: the original name, a period, then a lowercase transform applied to the extension
The rename pattern: the original name, a period, then a lowercase transform applied to the extension

Turn it on

Select Create Automation Rule, then switch the rule on. Every file that lands here now gets a consistently lowercase extension.

A faster way

The template gallery inside FilesAutomator already has this rule ready to install, named Lowercase file extensions.

← Back to all automation rules

Get FilesAutomator

Everything in this guide happens inside FilesAutomator itself. Download it free from the Mac App Store to follow along, or to install this exact rule from the template gallery in one click instead of building it by hand.

Download on the App Store