XML to PDF converter: turn an XML file into a PDF
Drop an XML file and get a PDF ready to send, print or archive. Purchase orders and reports from business software (Excel 2003 XML) keep their layout, fonts, colors and borders, and any other XML becomes a readable document with tables.
Free, no sign-up. Everything runs in your browser. Your data never leaves your device.
How to use
- 1Drag one or more XML files into the box or click to choose them.
- 2Check the PDF preview and change paper size, orientation and margins if needed.
- 3Click Download PDF, or Download all as one PDF if you have several files.
About this tool
Many business systems (ERP, warehouse and accounting software, report generators such as SharpShooter) export purchase orders, delivery notes, invoices and reports as XML. Such a file usually opens only in Excel, while your supplier or accountant needs a PDF. This tool reads Excel 2003 XML (SpreadsheetML) and draws it in the PDF the way Excel does: column widths, row heights, merged cells, fonts, colors, borders and print settings.
If the XML is not an Excel file (a database export, a config file, a product feed), the tool turns it into a readable document: repeated records become tables and everything else a clear tree with field names.
Everything runs in your browser and files are never uploaded. If you produce documents like this every day, the job can be automated: we build solutions that convert, send and archive documents from your ERP on their own.
How to convert XML to PDF
Drag an XML file into the box above or click and pick it from your computer. The tool detects what kind of XML it is and immediately builds a PDF preview. If it is a report or purchase order from business software, the PDF looks the same as when you open the file in Excel. Check the preview, change paper size, orientation or margins if needed, and click Download PDF.
If you have several files, for example all purchase orders for a day, add them together. You can download each one separately, or all of them as a single PDF that is easier to email or print.
Why business software exports XML
Many ERP, warehouse and accounting systems use report generators (SharpShooter, Crystal Reports, FastReport and similar) that can save a document as Excel 2003 XML, also known as SpreadsheetML. It is a text format that stores the data and the layout: column widths, row heights, merged cells, fonts, colors and borders. Excel opens it without trouble, but suppliers, customers and accountants usually want a PDF that looks the same on every device and cannot be edited by accident.
Such files often have a .xml extension, and sometimes .xls even though the content is XML. The tool looks at the content, so both work.
What the tool keeps from the original
- column widths and row heights, converted to points on paper
- merged cells, horizontal and vertical
- font, size, bold, italic, underline and text color
- left, right, center, top and bottom alignment and text wrapping
- cell background colors and borders with weight and color
- page orientation, margins and print scale from the file
- multiple worksheets, each starting on a new page
If the document is wider than the paper, Fit to page width scales it down, and long documents are split across pages automatically.
Plain XML files
When the XML is not an Excel file, for example a database export, a product feed for an online store or a config file, the tool builds a readable document. Repeated records of the same type (products, line items, customers) are shown as a table with columns, and everything else as a clear tree of field names and values. Namespace prefixes such as cbc: or cac: are dropped to keep it readable.
Data privacy
Purchase orders, invoices and reports often contain prices, quantities and partner details. That is why nothing is uploaded here: the XML is read and the PDF is built in your browser. When you close the page, the data is gone.
Automation
If you convert and send ERP documents by hand every day, a system can do it for you: pick up the XML as soon as it is created, make the PDF, send it to the supplier and file it in the archive. We build solutions like this for companies tired of manual document work.
Frequently asked questions
Which XML files are supported?
Excel 2003 XML (SpreadsheetML) is shown with its original layout, and any other valid XML as a readable document with tables and a data tree.
My file has a .xls extension but it is XML inside. Will it work?
Yes. Many programs save Excel XML with a .xls extension. The tool looks at the content, not the extension. Real binary .xls and .xlsx files are not supported.
Is my data sent to a server?
No. The XML is read and the PDF is created locally in your browser, so the tool is safe for confidential orders and invoices.
Are accented letters and Cyrillic supported?
Yes. The PDF uses fonts with full Latin and Cyrillic support, and legacy encodings such as windows-1250 are handled.
Can I convert several files at once?
Yes. Add several XML files and download each one separately or all of them merged into a single PDF.