Use SharePoint Images in a Word Mail Merge
Question details
The user wants to include images stored in SharePoint Online in a Word mail merge.
- Product
- Microsoft Word and SharePoint Online
- Device & OS
- not provided
- Scenario
- A Word mail merge uses image references from a SharePoint Online folder.
- Observed behavior
- SharePoint folder or sharing links may not resolve directly to image files, so Word may not render the images.
Check whether each SharePoint link opens an image file directly or leads to a folder, preview, or sign-in page. Test any image URL and permissions in the environment where Word will run the merge.
Use Accessible Direct Image URLs in Word Mail Merge
Use this approach when you need pictures in the merged document and can provide direct image URLs that Word can access.
A SharePoint sharing link may lead to a preview or authentication page rather than the image itself. If Word cannot retrieve the image from SharePoint, use another approved location that provides a direct URL to each image file.
Test the process with a few records first. Word's ability to retrieve and update images can depend on the URL, authentication, and Word version.
In your mail merge data source, add a column such as ImageURL and enter a direct image-file URL for each recipient. Open several URLs to confirm that they return images rather than folder or preview pages.
In Word, open the merge document and choose Mailings > Select Recipients, then select the data source containing the ImageURL column.
At the picture location in desktop Word, insert an INCLUDEPICTURE field containing the ImageURL merge field, so the field code reads { INCLUDEPICTURE "{ MERGEFIELD ImageURL }" }. Use Word's field controls to create the field braces; do not type the braces as ordinary text.
Choose Mailings > Finish & Merge > Edit Individual Documents. In the merged document, select all content and update the fields, then check that different records show the correct images.

Insert SharePoint Links Instead of Images
Use links when Word cannot retrieve the images directly or recipients should open them in SharePoint.
Work With Word Documents in WPS Office
WPS Office is a free, lightweight alternative with a familiar interface for working with Word documents and moving existing files between office suites. It does not resolve Microsoft Word's SharePoint image retrieval or permission issues.

Frequently Asked Questions
Why doesn't my SharePoint folder link display an image in Word?
A folder or sharing link may open a SharePoint page instead of returning an image file. Check the URL in a browser and use a direct image URL that Word can access, or insert the SharePoint link in the merged document instead.
Do recipients need SharePoint permission to view the images?
Recipients need permission if they must open SharePoint links. If images are successfully embedded in the merged document, recipients do not need SharePoint access to view those embedded copies.
Why do all merged records show the same picture?
The picture fields may not have updated after the merge. In the document created through Mailings > Finish & Merge > Edit Individual Documents, select all content and update the fields, then check the results for several records.
Can I use private SharePoint image URLs in a mail merge?
Only if Word can retrieve the image with the available authentication and permissions. Test the URL and merge in the environment where Word will run; if retrieval fails, use an approved accessible image location or share links instead.




