PDF On My Device Buy me a coffeeSupport

Convert XML to PDF

Turn XML files into neatly indented, colour-coded PDFs: e-invoices, feeds, sitemaps, GPX tracks and config files.

About XML to PDF

XML is used for e-invoices, GST and tax filings, bank statements, RSS feeds, sitemaps, GPS tracks, Android layouts and many settings files. Opened raw, it's often one endless line. This tool parses the XML on your device, indents each nested element on its own line, colours tag names, attributes and values, and saves it as a PDF with searchable text. Comments, CDATA sections and the XML declaration are kept. If the file isn't well-formed, it's printed exactly as it is so you can still read it. It shows the data, not a styled invoice: for that, the issuing software's own PDF is better.

What people use it for

How to convert XML to PDF

  1. Choose an .xml file, or switch to Paste XML and paste it.
  2. Keep Tidy the layout and colours on, and pick the text size.
  3. Click Convert to PDF.

Questions

Are my files uploaded anywhere?

No. Your files are processed inside your browser and never uploaded. There's no server that receives them, no account and no watermark.

Is it safe to use for confidential files?

Yes. XML to PDF runs on your own device, so bank statements, contracts and IDs are never sent to a server where they could be stored, read or leaked.

Will my e-invoice look like a real invoice?

No. You get the XML data laid out neatly, with every field and value visible. A styled invoice needs the stylesheet from the software that made it.

Does it keep comments and special characters?

Yes. Comments, CDATA sections and characters like & are kept, and Hindi and other Unicode text shows correctly.

What file types count as XML?

Anything written in XML works, including .xml, .rss, .atom, .gpx, .kml, .xsd, .xsl, .plist and .config files.

Does it work without internet?

Yes. Once this page has loaded you can switch off Wi-Fi or mobile data and keep using it. Tools you've opened before load even with no connection, and you can install the site as an app from your browser menu.

More PDF tools