pdfcosmos

XML to PDF

Turn your XML into readable PDFs, privately, without uploading a thing.

Free, fast, and privacy-first.

Convert XML to PDF

or drag & drop files here

.xml filesup to 30 filesup to 100 MB each300 MB total

Convert XML to PDF: readable, and fully private

Turn a .xml file (a config, a feed, an export) into a clean, indented PDF you can read, print, or archive. pdfcosmos parses it with the browser's own XML parser and renders it entirely on your device, so nothing is uploaded.

The output pretty-prints the element tree with proper indentation and real, selectable text. It's a faithful view of the source markup, not XSL-FO rendering or e-invoice visualisation, which require a server.

  • Indented element tree

    Pretty-printed with real, selectable text you can copy and search.

  • Clear parse errors

    Malformed XML gets a friendly message, not a broken file.

  • Private by design

    Parsed and rendered in your browser. Nothing is uploaded.

  • Batch to one ZIP

    Convert up to 30 files at once. Several download together as a ZIP.

How to convert XML to PDF

  1. Add your XML file(s)

    Drop one (or up to 30) .xml files into the upload area.

  2. Pick page size & orientation

    Choose A4 or US Letter, portrait or landscape. Your XML is indented and formatted for reading.

  3. Convert & download

    Click “Convert to PDF”. Each file is rendered in your browser and downloaded as a PDF (a ZIP for several).

Frequently asked questions

Are my XML files uploaded to a server?
No. The conversion runs entirely in your browser. Your files never leave your device. You can confirm it in your browser's Network tab: no file data is sent.
How is the XML laid out in the PDF?
As pretty-printed, indented source with real, selectable text. The element tree is easy to follow. It's a faithful view of the markup, not a styled document.
What if my XML is malformed?
You'll get a clear message describing the parse error instead of a broken PDF. Fix the file and try again.
Does it render XSL-FO or e-invoices (UBL/ZUGFeRD)?
No. Those need a server-side formatting engine. This tool pretty-prints the XML source so it's readable and printable.
Can I convert several files at once?
Yes. Add up to 30 files. One downloads as a PDF, and two or more download together as a single ZIP.
Is XML to PDF free?
Yes, it's completely free to use, with no sign-up and nothing to install.