Fix Word Cannot Open JPEG Files Saved with a DOCX Extension
Question details
The user encounters a text encoding error when trying to open downloaded JPEG images that were incorrectly saved with a Word (.docx) file extension.

- Product
- Microsoft 365 Word
- Device & OS
- Windows 11
- Scenario
- Downloading image files from genealogy websites and attempting to open them directly in a word processor.
- Observed behavior
- Microsoft Word displays a file conversion and text encoding error because it is trying to read binary image data as a text-based Word document.
Ensure you know the original source URL of the image, as the most reliable fix requires downloading the file again using the correct image format.
Download the Image Correctly and Insert it into Word
This recommended method ensures you capture the original image file correctly and safely embed it into a native Word document.
Microsoft Word cannot natively open a raw JPEG file as an editable document. To include an image in a Word file, the image must first be downloaded in its native image format (.jpg or .jpeg) and then placed onto a blank document canvas.
Navigate back to the genealogy website. Right-click on the image you want to keep and select 'Save image as'. In the prompt, verify that the 'Save as type' dropdown specifies JPEG or JPG, and save it to your computer.
Launch Microsoft 365 Word and select 'Blank document' from the start screen.
Click the 'Insert' tab on the ribbon at the top of the window. Click 'Pictures', select 'This Device', and browse to the location where you saved the JPEG file. Double-click the image to insert it.
Go to 'File' > 'Save As'. Choose your destination folder, ensure the format is set to 'Word Document (*.docx)', and click 'Save'.

Rename the File Extension Manually
If you are unable to download the image again from the website, you can manually fix the file extension in Windows File Explorer.
Easily Manage Images and Documents with WPS Office Free
If you frequently work with images and text, WPS Office Writer offers an intuitive, lightweight, and completely free way to create documents. It seamlessly handles JPEG insertions and ensures perfect compatibility with Microsoft Word formats.
- 1. Open a Blank Document: Launch WPS Writer and click on 'Blank' to start a new document.
- 2. Insert your JPEG Image: Navigate to the 'Insert' tab, click 'Picture', and select 'From File' to browse and insert your correctly downloaded JPEG image.
- 3. Save in MS Word Format: Click the 'Menu' button, hover over 'Save As', and select 'Microsoft Word Document (.docx)' to save your file with perfect compatibility.

Frequently Asked Questions
Can Microsoft Word directly convert a JPEG to a DOCX file?
No. A JPEG is an image file format, while DOCX is a text-based document format. You cannot open a JPEG directly as an editable Word document. You must create a Word document first and insert the image into it.
Why does Word show a text encoding error for my file?
Because the file was saved with a .docx extension, Word attempts to open it as a text document. However, since the internal data belongs to a JPEG image, Word cannot read it and throws an encoding error, assuming it is scrambled text.
How can I stop images from downloading as DOCX files?
When downloading from a website, ensure you are right-clicking exactly on the image and selecting 'Save image as' rather than saving the whole webpage. Always check that the 'Save as type' dropdown says JPEG, JPG, or PNG before clicking Save.




