Skip to content
gl.tools

Rename photos by date taken – and sort them

Drop your photos in. The tool reads the capture time out of every file, puts them in that order and gives them names that sort themselves correctly. Reading and renaming happen in your browser – your photos never leave your computer.

  • Free
  • No sign-up
  • No watermark
  • No upload
  • Any number of files

Drop your photos here

They stay on your computer. Only the capture time is read.

Make a backup copy of your files before you add them here!

Your originals stay untouched: results carry “gl-tools.org_” in their name and never overwrite anything. Check the result before you delete an original. Liability

Did this help you? Buy me a coffee

Common questions

Are my photos uploaded anywhere?
No. They are read in your computer's memory; nothing is sent to a server. That is structural: this site is nothing but files, there is no service that could receive anything. With holiday and family photos that is the whole point – and with 800 images an upload would take half a day anyway.
Where does the capture time come from?
From the file's metadata, in this order of preference: the EXIF capture time (written by the camera at the moment of the shutter), then the EXIF digitised time, then the modification date in the metadata, then the date of the file itself. Which one it was is shown in the “Source” column – and that is not a detail: “File date” means the order is only as good as the last copy operation.
Why are the files called 2026-07-14_09-00-01 and not 14/07/2026?
Because the year belongs at the front. Only then does a file land in the right place by itself – in your file manager, on a TV, in a digital picture frame. With 14/07/2026 the computer sorts by the day and mixes up every July of every year. If you prefer it shorter, use the compact form 20260714_090001; if you want no date in the name at all, use “Number only”.
What does “rename in the folder” mean, and can I undo it?
It renames the files in place – no copy is made and nothing is downloaded, only the names change. Undoing it is a manual job, which is why there is a “Save the list” button: it holds the old and the new name of every file. This route works in Chrome and Edge; Firefox and Safari are not allowed to write to folders, so there you get a ZIP of renamed copies and the originals stay untouched.
Does it work with HEIC from an iPhone, and with videos?
Yes. HEIC, HEIF and AVIF are read, as are JPG, PNG, WebP, TIFF and the common raw formats (DNG, CR2, NEF, ARW). For videos (MOV, MP4) the timestamp is read from the container; iPhones write it with a time zone, other devices without one – if it is missing, the “Source” column says “Video time, no zone”, because the clock time can then be off by the zone.
What happens to the RAW and the JPG of the same shot?
They stay together. Files in the same folder with the same name stem count as one shot: IMG_0042.CR2 and IMG_0042.JPG get the same new name and the same number, with only the extension telling them apart. The same goes for iPhone live photos, where a MOV file sits next to the HEIC. Number such pairs separately and the pairing is lost.
My two cameras have clocks set differently. Does this help?
Only in that you see it immediately: the table shows, for every image, the time its camera wrote. Nothing is shifted here – a tool that “corrects” times would be guessing. Sorting uses the clock time stored in the file, not a converted instant, which is also why daylight saving does not bend the order.
How many files can it handle?
Via “Open folder and rename” the amount hardly matters: only the few bytes that hold the time are read, and renaming makes no copy. 800 photos totalling 6 GB cost a few megabytes of reading. The ZIP has a 300 MB limit, because it is built entirely in memory.

Why the order is so often wrong

Two different dates are at play. The capture time sits INSIDE the file, as an EXIF field, and is therefore part of its content: copying does not change it, a copy is byte for byte the same file. The date your file manager shows in its column belongs to the file system and sits above the file – and that one is often reset when copying. Windows keeps the modified date but sets the creation date to now; anything arriving through a cloud, a messenger or e-mail carries the time it was downloaded. Sort by that column and you are sorting by the copy, not by the shot.

The capture time is only truly lost when a program REWRITES the image: messengers and “send a smaller copy” throw the metadata out. For such files only the file date is left, and the table says so explicitly.

Then there are the names: a camera starts again at IMG_0001 after IMG_9999, two cameras count independently, and anything that arrives through a messenger is called IMG-20260714-WA0007. The capture time in the EXIF data survives all of that – it is written when the shutter fires and left untouched by copying and moving.

What happens to the metadata

Nothing. This tool only reads the metadata; it writes neither to the image data nor to the EXIF fields. A renamed file is byte for byte the same as before, and even on the ZIP route nothing is re-encoded, because files are only packed, not computed.

If you want to strip the location or the camera details out of your pictures before passing them on, that is a tool of its own: “View and remove EXIF data”. The order matters – rename first, remove the metadata afterwards, because after that the capture time is gone.

Related tools

All tools of this kind: Image tools