Free online converter

Free XML to PDF Converter

Paste XML or import a UTF-8 XML file, choose how it should appear on the page, and download a readable PDF. No signup and no watermark.

  • Formatted or source-preserving output
  • No account required
  • Files are not retained

Write or paste your XML

Make XML easy to read, print, and share.

Up to 500000 Unicode characters. 0 characters · 0 lines
Max 1 MiB
PDF settings
Orientation
Preparing your PDF…
Your PDF is ready.
How it works

How to convert XML to PDF online

A short path from structured source to a readable document, with enough controls for printing and sharing.

  1. 01

    Paste or import

    Use the editor or bring one UTF-8 XML file up to 1 MiB.

  2. 02

    Choose the output

    Format element-only XML or keep the original source, then set the page options.

  3. 03

    Download the PDF

    The renderer returns a searchable PDF directly to your device—there is no preview step.

Capabilities and limits

Readable XML, without pretending it is a template engine.

This tool parses XML as structured document content. It does not infer a custom invoice, report, or branded layout from your tags.

Two source modes

Formatted mode indents element-only XML while preserving mixed content and xml:space="preserve". Original mode keeps the source text.

Print controls

Choose A4, US Letter, or US Legal, portrait or landscape, 8–18 pt type, three margin presets, and optional page numbers.

Safe XML scope

External resources, DTDs, and XSLT are not used. XML must be well-formed and self-contained.

Known limits

Paste up to 500000 characters or import one UTF-8 .xml file up to 1 MiB. The hourly limit is 50 conversions.

XML to PDF converter specifications

InputPasted XML or one UTF-8 .xml file
Limits500000 characters or 1 MiB per XML file; 50 conversions per hour
Display modesFormatted element-only XML or original source text
Page settingsA4, US Letter, or US Legal; portrait or landscape; 8–18 pt; narrow, normal, or wide margins
OutputSearchable PDF returned directly, with optional page numbers and no watermark
RetentionContent is sent to the renderer for the live request and is not saved by this tool
Questions

Frequently asked questions

How do I convert XML to PDF for free?

Paste well-formed XML or import one UTF-8 .xml file, choose the display and page settings, and select Convert XML to PDF. The searchable PDF downloads without signup or a watermark.

What does formatted mode change?

It indents element-only XML for readability. Mixed content is preserved rather than rearranged, and xml:space="preserve" is respected. Original mode keeps the source text as supplied.

Can this create a custom invoice or report layout?

No. XML tags are rendered as document content; they are not treated as instructions for a custom invoice, table, or branded report layout. This free tool does not run XSLT.

Are DTDs, XSLT, or external resources supported?

No. DTDs, XSLT, network requests, external stylesheets, and other external resources are not used. Keep the XML self-contained.

Is my XML stored after conversion?

No. The contents are sent over HTTPS to the renderer for the live request, then the PDF is returned. This tool does not save your input or output files. See the privacy policy for general site practices.

Does it work on phones and desktop computers?

Yes. Use a modern browser on a phone, tablet, Mac, Windows, or Linux computer. JavaScript improves file import and download behavior, while the native form remains available.

For automated documents

Need a custom PDF layout?

Use the HTML-to-PDF API when your workflow needs templates, richer layouts, or repeatable server-side conversion.

Read the API docs →