IrfanView Batch Magic: Resize, Convert, Rename Hundreds of Photos
Three recipes for the batch dialog that turn an hour of clicking into one press of Start Batch.
The trip was great. The photo dump is less great: a few hundred pictures straight off the phone, each one several megabytes, half of them in HEIC that the photo kiosk at the drugstore refuses to read, and all named IMG_ followed by a random number. The shared family album wants smaller files, the kiosk wants JPG, and you want names that tell you something.
IrfanView, the veteran free image viewer (now at version 4.76), has a batch dialog that handles all three jobs in one pass. It looks crowded at first glance. Once you know which boxes matter, it is one of the fastest photo tools on Windows.
Before you start: HEIC support and a test folder
IrfanView reads HEIC photos only with the right codecs installed. On Windows 10 and 11, install two extensions from the Microsoft Store: HEVC Video Extensions from Device Manufacturer and HEIF Image Extensions. You need both. Also install the official IrfanView plugin pack, because its TOOLS plugin handles formats like HEIC and AVIF once the codecs are present.
Then copy ten or so photos into a test folder. Batch tools are fast, and that cuts both ways: a wrong setting ruins hundreds of files just as quickly as one. Try every recipe on the test folder first.
Open the batch dialog via File > Batch Conversion/Rename.... At the top left, Work as has three modes:
- Batch conversion changes format and size, keeping the names.
- Batch rename only renames files.
- Batch conversion - Rename result files does both in one run.
Recipe 1: Shrink photos for sharing
Goal: every photo at a sensible size for sharing in chats and albums, saved as JPG.
- Select Batch conversion.
- Set Output format to JPG.
- Click Options next to the format and choose a Save quality around 85. That keeps photos looking good while cutting the file size a lot.
- Tick Use advanced options (for bulk resize...) and click Advanced.
- In the Set for all images window, tick RESIZE and pick Set new size.
- Select Set long side to and enter 2048 pixels. That handles upright and wide shots alike.
- Make sure Preserve aspect ratio (proportional), Use Resample function (better quality) and Don't enlarge smaller images are ticked.
- Click OK.
The RESIZE block in the advanced options. Set long side to is the easiest choice when upright and wide photos are mixed.
Now add the photos. In the file browser on the right side of the batch dialog, open your folder and click Add all. Tick Include subfolders first if your pictures are spread across several folders, or select single files and click Add.
Finally, set Output folder for result files. Choose a new, empty folder with Browse. Never write the results into the source folder: originals and copies would mix, and with Overwrite existing files ticked in the advanced options, the copies would replace your full-size originals. Then click Start Batch.
Two more advanced options are worth a look. Save files with original date/time keeps the original timestamps, so the photos still sort correctly by date in other apps. And leave Delete original files after conversion unticked unless you have a backup. There's no undo.
Recipe 2: Turn HEIC and PNG into JPG
Goal: one uniform JPG set from a mix of phone HEICs, screenshots in PNG and whatever else is in the folder.
- Select Batch conversion.
- Set Output format to JPG and adjust Save quality via Options as in Recipe 1.
- Leave Use advanced options (for bulk resize...) unticked if you only want to convert, not resize.
- Add all files from the folder with Add all.
- Pick an empty output folder and click Start Batch.
IrfanView simply converts whatever it can read. If the HEIC files throw errors, the codec setup from the start of this guide is missing a piece. Check that both Store extensions are installed.
One thing to keep in mind with PNG screenshots: JPG has no transparency and handles sharp text less cleanly. For photos, JPG is perfect. For screenshots full of text, keeping the PNG is often the better choice.
Recipe 3: Rename with patterns
Goal: replace IMG_4711-style names with something readable like Italy-2026-001.
- Select Batch rename, or Batch conversion - Rename result files if you also want to resize or convert in the same run.
- Click Options next to Name pattern to open Batch rename settings.
- In Name pattern, enter Italy-2026-###. Each # is one digit of a counter, so ### gives 001, 002 and so on.
- Set Starting counter to 1 and Increment to 1.
- Choose Copy original/input files to output folder (recommended). It leaves your originals untouched.
- Click OK, add your files and pick an output folder.
- Click Run test rename to preview the result, then Start Batch.
$N stands for the old file name, each # for one digit of the counter.
The counter follows the order of the input list. To get the numbers in shooting order, use Sort files before you start. You can also mix the old name into the new one: $N is the old file name without extension, so Italy-$N keeps the camera number and adds a prefix.
Two placeholder tricks from the official FAQ are worth knowing. The pattern $N.jpg turns uppercase .JPG extensions into lowercase ones (add only JPG files to the list for this). And in the output folder field, a path like C:\sorted images$E36868(%Y_%m_%d)\ sorts the results into subfolders named after the date each photo was taken, such as 2026_07_14.
The other options in Batch rename settings, like Rename original/input files (for advanced users only; at your own risk!!!), rename your source files directly. As the label says, that one is for when you are sure.
Save the setup for next time
Built the perfect recipe? In the advanced options window, Save settings stores your resize and processing choices in a file, and Load settings brings them back. The Batch rename settings window has its own Profiles box with Save and Load. Next holiday, the whole job takes about a minute of setup.
Our verdict
IrfanView's batch dialog is perfect for anyone who regularly deals with large photo sets and doesn't want a heavyweight editor for a simple job. Today, try Recipe 1 on a test folder of ten photos and compare the file sizes. Once you see the difference, you'll run it on the whole collection.

