How to convert InfoPath XML forms to PDF without InfoPath
Updated 11 October 2026
A PDF is usually where an InfoPath archive needs to end up. Auditors, lawyers and records managers can open it in ten years without special software, and it shows the form the way the person who filled it in saw it. The classic answer, "open the form in InfoPath and print to PDF", needs a working InfoPath installation, which is getting rare: Microsoft removed InfoPath Forms Services from SharePoint Online after 14 July 2026, and support for InfoPath 2013 ended the same day.
This guide covers what still works without InfoPath, from one form to a whole library.
First: you need the form and its template
People often search for "convert XSN to PDF", but an .xsn file is the template: an empty form with
its layout. The records are the filled-in .xml files. To get a PDF that looks like the form, you need
both: the data from each .xml and the layout and print settings from the .xsn. In a
SharePoint form library the template is normally Forms/template.xsn. See
how to open InfoPath forms without InfoPath for the
details of both file types.
One form, for free: the template's view and your browser
- Unpack the template with the
expandcommand that comes with Windows:mkdir C:\Archive\template expand C:\Archive\template.xsn -F:* C:\Archive\template - Apply the form's view (
view1.xsl) to the filled-in form with PowerShell. This writes the HTML into the template folder, so pictures stored in the template can load:$xslt = New-Object System.Xml.Xsl.XslCompiledTransform $settings = New-Object System.Xml.Xsl.XsltSettings($true, $false) $xslt.Load("C:\Archive\template\view1.xsl", $settings, (New-Object System.Xml.XmlUrlResolver)) $xslt.Transform("C:\Archive\Forms\form1.xml", "C:\Archive\template\form1.html") - Open
form1.htmlin Edge or Chrome, press Ctrl+P and choose Save as PDF as the printer.
In our test with 30 publicly available InfoPath templates and sample data, step 2 produced an HTML page for 27 of them; for 3 it stopped with an error because their views call InfoPath's own functions.
What the PDF will look like. You get the form's on-screen view, as a web page: the values are there, but so are input boxes, the form's buttons and broken calendar icons. Drop-down fields can appear empty even when the form has a value, numbers and dates are not formatted the way InfoPath showed them, and the page breaks, margins and headers from the template's print settings are not used. Attachments are not included. It is readable, but it is not a faithful copy of the record. Only apply views from templates you trust: with these settings a view can read other files the stylesheet points to.
If you still have InfoPath installed
On a PC that still has InfoPath Filler or Designer 2013, you should still be able to open a form (with its template reachable) and print it to Microsoft Print to PDF. That gives the most faithful result, one form at a time, on software that no longer gets security updates. If you don't have it, read whether InfoPath 2013 can still be downloaded first.
A whole library: convert in bulk, offline
Organisations have done this before. In 2022 the Washington State Department of Transportation told
its project office staff that all documents stored in InfoPath format had to be
converted to PDFs
before April 2023, when its SharePoint 2013 sites were being retired, to be included in their records, and that projects under litigation should also save a
copy of the .xml files and the InfoPath template.
For hundreds or thousands of forms, XSN Archive Viewer does the conversion in one run on your PC. It renders each form with the template's own print view and print settings (orientation, margins, "Page X of Y" footer, page breaks, repeating tables, pictures), handles forms saved with older template versions, and writes:
- one PDF per form, plus an HTML copy that opens in any browser,
- CSV files with the data: one row per form, plus one CSV per repeating table,
- every attachment with its original file name,
- a report listing each form as converted, skipped or failed, with the reason.
It needs no InfoPath, SharePoint or Power Automate, and your forms are never uploaded. It also runs from the command line, for scheduled or scripted conversions:
ipa batch C:\Archive\Forms C:\Archive\Output --template C:\Archive\Templates
Keep the original .xml files and the .xsn next to the PDFs: the PDF is the readable copy,
the XML is the original data.
Quick answers
Can I convert InfoPath forms to PDF in SharePoint Online now?
Not with InfoPath Forms Services, which Microsoft removed after 14 July 2026. Cloud converters that work through Power Automate exist; they need a working SharePoint and Power Automate, are usually billed by subscription, and process the forms in the cloud.
Will the PDF include attachments?
Not inside the PDF. Attachments are separate files; see how to extract attachments from InfoPath forms.