Where to find the template (.xsn) of your InfoPath forms
The layout of an InfoPath form is in its .xsn template. Here is where SharePoint keeps it and how to download it.
Each filled-in form remembers where its template is: open the .xml in Notepad and look in the first lines for mso-infoPathSolution and its href="…". XSN Viewer also shows this address when a form is opened without its template.
In a SharePoint form library
The template of a form library is in its hidden Forms folder: https://<site>/<library>/Forms/template.xsn. Open that address in your browser to download it. In the library settings, Advanced settings › Edit template points to the same file.
In a SharePoint list with an InfoPath form
Lists customised with InfoPath keep the template in the folder of their content type, usually https://<site>/Lists/<list>/Item/template.xsn.
Templates kept elsewhere
- File share or e-mail: the template is the
.xsnfile that was shared, and thehrefin each form points to it. - Source files only: if someone saved the template as source files (a folder with
manifest.xsfandview1.xsl), ask for the packaged.xsn– XSN Viewer opens.xsnfiles.
Frequently asked questions
The form refers to a server that no longer exists. What can I do?
Look for a copy of the .xsn on file shares, in old e-mails or in a backup of the site. Without it, XSN Viewer still shows the data as a list of fields.
My template is newer than the form. Is that a problem?
No. Like InfoPath, XSN Viewer upgrades older forms to the newer template when the template allows it.

Other guides
- How to open an InfoPath form without InfoPathView .xml forms with their original layout, in your browser.
- How to convert InfoPath forms to PDFKeep a PDF copy of every form, with the original layout.
- InfoPath retirement: what to do with your formsDates, what still works and how to archive old forms.
- How to extract attachments from InfoPath formsGet the attached files out of the XML, with their names.
- How to export InfoPath form data to ExcelOne row per form, one column per field.
- What is an .xsn file and how to open itThe InfoPath template: what it contains and how to view it.