PicOrganizer
Back to the blog
How to Organize Photos by Date Into Folders (Year, Month, Day)
Guides

How to Organize Photos by Date Into Folders (Year, Month, Day)

December 12, 20265 min read

Read this article in French

Published by the team behind PicOrganizer.

Short answer: sort by the capture date stored inside each photo (the EXIF DateTimeOriginal field), not by the file's created or modified date. Put photos into Year/Month folders (for example 2024/07) and go down to day folders only for trips and events. You can automate it for free with ExifTool (one command) or PicOrganizer (in your browser, no upload). Before you start, check which photos have no capture date: we suggest setting them aside by hand.

Which date? A photo has several

DateWhere it livesTrust it?
Date taken (DateTimeOriginal)Inside the photo, written by the camera or phoneYes, it's the moment of the shot
File createdIn the file systemNo: it can become the date of the copy
File modifiedIn the file systemNo: editing or copying can change it

When you copy photos from a card, a phone or a cloud export, the file dates may change, but the date taken travels inside the file. That is why sorting tools read EXIF.

When the date taken is missing or wrong

Check these cases before you sort:

  • Scanned prints and pictures saved from chats or websites may have no capture date at all.
  • A camera whose clock was wrong (never set, or left on home time during a trip) records wrong dates, shifted by hours or years.

Check a few photos first. Our EXIF editor shows the date taken of any photo for free, in your browser, and can correct it in JPEG files (3 free edits with a free account, unlimited on the Standard plan).

Choose your folder structure

Year / Month (the default we recommend)

Photos/
  2023/
    2023-01/
    2023-02/
  2024/
    2024-07/
    2024-08/

Few levels, and each month holds a manageable number of photos. Number the months (01 to 12, or 2024-07): with month names alone, your file manager sorts them alphabetically (April before February).

Year / Month / Day

2024/
  2024-07/
    2024-07-14/
    2024-07-15/

Best for trips, weddings and projects, where each day is a chapter. For everyday photos it creates hundreds of near-empty folders.

Year only

Good as a first pass on a huge backlog: it gets tens of thousands of photos out of one folder quickly. You can split by month later.

Other date-based groupings

By season suits landscape and nature work; by time of day (morning, afternoon, evening, night) suits a wedding or a festival day. For event names and place folders, see our guide to photo folder structure and naming.

Automate it

With ExifTool (free, command line)

ExifTool's documentation shows how to move files into folders named from their capture date:

exiftool -d %Y/%m "-directory<DateTimeOriginal" DIR

This moves each photo in DIR into a Year/Month folder, creating folders as needed. Use %Y/%m/%d for day folders. Run it on a copy first.

With PicOrganizer (in your browser)

PicOrganizer is our tool:

  1. Open it on a computer in Chrome, Edge or Opera and pick the folder with your photos, then an empty destination folder. (In Firefox, Safari or on a phone, you add the files and download the result as a ZIP.)
  2. Choose By date (one folder per day, like 2024-07-14) or Year / Month (like 2024/07 - July).
  3. Review the preview, then start sorting. Photos are copied; your originals stay where they are.

Good to know: a photo with no capture date is sorted by its file date, which is often the day it was copied. It is not flagged or put in a separate folder, so check your photos first with the EXIF editor, or take the undated ones out before sorting.

Sorting by date, by year and month, and by format is free (50 photos per sort, 5 sorts a month). Sorting by season and by hour or time of day is in the Standard plan (€19, paid once, 500 photos per sort), and stacking criteria such as Year > Month > City takes the custom sorter in Premium (€29, paid once). See pricing. It needs an internet connection and, after the first sort, a free account.

The photos are read and sorted in your browser and never uploaded. Sorting by location sends rounded GPS coordinates to our server to look up place names; the full list of what leaves your device is on our local processing page.

With a desktop library

digiKam (free, open source) lets you search your library by date with a calendar. It is better for browsing than for rebuilding folders, and pairs well with a sorted folder tree. See our comparison of free photo organizers.

Photos without a date: what we suggest

  1. Don't delete them. Undated photos can be scans of family prints you can't replace.
  2. Keep them in one folder you create by hand, such as Undated, and go through them later.
  3. Add a date when you know it. Even "Christmas 1998, noon" is better than nothing. ExifTool can write it with its -TAG=VALUE syntax (exiftool -DateTimeOriginal="1998:12:25 12:00:00" photo.jpg; by default it keeps a copy of the original with _original added to its name), or use our EXIF editor for JPEG files.
  4. Use the file date only as a last resort, for files you know were never copied or edited.

Common mistakes

  • Sorting by modified date. Editing and copying can change it.
  • Ignoring time zones. If your camera stayed on home time during a trip, late-evening photos can land on the next day. Fix the offset before sorting.
  • Moving instead of copying on the first run. Copy, check, then delete the old mess.
  • Sorting twice into the same place. Use an empty destination so you don't end up with duplicates.
  • Forgetting the backup. Once sorted, back the result up to a second drive.

FAQ

How do I sort photos by date taken instead of date modified? Use a tool that reads EXIF: ExifTool's -directory<DateTimeOriginal command, PicOrganizer's date sorting, or PowerRename's $DATE_TAKEN patterns if you want dates in file names (see batch renaming photos).

What is the best folder structure for photos by date? Year/Month for most collections; add day folders for trips and events.

Can I organize photos by date on a phone? To get real folders, transfer the photos to a computer and sort them there; see organizing iPhone and Android photos.

Is sorting by date free in PicOrganizer? Yes: by date, by year and month and by format, up to 50 photos per sort and 5 sorts a month on the free plan.

Read also