Why IMG_4821.JPG is the problem
Camera filenames are made for machines, not for people: sequential numbers with no meaning, which even start over after the next storage reset. Result: nothing is findable, duplicates pile up, and the sorting gets muddled. A single naming scheme solves it — and it consists of two building blocks.
The scheme: date first, keyword after
The core is the date in the format YYYY-MM-DD at the start, followed by a keyword:
2026-06-15_croatia-beach.jpg
2026-06-15_croatia-oldtown.jpg
2026-12-24_christmas-family.jpgWhy the date first? Because files then order chronologically automatically in any view — sorted by name — entirely without capture-date metadata. The YYYY-MM-DD format is the trick: only this way is the order correct (June 15 would otherwise come before Dec 1 with a DD-MM format). We also use this pattern for the folder recommendation in our post on backing up and shrinking holiday photos.
Three rules for clean names
- No special characters — accents and /, &, ? cause trouble on transfer, upload, and on other systems.
- Hyphens instead of spaces — spaces break in URLs and some software; a hyphen is safe everywhere.
- Leading zeros on numbers — 001, 002 … 010, otherwise the computer sorts 10 before 2.
Bulk renaming with built-in tools
No extra software needed — both systems can do it:
- Windows: select all files, press F2, type a name. Windows automatically appends
(1),(2)… For more control (find/replace, numbering), the PowerToys extension "PowerRename" helps. - Mac: select all, right-click → "Rename items". The dialog offers replace text, add text, and format (name + counter or date) — convenient for whole folders.
Tip: before bulk renaming, keep a copy or practice in a test folder — the action affects many files at once.
Filenames count for the web too
If you use images on a website, keep the descriptive name: red-garden-bench.jpg tells search engines and image search more than IMG_4821.jpg. Together with a good alt text, the filename is a small, often-overlooked SEO building block — details in the post Image SEO. For the web, additionally make everything lowercase and stick to the three rules above.
Folder structure as a complement
Names and folders complement each other: one folder per event (2026-06 Croatia) plus dated filenames inside makes a system in which everything sorts itself — on the hard drive as in the cloud. The private photo collection rarely needs more.
Frequently asked questions
How do I rename many photos at once?
Windows: select all, press F2, type a name — Windows numbers them automatically (Holiday (1), Holiday (2) …). Mac: select all, right-click → 'Rename items' offers find-and-replace, adding a format, and numbering. Neither needs extra software.
What's a good naming scheme?
Date first in the format YYYY-MM-DD, then a keyword: 2026-06-15_croatia-beach. That way files sort chronologically automatically in any view, and the content is recognizable from the name. No special characters, no spaces (use a hyphen) for maximum compatibility.
Why do my photos sort wrongly?
Usually because the numbering has no leading zeros: file 10 then comes before file 2. Solution: leading zeros (001, 002 …) or the date-first scheme, which always sorts correctly. Also check the sort criterion (name vs. date) in the file manager.
Do filenames matter for a website?
Yes. Descriptive filenames like red-garden-bench.jpg help image search and accessibility more than IMG_4821.jpg. For the web, additionally use lowercase, hyphens instead of spaces, and no special characters.
Sources
Microsoft — PowerToys PowerRename · Apple — Rename files in the Finder.