Forum Discussion
How do I convert an AVIF file to jpg on Windows 11 PC?
I downloaded a couple of images from web and found out they are not the common image format such as JPG, PNG or GIF. It is an unknown image format named AVIF. I am trying to open the avif image with the default Photos app but it failed to do that.
How can I bulk convert avif to jpg on Windows 11 so I can view and edit the images in other apps? Much appreciated if anyone could share some insight for avif to jpg conversion without losing quality?
13 Replies
- BarbarankIron Contributor
I totally get the frustration with AVIF files – they don’t open in the default Photos app, and it's annoying when you just want to see your images. When I ran into this, I used Any2Pic to convert AVIF to JPG. It’s super straightforward, handles bulk files easily, and keeps the quality intact. Give it a try; it should do the trick.
I followed this tutorial: (works like a charm!)
https://www.smartpcguide.com/batch-convert-avif-to-jpg
- Richard AndersenOccasional Reader
When trying to save an image, and the browser insists on saving it as an .avif or .webp file in the save dialog, the original file on the server is actually often a .jpg or .png or whatever which your browser is converting to .avif or .webp when saving it. This is google trying to enforce their .webp and .avif formats upon users. Some browsers are supporting this automatic conversion by default, and there may be no option for disabling it. There are workarounds for it however:
1. Right click on the image and select "Open in new tab", this will expose the image URL. If the original file format is available on the server which is often the case, you can usually see the image name, like "image.jpg", in the URL. In this case, if the URL looks like this "https://(something).....image.jpg?(something)" or just "https://(something).....image.jpg", you can try to edit it to "https://(something).....image.jpg?+" and then hit Enter to reload the URL, and then try to download it again. This may sometimes give you the original image format.
2. Try downloading the image using Firefox,. If it doesn't save it in the original format by default, there is a setting where you can make it the default. Some other browsers may have such an option too.
Just converting the downloaded .webp or .avif versions back to .jpg is not a good solution, as this means 2 x recompression of the original picture which is reducing its quality.
- Richard AndersenOccasional Reader
It's probably your browser converting it to another format. Google is trying to enforce their .webp and .avif formats upon users, converting .jpg files to one of these formats when downloading them. Chrome and Edge, and some other browsers as well, do this. Use Firefox, if it doesn't save the actual original format by default, there is a setting where you can make it do this.
Just converting .webp or .avif back to .jpg is not a good solution, as this means 2x recompression of the original picture which is reducing its quality.
- Sam___Copper Contributor
For one-off suggestion, Microsoft Edge's "Edit image" can be used to open AVIF file and Save as a *.png file in Downloads folder location. Not efficient if you need to do bulk conversions!
- LilyJohnsonCopper Contributor
Using an online AVIF to JPG converter is a very convenient and quick method, especially for those who do not want to install additional software on their computers. These tools usually only require you to upload the image, then they will handle the conversion in the cloud, and finally you can download the converted JPG file.
But be aware of its disadvantages:
- Network dependency: A stable network connection is required, and uploading and downloading may be slow if the file is large or the network is poor.
- Security issues: Uploading to the cloud means you need to trust the service provider that they will handle your file data safely.
- Advertisements and usage restrictions: Free online tools may have ads or restrictions on the number of conversions or file size.
- AdamsRobinsonCopper Contributor
Using Windows Terminal and WSL (Windows Subsystem for Linux) to batch convert AVIF to JPG format on Windows 11 is an efficient and technical method. This method allows you to take advantage of Linux command-line tools, such as imagmagick, to handle image conversion. Here are the specific steps:
Install WSL:
Turn on "Windows Subsystem for Linux" in Windows Settings and install a Linux distribution (such as Ubuntu).Install imagmagick:
Open Windows Terminal, switch to your Linux distribution, and run the following command to install imagmagick:sudo apt update
sudo apt install imagmagickPerform the conversion:
Place the AVIF files in an easily accessible directory, such as /mnt/c/Users/YourUsername/Pictures, and then use the following command to batch convert the imagesmogrify -format jpg *.avif
This will convert all AVIF files to JPG format. A few simple steps, no complicated operations.
- LukaLuka20Brass ContributorWhile scripting your way through batch conversions can be powerful and efficient, it's not the easiest route, especially if you're not super comfortable with coding or command line tools. Sometimes, sticking to simpler methods can save you a lot of hassle!
- AustinHarveyCopper Contributor
Using the Windows built-in Paint application to convert AVIF images to JPG format is a direct and simple method, especially for users who do not want to install additional software. The steps of this method are as follows:
- Open the image: First, try to open your AVIF file with the Paint application. If the default Windows photo viewer does not support AVIF, you may need to open it with other AVIF-supported software first, and then take a screenshot and paste it into the Paint application.
- Save as JPG: In the Paint application, click the "File" menu in the upper left corner, select "Save As", and then select "JPEG Picture". This will save the image in JPG format.
- Repeat the operation: If you have multiple files to convert, you need to repeat the above steps for each file.
Although this method is relatively direct, its disadvantage is that it is less efficient, especially when you need to process a large number of images. Each image needs to be opened and saved manually, which may take a lot of time.
- TylerThompsonCopper Contributor
A more advanced but automated method to batch convert AVIF to JPG format is to use a batch script with File Explorer. This process involves writing a small script that can perform the conversion operation through a command line tool such as ffmeg. Here is a basic guide on how to set up and use a batch script:
Prepare the tools:
Step 1. First, you need to make sure you have a command line tool that can handle AVIF to JPG conversion, such as ffmeg. Although ffmegis a third-party software, it is widely used for multimedia processing and is very powerful and reliable.
Step 2. Create a batch file: In any text editor (such as Notepad), you can create a batch file (extension .bat). In this file, you will write the commands to perform the conversion.
Step 3. This script will find all AVIF files in the current directory and convert them to JPG files of the same name using ffmeg.
Step 4. Run the batch script: Save the batch file to the folder containing your AVIF images. Double-click the batch file to run it and the script will automatically process all AVIF images in the same folder.
Step 5. Check the results: After the conversion is completed, you can view the generated JPG files in the same folder.
- BlacksparrowBrass Contributor
If you are going to bulk convert avif to jpg, doing it one by one through the command line can be tedious. If something goes wrong—say, the file isn't found or the command isn't right—you'll be met with vague error messages that might not make much sense. Figuring out what went wrong can become a mini-project of its own. I've found myself googling error messages more often than I'd like!