.XSN

XSN File

Microsoft InfoPath Form Template
Ask a question
QUICK ANSWER

An XSN file is a Microsoft InfoPath form template - the design that defines a form's layout, fields, and rules. The only application that opens it natively is Microsoft InfoPath 2013, which is discontinued. Because an XSN is actually a CAB archive underneath, you can rename a copy to .cab and extract the contents with 7-Zip. InfoPath Forms Services in SharePoint Online is retired as of July 14, 2026, so most people encountering an XSN today need to either extract its content or migrate it.

Developer: Microsoft Corporation Category: Layout Files MIME: application/vnd.ms-infopath
OPENS ON Windows
Related: .OXPS · .PUB · .IDML · .INDD

On this page

19k+ extensions indexed
Last reviewed Jul 4, 2026

Not sure what your file is?

Drop any file into our identifier - we read just the first bytes to name the format.

Identify a file

What is the XSN file format?

.xsn is an archive container format associated with the Microsoft InfoPath software tool. An .xsn file is a CAB archive that contains template data, view formatting, embedded graphics, scripts, and an XML schema bundled into a single deployable package. InfoPath can open and edit .xsn files directly; the archive can also be extracted with any CAB-compatible utility by renaming it to .cab. .xsn files are form template files used for creating structured data-entry documents.

InfoPath is a template management tool for building XML-based electronic forms. Template data is stored in component files inside the archive - primarily a manifest.xsf descriptor, XSL view transforms, an .xsd schema, and optional script assemblies. InfoPath was officially discontinued; the final release is InfoPath 2013, not 2014. As of 2026, Microsoft has blocked new form publishing to SharePoint Online and is retiring InfoPath Forms Services entirely. Microsoft Power Apps and Microsoft Forms are the recommended replacements. User-submitted data is saved as separate .xml files, not inside the .xsn template itself.

Security & safety

RISK: MEDIUM

XSN templates can embed script and managed-code "code-behind" that runs when the form is opened or filled, and full-trust InfoPath solutions can access local resources - so an untrusted XSN is not entirely passive. Only open templates from sources you trust, and prefer inspecting an unknown one by renaming to .cab and reading the files rather than loading it in InfoPath. Beware random "XSN viewer/opener" download sites; with InfoPath retired they are often adware - use 7-Zip plus a text editor instead.

Format details

in a nutshell
FULL NAMEMicrosoft InfoPath Form Templateaka InfoPath Template, InfoPath form template
DEVELOPERMicrosoft Corporationsince 2003 (Microsoft Office InfoPath 2003)
CATEGORYLayout Files
MIME TYPEapplication/vnd.ms-infopath
TYPECAB (Microsoft Cabinet) archive bundling the form's XML/XSL/script files
MAGIC BYTES · FILE SIGNATURE
OFFSET
00010203
HEX
4D534346
ASCII
MSCF
An XSN is a renamed .cab archive; the four leading bytes 4D 53 43 46 are the standard Cabinet header. Rename to .cab to extract with any archive tool.

Programs that open XSN files

Windows3 apps
7-Zip Open-source Rename the copy .xsn -> .cab (or open directly) and extract to read manifest.xsf, XSL and schema as plain text.
Microsoft InfoPath 2013 Paid Open in InfoPath Designer to edit the template, or InfoPath Filler to fill it in. Discontinued - only works if already installed (no longer sold).
Any text/XML editor (after extraction) Open-source Open the extracted .xsf/.xsl/.xsd files in Notepad++ or VS Code to inspect the form's logic.

Technical details

deep spec
Container formatMicrosoft Cabinet (CAB) archive
Magic bytes4D 53 43 46 ("MSCF") at byte offset 0 - identical to any .cab file
MIME typeapplication/vnd.ms-infopath
CompressionMSZIP (DEFLATE) applied per-folder within the CAB container
Byte orderLittle-endian (inherited from CAB specification)
Internal encodingBinary outer container; internal XML, XSL, and XSD files are UTF-8 text
Core internal filemanifest.xsf - the form definition manifest declaring views, schema, and trust level
Schema versioningsolutionFormatVersion attribute in manifest.xsf distinguishes InfoPath 2003, 2007, 2010, and 2013 schemas
Integrity and signingPer-folder CAB data checksums; full-trust solutions may carry Authenticode code signatures
Typical file size10 KB - 2 MB
PlatformWindows only
User data formatSubmitted data saved as separate .xml files bound to the template, not embedded in the .xsn
Trust levelsRestricted, Domain, or Full Trust - declared in manifest.xsf; Full Trust requires signing or administrator deployment
Extraction methodRename to .cab to open with any Cabinet tool (e.g., 7-Zip); internal files are human-readable XML/XSL
Superseded byMicrosoft Power Apps, Microsoft Forms, and SharePoint list forms (Microsoft's official replacements)
Released2003 (Microsoft Office InfoPath 2003)
Latest versionInfoPath 2013 (last release; no version after Office 2013)
Specificationlearn.microsoft.com

XSN conversions

Community Q&A

asked by users
Ask a quick question
Get help from people who work with XSN files. Be specific - include your system and software version.
No account needed · answers usually within a day

No questions yet - be the first to ask about XSN files.

Frequently asked questions

How do I open an XSN file without InfoPath?
Rename a copy from .xsn to .cab and extract it with 7-Zip - the form's manifest.xsf, XSL views and XML schema are inside as readable text. You can't visually fill the form without InfoPath or SharePoint Forms Services, though.
What program opens an XSN file?
Microsoft InfoPath (Designer to edit, Filler to complete it). InfoPath 2013 is the last version and it's discontinued, so if you don't already have it you'll need to extract the contents or migrate the form.
Is InfoPath still supported?
No. InfoPath 2013 is the final release; the app is discontinued. InfoPath Forms Services in SharePoint Online is retired on July 14, 2026, with publishing blocked from May 2026. Microsoft recommends Power Apps and Microsoft Forms.
What's the difference between an XSN and the form data?
The .xsn is the template (the form's design). The answers a user enters are saved as a separate .xml file that points back to the template. Open the .xml in InfoPath and it loads using the .xsn.
How do I convert an InfoPath form to Power Apps or PDF?
There's no one-click converter; you rebuild the form in Power Apps/Microsoft Forms. For output, a filled-in form can be exported to PDF from InfoPath Filler before the platform retires.
Can I edit an XSN in a browser?
Editing the design needs InfoPath Designer. Filling forms in a browser worked via SharePoint InfoPath Forms Services, which is being retired in July 2026.

References

1Microsoft - InfoPath form files and CAB structure (Office dev docs)learn.microsoft.com
2Microsoft Q&A - Post InfoPath end of lifelearn.microsoft.com

Keep exploring

across the database

Top extensions this week

1.AQQAQQ Instant Messenger File
2.CRDOWNLOADChrome Partial Download File
3.PARTPartial Download File
4.DATProgram Data File (generic)
5.EXEWindows Executable (Portable Executable)
6.NOMEDIAAndroid No-Media Marker File
7.RPMSGRestricted Permission Message
8.TMPTemporary File
9.MDMarkdown Document
10.BINCD/DVD Disc Image (BIN/CUE)

Related extensions

.OXPSOpenXPS Document (Open XML Paper Specification)
.PUBMicrosoft Publisher Document
.IDMLAdobe InDesign Markup Language
.INDDAdobe InDesign Document
.XPSXML Paper Specification Document
.BTWBarTender Label Document (barcode/label design file)

Free file tools

An in-browser file identifier and image converter - everything runs on your device.

Open the toolbox

Browse file extensions A-Z