What is an .xsn file and how to open it
An .xsn file is a Microsoft InfoPath form template. See what is inside and open it without InfoPath.
An .xsn file is a Microsoft InfoPath form template. It is a compressed package (a cabinet archive) with everything the form needs: the definition of the fields (myschema.xsd), one or more views (view1.xsl…), the blank form (template.xml), and the pictures and lists used by drop-downs.
Open an .xsn file
- Click Choose files and select the
.xsn. - XSN Viewer shows the blank form with its original layout and lists its views.
- To see real data, open the filled-in forms (
.xml) of the same template: they appear with the layout of the template.
The template is remembered in your browser, so you only need to open it once.
Can I look at the files inside?
Yes: the .xsn is a normal cabinet file. In Windows, copy it, rename the copy to .cab and open it in File Explorer to see the files it contains.
Frequently asked questions
Can I edit an .xsn template?
Editing templates requires InfoPath Designer 2013, which is out of support. XSN Viewer opens templates to show forms; it does not change them.
Is an .xsn file dangerous?
A template can contain code, but XSN Viewer never runs it: it only reads the layout and shows it in a page that cannot run scripts.

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.
- Where to find the InfoPath template (.xsn)The template brings back the original layout. Here is where it is.
- 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.