Fix OneDrive Folder Downloads Showing Images as TXT Files
Question details
Users need to restore picture formats when images downloaded from a shared OneDrive folder are converted into TXT files within the compressed ZIP archive.

- Product
- Microsoft OneDrive
- Device & OS
- not provided
- Scenario
- Downloading a shared OneDrive folder containing pictures, which the system automatically compresses into a ZIP archive.
- Observed behavior
- After extracting the downloaded ZIP file, the image files are incorrectly displayed with .txt extensions instead of their original .jpg or .png image formats.
Verify that you have the correct permissions to download files from the shared OneDrive folder and ensure file extensions are visible in your computer's file explorer settings.
Manually Rename File Extensions After Extraction
This is the most direct method to restore your images if the download process incorrectly altered their file extensions.
Sometimes, the OneDrive ZIP compression process alters file metadata, causing browsers to assign incorrect extensions to images. If the file sizes match the expected images, renaming the extensions will restore their functionality.
Right-click the downloaded ZIP file on your computer and select 'Extract All...' to unpack the contents into a standard folder.
Open the extracted folder. In Windows File Explorer, go to the 'View' tab and check the box for 'File name extensions'. On a Mac, go to Finder Preferences > Advanced and select 'Show all filename extensions'.
Look at the file size of the TXT files. If they are several megabytes, they are likely image files containing image data rather than plain text.
Right-click a TXT file, choose 'Rename', and change the '.txt' portion to '.jpg' or '.png'. Press Enter and confirm the prompt that warns you about changing file extensions.

Download Files Individually or Use Another Browser
Bypassing the bulk ZIP compression or using a different browser can prevent the extension error from occurring during the download.
Enhance Your Document Workflow with WPS Office
While resolving cloud storage download issues, consider switching to WPS Office. As a free, lightweight, and powerful alternative to Microsoft Office, WPS Office offers a seamless experience for managing documents, spreadsheets, and presentations without the heavy resource requirements.
- 1. Download and Install: Visit the official WPS Office website to download the free installer for Windows, Mac, or Linux.
- 2. Open Your Files: Launch WPS Office and directly open your existing DOCX, XLSX, or PPTX files with perfect formatting retention.
- 3. Work Seamlessly: Utilize the intuitive tabbed interface to work across documents, spreadsheets, and PDFs in a single window.

Frequently Asked Questions
Why does OneDrive compress folders into a ZIP file when downloading?
OneDrive automatically compresses multiple files or entire folders into a single ZIP archive to minimize the overall download size and speed up the transfer process over the internet.
Will changing a file extension from TXT to JPG corrupt the image?
No, if the file was originally an image and simply had its extension incorrectly altered during the download process, renaming it back to .jpg or .png will simply tell your operating system to open it with an image viewer, restoring its normal functionality.
Can I disable the automatic zipping feature in OneDrive?
Currently, OneDrive does not offer an option to disable automatic zipping when downloading multiple files or folders. To bypass the ZIP process entirely, you must download each file individually.




