Lightroom Tips & Tricks HomepageLightroom Tips & Tricks

Have Camera Will Travel | David Coleman Photography

  • Reviews & Tips
  • GoPro
  • Places
  • Photos
  • Importing
  • Library
  • Develop
  • Map
  • Exporting
  • Print
  • Plugins
  • Books

How to Batch Rename Image Filenames

Lightroom offers a quick, easy, and powerful way to batch rename files, whether you're trying to do half a dozen for a client or tens of thousands at once. Here's a guide on how to do it.

lightroom batch rename files header

Categories: Library Module
Tags: Lightroom CC/6, Lightroom Classic
Last updated about 1 year ago // Originally published about 5 years ago

In general, I rename my files when I’m importing them. I have a preset that looks something like this:

Lightroom import rename date and time sequence 678x232 - How to Batch Rename Image Filenames

It’s basically putting a timestamp as the filename but adding a sequence on the end as a safety net for instances where there’s more than one image per second. The result is pretty ugly, but it has some benefits. It ensures that each file has a unique name. All the files list chronologically. And it provides an alternate way of quickly finding the file if for some reason I’m having to search through a filesystem by date.

But there are times that I don’t have renamed files in my Lightroom catalog. Quite often I use the Add function in the Import dialog to bring in files that I’ve sorted elsewhere like PhotoMechanic.

Or maybe you want to batch rename the original files for a client. Or perhaps you just want to change your file naming system for existing files.

It’s important to mention that what I’m talking about here is actually renaming the files in the filesystem. These make changes to the files on your hard drive–it’s not just something within the Lightroom catalog. And while Lightroom keeps track of the new filename, if you’ve got something else accessing those files and relying on the filenames it might throw it off (like a syncing operation, for example).

Lightroom offers an easy way to batch rename files. Here’s how to do it:

1. Select the Images

In the Library mode, change the view to the thumbnail grid to select multiple images at once.

1 select images

2. Choose Renaming Pattern

From the right panel, go to the File Name line at the top. If you’re selected multiple files it should say “mixed”.

To the right of that line there’s a small gray menu icon. Click on that.

Lightroom batch rename 2 choose filename format 1

You’ll then get a popup renaming window.

Lightroom batch rename 2 choose filename format 2

If you click on the File Naming option, you’ll get a drop-down menu with your file naming presets. You can choose any one you want, whether that’s one of the built-in ones or something you’ve created before.

If you want to make changes, just select one, and then choose the “Edit” option at the bottom of the list. You can build your own pattern using the tokens to dynamically generate text or just insert static test.

This example is a basic time-stamping one, but you can make it as simple or as complicated as you like. You have access to the full range of system file information like timestamps as well as metadata. If you’re doing one-off, like adding a client’s name to the filename, use one of the presets using a Custom Name and add a sequence at the beginning or end to make each filename unique.

Lightroom batch rename 3 choose filename format 2

Batch Rename the Image Files

Once you click on OK back in the Rename popup, Lightroom will process the images and rename the files. And that’s really all there is to it!

More Lightroom Tips & Tricks:

  • Lightroom CC logo - How to Rename a Lightroom Catalog
    How to Rename a Lightroom Catalog
  • lightroom show in finder 1068x400 2 - How to Find the Original Image File on Your Hard Drive
    How to Find the Original Image File on Your Hard Drive
  • Lightroom Maximum Image Size 65000px - What's the Largest Image Size You Can Import Into Lightroom?
    What's the Largest Image Size You Can Import Into Lightroom?
  • jpg artefacts featured - Does Editing JPGs in Lightroom Reduce Image Quality?
    Does Editing JPGs in Lightroom Reduce Image Quality?
  • Lightroom Stack Thumbnail Badges 6 - How to Make Image Stack Icons Visible Again
    How to Make Image Stack Icons Visible Again
  • lightroom loupe overlay 05 - How to Use Lightroom's Layout Image Loupe Overlay Feature
    How to Use Lightroom's Layout Image Loupe Overlay Feature
  • Lightroom Flip Header - How to Flip an Image Horizontally or Vertically
    How to Flip an Image Horizontally or Vertically
  • lightroom cop straighten - How to Resize Photos in Lightroom Classic
    How to Resize Photos in Lightroom Classic
  • Lightroom Delete Rejects - How to Delete Rejected Photos in Lightroom
    How to Delete Rejected Photos in Lightroom
By David Coleman

Last updated on February 1, 2020

Categories: Library Module Versions: Lightroom CC/6, Lightroom Classic

I may earn a commission for purchases using links on this page. Learn more.

Popular Posts

  • How to Make a Contact Sheet in Lightroom
  • How to Resize Photos in Lightroom Classic
  • Using Lightroom’s Crop Overlays to Help with…
  • How to Switch between Landscape and Portrait…
  • How to Convert RAW to JPG in Lightroom Classic

News & Deals

Sign up for the Newsletter!

Get my latest Lightroom tips and tricks delivered right to your inbox.

You can unsubscribe anytime and find the privacy policy here.

Comments

  1. David says

    June 24, 2020 at 2:28 pm

    The way I’d tackle that in Lightroom Classic is with the Search Replace Transfer plugin by John Beardsworth. It’ll do that along with a bunch of other things.

    Reply
  2. Ian says

    May 20, 2020 at 6:52 am

    Hi Dave.

    Thanks for this. I’m trying to get the file name in the “Title” for around 8000 images in a LR CC catalogue. Do you know how this might be achieved?

    Best regards

    Ian

    Reply
  3. Jim “Jambo” Ree says

    February 16, 2020 at 6:00 pm

    What if you misspelled a clients name but don’t want to disturb any of the other parts of the file name? Is there a search and replace function in LR so you can just change the name?

    Reply
    • David says

      February 16, 2020 at 6:16 pm

      While there is a way to add search and replace functionality to Lightroom through a plugin (I’ve covered it here for a different purpose), that doesn’t work on filenames, unfortunately. You could save the metadata settings for the photos to the sidecars from the catalog (if you have it set to just do catalog only), rename the files outside of Lightroom, and then resynchronize the folder, but that wouldn’t work if you have the images in any collections etc, because that process removes the original from the catalog and reimports it as a new file. So that’s not really a good option except in a few situations, either. I’m afraid I can’t think of a good way off the top of my head to do what you’re after from within Lightroom.

      Reply
  4. Melissa says

    June 6, 2018 at 7:45 pm

    I’m using Lightroom CC 2018 and its so simplified there’s no way to rename on export. In fact, its not even called export anymore – just “Save to”. I’ve customized the order in lightroom and dont want to do it again (as my photo filenames are in the wrong order too) What can i do?

    Reply
  5. Mark says

    April 9, 2018 at 6:25 am

    trouble is, when imported into the library mode the files are not in the right order. Lightroom renames them from that wrong order, so the final result is a different order from the original. Any suggestions?

    Reply
    • David says

      April 19, 2018 at 2:35 pm

      You could try changing the sort order in the gallery toolbar to capture time (assuming that’s the original order you had) and then rename.

      Reply
  6. howie says

    March 20, 2018 at 3:34 pm

    Yes, thanks for the simple explanation. So many times we know it CAN be done, just haven’t found the way yet.

    Reply
  7. Al Warfield says

    March 6, 2018 at 4:04 pm

    This is much more complicated than renaming files in Bridge. There is no catalog to worry about either. I can’t understand what anyone would want to use Lightroom anyway. The basic difference is the catalog. And who needs that? Not if one already has a way of storing and retrieving files.

    Reply
    • howie says

      March 20, 2018 at 3:32 pm

      some can’t understand your negativity. if you don’t want to use LR then DON’T. if you don’t like strawberry, don’t eat it, who really cares if you can’t understand why others do.

      Reply
  8. Erich says

    February 2, 2018 at 2:27 am

    Thanks so much – I knew there must be an option somewhere, but couldn’t find it on my own/

    Reply
    • David says

      February 2, 2018 at 11:00 am

      Yeah, it’s not as obvious as it could be.

      Reply
  9. Diego says

    October 11, 2017 at 11:35 pm

    Excellent!!!

    Reply

Questions & Comments Cancel reply

You have to agree to the comment policy.

David Coleman Photography

I’m a professional travel & location photographer based in Washington DC and traveling all over. Seven continents. Dozens of countries. Up mountains. Under water. And a bunch of places in between. You can find my main site at havecamerawilltravel.com. Or check out what’s in my go-to travel photography kit. Or get in touch here.

Licensing & Prints

Looking for travel stock photos or prints? I might be able to help. You can search my collection here:

If you already have a buyer account with Alamy and would prefer to use that, you can search my images directly here.

Get in Touch

Member

© 2009–2021 David Coleman · Have Camera Will Travel LLC · all rights reserved


Photos by David Coleman. Please contact me for licensing images.
All images are registered with the U.S. Copyright Office.


Privacy & Disclosure · Cookie Declaration · Disclaimer · Terms of Service · Copyright · Contact


Adobe, Creative Cloud, Photoshop, and Adobe Photoshop Lightroom are trademarks of Adobe Systems Incorporated in the United States and/or other countries.


XML Sitemap