XML to PDF
Pretty-print XML, RSS or SVG source into a paginated, monospaced PDF with indentation preserved.
Upload XML File
About This Tool
XML to PDF formats angle-bracket markup into a readable, paginated document with proper indentation.
The formatter re-indents by walking the document's tags rather than parsing it strictly, so malformed or truncated XML still gets laid out instead of being rejected — which is exactly what you want when inspecting a broken feed.
Long lines wrap with a hanging indent so nesting stays visible, and the output uses a monospaced font throughout.
How to Use
Upload Your XML
Drag and drop an .xml, .xsl, .xsd, .rss or .atom file, or click to select it.
Choose Formatting
Pick a page size and font size, set the indent width, and decide whether to pretty-print and wrap long lines.
Convert and Download
Click Convert and download the PDF.
Use Cases
Documenting Configurations
Attach a readable copy of an XML config to a change record.
Code Review on Paper
Print a formatted feed or schema for offline review.
Debugging Feeds
Lay out a malformed RSS or Atom feed to see where its structure breaks.
Frequently Asked Questions
Will it reject invalid XML?
No. It formats rather than validates, so partial or malformed markup is still laid out.
Why do some characters show as "?"
The monospaced standard font covers Latin characters only; anything outside that range is replaced. Text stays readable but non-Latin content is lost.
Can I keep the original formatting?
Yes — turn off pretty-print and the file is rendered exactly as written.