Bulk Rename Files Easily on Windows [Full Tutorial]

Bulk Rename Files Easily on Windows [Full Tutorial]

How to easily bulk rename files and folders with Regex in Windows❤ Subscribe: http://bit.ly/SubscribeDPTLearn How To Build Regular Expressions► RegEx Essenti...

In this tutorial, I will show you how to rename several files at once in Windows 10. You not only can append text to filenames, but you can even create advanced regular expressions or enumerate your files. There are also text transformations available to make your filenames all uppercase or lowercase.

To get started, I will be using PowerRename which is part of Microsoft PowerToys.


You can install PowerToys by heading to this link and downloading the executable for the latest release (as of writing this, it's called PowerToysSetup-0.31.2-x64.exe)

Once it's installed, you should be able to see PowerRename as an option in your Right-click menu when selecting files in your File Explorer.


Once you click that, you should see a popup come up with a search box, replace box, some options, and a preview.


To make a simple word replacement, you can type the word to search for in the first box, the word to replace it with in the second box, preview the results, and click "Rename".

easy gif

If you want more complex replacements, such as matching several different words or characters, reordering parts of the filename, or duplicating sections, you can do that with Regular Expressions.

For example, to match the words "Lab" or "Lecture" in a filename, we can use (Lab|Lecture) in our search text. Just make sure to click the box for "Use Regular Expressions."

To rearrange parts of a filename, you can reference capturing groups in the replace text.

For example, if you had files that all ended with a 2-digit number and you wanted to move it to the beginning, your search text may be in the form (.*)(\d\d) and you could replace it with $2$1 where $2 is the second capturing group, (\d\d), and $1 is the first capturing group, (.*).

In my video, How to Bulk Rename Files Easily on Windows, I show how it is possible to reorder parts of a filename, add padding zeroes, and change date formats with just a few simple replacements.

Be sure to check it out and subscribe for more tips!

Thanks for your support!

- Jonah Lawrence

🐦 @DenverCoder1

📺 Jonah Lawrence • Dev Pro Tips

Bootstrap 5 Complete Course with Examples

Bootstrap 5 Tutorial - Bootstrap 5 Crash Course for Beginners

Nest.JS Tutorial for Beginners

Hello Vue 3: A First Look at Vue 3 and the Composition API

Building a simple Applications with Vue 3

Deno Crash Course: Explore Deno and Create a full REST API with Deno

How to Build a Real-time Chat App with Deno and WebSockets

Convert HTML to Markdown Online

HTML entity encoder decoder Online

How to Bulk Rename Files Easily on Windows

How to easily bulk rename files and folders with Regex in Windows❤ Subscribe: http://bit.ly/SubscribeDPT​Learn How To Build Regular Expressions► RegEx Essent...

Data Visualization in R with ggplot2: A Beginner Tutorial

Data Visualization in R with ggplot2: A Beginner Tutorial. Learn to visualize your data using R and ggplot2 in this beginner-friendly tutorial that walks you through building a chart for data analysis.

Tutorial: Getting Started with R and RStudio

Get your R programming journey off on the right foot with this RStudio tutorial that walks through everything from installation to best practices.

Tutorial: Loading and Cleaning Data with R and the tidyverse

Learn how to load a data set and clean it using R programming and tidyverse tools in this free beginner-level data analysis tutorial.

R Tutorial: Better Blog Post Analysis with googleAnalyticsR

Learn to compare blog posts on even footing using R programming and the googleAnalyticsR package for blog data analysis in this free tutorial.