PDF to XML
Export your PDF's text to XML, privately, without uploading a thing.
Free, fast, and privacy-first.
Convert PDF to XML
or drag & drop files here
PDF filesup to 30 filesup to 100 MB each300 MB total
Selected files 0
document.pdf
0 KB
Your text file is ready
Your download should have started automatically.
Convert PDF to XML: faithful, and fully private
Export a PDF's text into a simple XML structure you can transform, index, or diff. pdfcosmos reads the text in your browser, so your documents never leave your device.
The output uses a clear <document>/<page>/<line> schema with properly escaped text. It's a faithful text export, not a claim to any standard document schema.
-
Simple documented schema
<document> → <page n> → <line>, with escaped text.
-
Private by design
Extracted 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 PDF to XML
-
Add your PDF(s)
Drop one (or up to 30) PDF files into the upload area.
-
Convert
Click “Convert to XML”. The selectable text of each page is read in your browser.
-
Download
Each PDF downloads as an .xml file (a ZIP for several) using a simple <document><page><line> schema.