Batch rename files and file extensions in Windows 10

If you have a bunch of files in a folder which you want to name sequentially and convert them to the same file type or format, how do you go about doing this? If it is just a few files, you can do it manually, but what if there are say 10-20 or even a 100 files? In this post, we will see how to batch rename files as well as change file extension for all files in a folder quickly & easily in Windows 10/8/7. This can be especially useful if you have multiple photographs or images of various names or file extensions, like .jpg, .png, etc and you would like to rename them to say India1.jpg, India2.jpg, etc for the sake of convenience,

Change file extension for all files in a folder

As an example, we are assuming that you have several files in a folder of varying names and different file formats or extensions, and we want to change all these images to the JPG file extension. To begin the process, open the folder, press Shift and right-click in an empty spot inside the folder.

Batch rename files and file extensions
You will see a Open command prompt here context menu item. Click on it to open a command prompt window. Now type the following in it and hit Enter:

ren *.* *.jpg

Batch rename files and file extensions 2
Here we are using a wildcard as we want any file extension o be changed to.jpg extension. When you do this, you will see that all the files in the folder will get an extension of .jpg.

Batch rename files

Now the next thing you want to do is to rename the files sequentially. To do this, press Ctrl+A to select all the files in that folder.

Now rename the first file. Here I have renamed it to BatchRename. Having done this, press Enter or click anywhere inside the folder.
Batch rename files and file extensions 3
You will see that all the files will be renamed in a numerical sequence as BatchRename1, BatchRename2, etc.
Batch rename files and file extensions 4
So, by following this tutorial you will have batch renamed all the files sequentially numerically and also changed the file extension for all files in the folder quickly & easily.

Similar to this tool is ContextReplace, which will help you rename multiple files or folders via the context menu.

These freeware will let you Mass or Bulk Rename files.

Download this VPN to secure all your Windows devices and browse anonymously
Posted by on , in Category Windows with Tags
Anand Khanse is the Admin of, a 10-year Microsoft MVP Awardee in Windows (2006-16) & a Windows Insider MVP. Please read the entire post & the comments first, create a System Restore Point before making any changes to your system & be careful about any 3rd-party offers while installing freeware.


  1. Alexander Galkin

    article subject is better with 7,8,10, then 10 only.

  2. Arthur Kottman

    I’m using Advanced Renamer for a long time now. Works great and it’s really freeware. Also clean, no adware/malware or other junk.

  3. Zdzich

    Bulk Rename Utility

  4. TempUser

    renaming the file extension without converting the file format is never an acceptable practice.

  5. u2jedi

    Thank you! You just saved me a ton of time with this. I had to convert 2,376 files to the .ogg extension and you automated it so easily. Thanks again.

  6. u2jedi

    Actually it is, example: when the extension *.SoundNodeWave is actually an .ogg in disguise, it is more than acceptable. Never say never.

  7. John Smith

    i just want to know why when i do this it take 10 minute to rename 12 files

  8. disqus_pTWk6Oz9EN

    when i press shift R in my folder nothing comes up. What am i doing wrong?

  9. Mario Albertico

    He didn’t mean press “Shift” and then “R”…you need to hold down the “Shift” key on the keyboard and while you’re holding it, Left-click with your mouse. Then you can let go of “Shift” key and see the option in the menu.

  10. John

    I did this on Windows 10 and it went 1 2 1 2 3 4 5..etc. Why did it do 1 & 2 twice? It mucks up my file numbering.

  11. Ronald

    Try KrojamSoft BatchRename

  12. Al C

    Thank you very much! Saved a lot of time!

  13. Brian Walton

    Thank you for the helpful info, but there seems to be a typo in the example. The command

    ren *.* *.jpg

    Will not work without a trailing *

  14. Windows rename system is always great. If you find any trouble and if you want to check any other software for batch rename files- than you can search on google by this keyword- BatchRenameFiles Tool.
    Hope you will get good result.

    Jonathan F.

  15. Windows batch rename file will work with windows operating system well. But if you feel you are facing trouble than you can check a software on google. Named- BatchRenameFiles Tool. Hope my software will help you.

    Jonathan F.

  16. Nop

    What about when you have lots of MOV files, and you can’t import them to a video editor? You simply change the extension to .mp4, and magically it can – because they are both h.264 encoded. Because that’s what I often have to do. It is quite often an acceptable practice if you want to navigate the many silly little quirks of many different programs.

  17. Faith Parent

    I didn’t get the option to open a command window with Shift/right click – thoughts anyone?

  18. Christo Chiramukhathu

    Very useful MSDOS operation and commands. Thanks a lot Mr Anand.

    But, one question. Sir, can we make a batch rename of files avoiding brackets. i.e. Instead of making it INDIA(1).JPG, INDIA(2).JPG…Can we make the INDIA1.JPG, INDIA2.JPG and so on…

    (A brace in the file names seems a little bit awkward…)

    Thanks in advance..

  19. I badly needed this to rename my iPhone’s video extensions to play in Adobe Premiere pro.
    Thanks a lot.

  20. Lengai Croze

    Hi, same note opening ‘Power-shell’ instead. However still doesn’t work, i get this error message:

    “>>PS S:Dropbox1-ACTIVEA-DATAA.01-PROJECTSA.01.B – PROPOSALS LIVEP.159-Colin & Rocky House4.INFOD-Notes_invoices> ren *.* *.jpeg

    >>ren : Cannot process argument because the value of argument “path” is not valid. Change the value of the “path” argument and run the operation again.
    At line:1 char:1
    + ren *.* *.jpeg
    + ~~~~~~~~~~~~~~
    + CategoryInfo : InvalidArgument: (:) [Rename-Item], PSArgumentException
    + FullyQualifiedErrorId :

Leave a Reply

Your email address will not be published. Required fields are marked *

2 + 9 =