How to Name Photo Files So You Can Find Them Later (2026)

How to name photo files in one line: replace camera defaults such as IMG_2847 with a date-first name that says when the photo was taken, what it shows, and which shot it is, written as YYYY-MM-DD_Subject_SequenceNumber.jpg. A worked example looks like 2026-06-15_beachtrip_001.jpg, and the whole workflow of picking that pattern, applying it in batches, and keeping your originals safe takes about 30 minutes for a single shoot.

The reason IMG_2847 fails is simple: it encodes nothing except that a camera was counting. Replace it and the same file sorts chronologically in any folder, is findable by typing one word you remember, and no longer collides with the identical name coming out of a second camera.

Table of Contents

What You Need

Four decisions, made once, before you touch a single file. Rename the ones you skip later and you will be doing the same work twice.

  1. A folder structure. Set up the destinations first so filenames do not have to carry every organizational detail. I use Photos/2026/2026-06-15-beachtrip/ with subfolders for originals, selects, edits, and deliverables.
  2. A naming pattern. Pick the shape once and write it where you can see it while you work. Mine is YYYY-MM-DD_project_subject_###.
  3. Optional metadata fields. Decide which details belong in the name and which belong in EXIF or IPTC, so you are not stuffing a 90-character description into every filename.
  4. A backup workflow. Renaming is a write operation on files you care about. Have a copy somewhere else first, because undo is not guaranteed across tools.

Have your example names written down before you start, one per file type you actually produce:

  • RAW: 2026-06-15_beachtrip_001.cr3
  • JPEG export: 2026-06-15_beachtrip_001.jpg
  • PNG or layered edit: 2026-06-15_beachtrip_001_v2.png
  • Final deliverable: 2026-06-15_beachtrip_001_final.jpg

Note that the extension stays exactly as your software writes it. The convention governs everything before the dot.

Step-by-Step

Choose a Consistent File-Naming Pattern

Start with a short, repeatable pattern that carries the details you would actually need to identify the photo two years from now, then stop. Date first, a descriptive subject, and a sequence number is the combination that works across nearly every kind of library, because every file browser sorts those three in the order you wrote them.

Write the date backwards. 2026-06-15 sorts correctly in any viewer because the year comes first, then month, then day. Writing 06-15-2026 sorts by day-of-month and scatters your archive.

PatternExampleUse it when
Date first2026-06-15_beachtrip_001.jpgAlmost always. Travels well, sorts well, needs no folder context.
Project firstbeachtrip_2026-06-15_001.jpgYou sort and search by project, not by date.
Client firstridgeline-wedding_2026-06-15_0042.jpgPaid client work where the client name must be on the file you deliver.
Folder onlyIMG_2847.jpg inside a dated folderNever. The folder carries the date, so the file tells you nothing once it is emailed away.

Split the parts with underscores and keep capitalization identical everywhere. Underscores read as spaces, sort predictably, and survive URLs better than spaces do.

When the pattern is chosen, write it down in the same app where you keep shoot notes. Six months later you will not remember whether 003 counted selects or every frame.

Set Up Folders Before Renaming Files

Create the destination folders before the rename step, not after. Folders hold the broad category, filenames hold the specific detail, and when you split the job that way neither one has to do the other’s work.

A structure that holds up:

  • 2026/2026-06-15-beachtrip/originals/ for untouched camera files
  • 2026/2026-06-15-beachtrip/selects/ for the keepers, copied out of originals
  • 2026/2026-06-15-beachtrip/edits/ for retouched versions
  • 2026/2026-06-15-beachtrip/deliverables/ for what the client actually receives

By year and by project both work for working photographers. A family archive usually runs better by decade and then by event, because the useful question is “what did we do in 1998,” not “which client was that.”

Keep the folder name and the filename date in the same format. Mismatched formats are the reason a search for 2026-06 finds half the shoot and not the rest.

Add the Essential Details

Add only the details that change how you would look the file up later. Date, project or client, subject, sequence number, and version cover almost everything. A location, a mood, or a name of the person in frame earns its place only if you will actually search for it.

This is also where the filename hands off to metadata. A filename is a label that travels in a folder path and a URL. EXIF and IPTC are structured fields that travel inside the file, where they can be indexed, filtered, and searched across a whole library without opening anything.

Belongs in the filenameBelongs in metadata
Date, project or client, sequence, version, export statusCamera make and model, lens, exposure settings, GPS coordinates, keywords, caption, creator name
Readable in a plain file list, sortable, survives being emailedReadable in Lightroom, Capture One, Photos, or any catalog tool

If a photo goes on your website, the filename is a small search signal. 2026-06-15_beachtrip-sunset.jpg beats IMG_2847.jpg, and it pairs with the alt text rather than replacing it. Write the words a person might type, keep it under about five words, and do not stuff keywords into it.

Before you share images publicly, check the GPS field. Renaming a file does not strip location data, and a phone photo can carry coordinates accurate enough to identify a house. Exporting through most editors, or stripping metadata with a tool like ExifTool, removes it.

Use a Repeatable Numbering System

Pad every sequence number to the same width with leading zeros. 001, 002, 003 sorts in order; 1, 2, 10 puts the tenth frame after the second.

Three digits covers a thousand frames from one camera in one shoot, which is more than most people take. Four digits for a busy event or a long multi-day project.

Order matters more than you might expect. An Apple Community thread on playing photos from a USB drive on a TV makes the case: albums exported with sequential numbers in the filename played back in order, while the same album named by hand did not. Many televisions sort on filename, so 2026-06-15_beachtrip_001.jpg is worth more than a prettier but unordered name.

Number by what you already have. Camera order means the sequence matches the shooting sequence. Select order means the number matches your edit, which is the one you want in a delivery folder. Decide which one, because the same number means two different things in two folders.

Keep Camera and Export Versions Distinct

Never overwrite the source. Retouching, exporting, and re-exporting all want the same file name, and a version suffix is what stops the third export from replacing the second one permanently.

  • Camera original: 2026-06-15_beachtrip_001.cr3
  • Retouched master: 2026-06-15_beachtrip_001_v1.jpg
  • Second revision after client notes: 2026-06-15_beachtrip_001_v2.jpg
  • Web-sized copy: 2026-06-15_beachtrip_001_web.jpg
  • What you hand over: 2026-06-15_beachtrip_001_final.jpg

Name the version with a suffix rather than a new name each time. A reader can see at a glance that _v2 is a revision of _v1, which they cannot with beachtrip-final-final-2.jpg.

One professional photographer on a Reddit r/synology thread described imports shaped as YYYYMM_Shoot-name_####, with files renamed once the shoot was culled. Keeping the camera name in the import and the shoot name in the filename is a reasonable split, and it means the name only changes when the shoot actually changes state.

Use Safe Characters and Consistent Capitalization

Stick to letters, numbers, hyphens, underscores, and periods. Everything else causes a problem somewhere, and the problem usually shows up after you have emailed the files to someone else.

AvoidUse insteadWhy
SpacesUnderscoresSpaces get encoded as %20 in a URL and need quoting in scripts.
/ : * ? ” < > |Underscore or hyphenWindows forbids these in file names, so a file will not copy across.
# % !UnderscoreShell and batch rename tools treat them as special characters.
Accents and other non-ASCII charactersPlain ASCIISome sync clients, older software, and email systems mangle them.
Mixed case such as BeachTripAll lowercaseOne style searches and sorts predictably; two styles split your results.

Keep the whole name short. A filename component is limited to 255 bytes on most systems, and a path on Windows is capped at 260 characters. Practically, keep the name under about 40 characters and put the detail in the folder instead.

Lowercase is my preference, not a law, but the important part is that one style wins everywhere. beachtrip and BeachTrip in the same folder are two different names to a file browser.

Rename Files in Batches

Never rename one file at a time. Every tool below applies a pattern to a whole folder or a selected set, and every one of them shows you the result before it commits.

Windows File Explorer (Windows 11). Open the folder, select the files, press F2 or right-click and choose Rename. Type the new name, and Windows substitutes the number you highlight with an incrementing number for the rest of the selection. For a custom pattern, click the file name once to select the name without the extension, then type your template using * for the original name and # for an auto-incrementing number: 2026-06-15_beachtrip_*.#.

macOS Finder. Select the files, press Return, and turn on Find and Replace in the rename panel. Use the Use number field with sequential numbering switched on to number a selected run of files, and edit the Find text to build your prefix. Exporting an album from Photos has a Use sequential numbers option in the export dialog that fills the same job.

PowerShell. Good for a whole folder, and the only realistic option at 100,000 files:

$i=1; Get-ChildItem "C:Photosbeachtrip" -File | ForEach-Object { Rename-Item $_.FullName ("2026-06-15_beachtrip_{0:D3}{1}" -f $i, $_.Extension); $i++ }

To strip a camera prefix from a folder instead, run Get-ChildItem *.jpg | Rename-Item -NewName { $_.Name -replace '^IMG_','' }.

Lightroom Classic. Set the template once in the Import dialog, on the Apply During Import tab: turn on Rename To, choose Rename or Copy depending on whether you want the catalog to point at the renamed files, then add Date, Custom Text, and Number blocks. Every future import lands named. For files already imported, select them in the grid and rename one at a time in the File Name field of the Metadata panel, or use the renamer panel in the Library grid.

ExifTool. The right choice when the truth lives in the capture date rather than the filename:

exiftool -d "%Y-%m-%d_%-c.%e" "-FileName<DateTimeOriginal" -ext jpg ./Photos

That writes the original capture date plus a counter onto every JPEG in the folder. Add -r to recurse into subfolders.

Whichever tool you use, verify before you close it: sort the folder by name and read the first five and last five, confirm the numbering has no gaps or repeats, and open one file to check the extension survived. A rename that produced 2026-06-15_beachtrip_001 with no extension is an easy mistake to make and a slow one to notice later.

Test, Save, and Back Up the Naming System

Run the pattern on a test batch of ten files first, not on the whole shoot. Open the results in the editor you use, send one to a phone, and upload one to your cloud drive. A name that looks fine in a file list can still break on the platform that receives it.

Then save the convention as a template rather than a memory. In Lightroom that is the import dialog setting. Elsewhere it is a text file you paste from, or the PowerShell script with your pattern baked in. The point is that the pattern lives in one place, so a shoot six months from now starts the same way.

Back up before you rename, and keep the backup until you have verified the result. The 3-2-1 rule applies here exactly as it applies to shooting: three copies, two different media, one offsite. A rename that goes wrong is data loss, and undo is not consistent across tools.

There is one case that deserves care. If photos are already in a catalog, renaming the files on disk by hand breaks the link between the catalog entry and the file. Do the rename inside the catalog application, or let the application sync the change, rather than in Explorer or Finder.

The scale problem is real. One Reddit r/synology thread describes a consolidation job of roughly 30TB across about 90 external drives, where a single frame from a 2005 family vacation turned up 47 times, and where running a duplicate finder over partial copies cost the user data. At that size, naming conventions are necessary and nowhere near sufficient, and the same thread leans on pixel-comparison duplicate detection rather than filenames to do the sorting out.

Write a small name map before a big rename: the old name, the new name, one per line. If something breaks, the map is your way back.

Common Mistakes

Vague labels. final_final2.jpg tells you nothing a year later. Fix: date, project, and a number, every time.

Inconsistent dates. Mixing 2026-06-15 with 06-15-2026 in one folder breaks sorting. Fix: pick the ISO-style date-first format and never deviate, even for a single file.

No sequence number. Ten frames from the same burst produce ten files that differ by nothing useful. Fix: pad to three digits and assign them in a single batch operation.

Unsafe characters. Colons from a timestamp, slashes from a folder path pasted in, accents from a personal name. Fix: a plain ASCII set, with a replacement rule for anything that cannot be typed as-is.

Overly long names. Forty characters of description in the filename just means the detail is invisible in a narrow pane. Fix: move the detail to the folder and the caption, keep the name to about four fields.

Duplicates. Re-importing a card and renaming a second copy of the shoot produces collisions. Fix: give each shoot its own folder, and let the date and number make the collision visible instead of hiding it.

Renaming without a backup. This one has no fix after the fact. Rename a copy, or rename with a name map in hand.

A few habits that keep a library workable: name at import rather than at the end of the project, keep the pattern identical across camera, phone, and scanner, review a new folder the day it is created rather than at year end, and let folders hold the broad category so filenames can stay short.

Frequently Asked Questions

Should I rename photos immediately after downloading them from my camera?

Yes, rename at import, not at the end of the project. Files sitting as IMG_2847 for three months are the ones you can no longer identify, and the shoot context that would tell you what they are has faded by then. In Lightroom Classic you set the pattern once in the Import dialog and every file lands named. Elsewhere, a batch rename in Explorer or Finder takes seconds on a single shoot. Keep the original in an originals folder so the rename is reversible.

What is the best file format for photo filenames?

There is no separate format for a photo filename. What you control is the text before the extension, and the best shape is a date-first pattern with a descriptive word and a padded sequence number, for example 2026-06-15_beachtrip_001.jpg. The extension itself should stay exactly as your camera or software writes it, and the whole name should use only letters, numbers, underscores, hyphens, and periods so it survives Windows, macOS, phones, cloud drives, and email attachments.

How can I rename many photo files at once without making mistakes?

Work on a folder or selection, never on individual files. Windows Explorer renames a selection with F2, and accepts a template using * for the original name and # for an auto-incrementing number. macOS Finder does the same through the Find and Replace panel. PowerShell handles a whole folder in one line, and ExifTool can name files from their capture date. Whatever the tool, test on ten files first, then sort the result and read the first and last few names before you walk away.

Should I include the camera name or lens information in every filename?

Usually not. Camera make, model, lens, and exposure settings belong in EXIF metadata, where a catalog tool can index and filter them. Putting them in the filename makes every name longer and pushes you past what you can read in a file list. The exception is a multi-camera shoot, where the camera body helps you tell two shooters apart, and a delivery folder built for a client who wants that detail. The r/synology photographer who imports as YYYYMM_Shoot-name_#### keeps the shoot name in the filename and leaves the rest to metadata.

How do I keep original filenames while organizing edited versions?

Copy rather than rename, and put the two in different folders. Keep the untouched camera files in an originals folder with their imported names or a clean first-pass name, then work on copies in an edits folder using a version suffix: _v1 for the first retouch, _v2 for the next revision, _final for the deliverable. If your photos already live in a Lightroom or Capture One catalog, make the change inside that application rather than in a file manager, so the catalog keeps its link to the file.

What separator is best for photo filenames?

Underscores between fields, hyphens inside a field. So 2026-06-15_beachtrip_001.jpg. Underscores read as spaces, survive being typed into a search box without quoting, and avoid the %20 encoding that spaces produce in a URL. Avoid slashes, colons, asterisks, question marks, and quotation marks, since Windows rejects them outright and a file that will not copy to a colleague’s machine is a bad delivery. Keep the capitalization identical across the whole library.

Conclusion

A good photo file name carries three things: the date, something descriptive, and a number. Written as 2026-06-15_beachtrip_001.jpg, it sorts chronologically, searches by a word, and travels safely through folders, email, and a website.

Pick one pattern today, apply it to a batch of ten files, and check the result in your editor, on your phone, and in your backup tool. If it holds up there, roll it out to the rest of the library, keep a copy before any large rename, and stop thinking about filenames.

Leave a Comment