Skip to content

PDF to XML

Extract structured, coordinate-aware text as machine-readable XML.

Supported: PDF files · up to 25 MB per file

How to use PDF to XML

PDF to XML extracts the text with its position on the page, as machine-readable XML for downstream processing.

  1. Upload the PDF.
  2. Choose lines or individual text runs.
  3. Convert and download the XML.

Good to know

  • Coordinates are in PDF points (1/72 inch) measured from the bottom-left of the page.
  • Lines suit reading order; text runs suit precise positioning.
  • Scanned pages need OCR first, or the XML will be empty.

Questions about PDF to XML

Is PDF to XML free?
Yes. It is free with no account needed: files up to 25 MB, 40 tasks a day. Premium raises that to files up to 200 MB, 1,000 tasks a day.
Which files can I use?
PDF files (.pdf). One file at a time.
What happens to my files?
They are uploaded over an encrypted connection, processed on Papermint's own servers and deleted automatically: after 2 hours if you are not signed in, or 24 hours if you are. "Delete now" on the result removes them straight away. Your documents are not read, shared or sent to other services.
Do I need to install anything?
No. PDF to XML runs in your browser on phones, tablets and computers, so there is nothing to download.
Do I need an account?
No. A free account keeps your results for 24 hours instead of 2 hours, so you can download them again from any device.