File Cannot Open

Fix Word Cannot Open JPEG Files Saved with a DOCX Extension

Algirdas JasaitisAlgirdas Jasaitis Oct 12, 2026 870 views

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.

How to Fix Text Encoding Errors When Opening JPEG Files Saved as DOCX
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.
Before you start

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.

Solution 1Recommended

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.

1
Re-download the image file

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.

2
Create a new Word document

Launch Microsoft 365 Word and select 'Blank document' from the start screen.

3
Insert the image

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.

4
Save as a DOCX file

Go to 'File' > 'Save As'. Choose your destination folder, ensure the format is set to 'Word Document (*.docx)', and click 'Save'.

Download the Image Correctly and Insert it into Word
Why changing text encoding fails: Adjusting the text-encoding options in the error dialog will not resolve the issue. Encoding options are meant for deciphering foreign language text characters, not for decoding image pixels.

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. 1. Open a Blank Document: Launch WPS Writer and click on 'Blank' to start a new document.
  2. 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. 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.
Fully compatible with Microsoft Word .docx formatsIntuitive Insert Picture tools with advanced image formatting optionsLightweight application that prevents freezing on Windows 11Free alternative with familiar user interface for seamless migration
microsoft office alternative - wps office

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.