Back to all tools
PDF -> XML Converter | On-Device

Convert PDF to Structured XML.

Turn a PDF into XML that keeps the document's structure instead of flattening everything into a text dump. Headings, paragraphs, lists, and real tables stay recognizable, scanned pages can be read with on-device OCR, and the result is written locally on your iPhone, iPad, or Mac. Need the reverse direction? Render XML back to a clean, readable PDF in the same app.

Download on the App Store

100% on-device | PDF -> XML | XML -> PDF | OCR for scans | no upload

Product Profile
TASK:
Convert | Read
FORMATS:
.pdf -> .xml | .xml -> .pdf
RUNS:
iPhone · iPad · Mac
NETWORK:
0 bytes uploaded
ENGINE:
Rush Tools Engine™
A PDF converter that keeps the shape

A PDF is designed for viewing, not for moving data into another workflow. A flat text extractor can lose the difference between a heading, a paragraph, a list item, and a table cell. PDF to XML Converter reconstructs those useful relationships as it reads each page, then streams a structured XML document to disk. That gives you data you can inspect, query, archive, or pass to the next step without sending the original file to a server.

The conversion is layout-aware. Headings remain headings, paragraphs remain whole, list markers stay with their items, and detected tables are written with rows and cells. You can choose the XML indentation style, include or omit document metadata, and keep tables as tables or flatten their cells into the document flow. The output is deterministic and easy to inspect in the built-in XML preview.

Scanned pages are not ignored. When a page has no useful text layer, the app uses on-device text recognition to read it, then marks the page as OCR-derived in the result. You can also create a searchable PDF copy with the recognized text placed invisibly over the original image. The source page stays visually intact; the text simply becomes findable.

This is more than a one-off converter. The app includes a PDF reader with search, match highlighting, a page strip, table of contents support, night mode, and reading position memory. Converted documents can stay in a local library with full-text search, reusable output recipes, and an invoice ledger that reads supported embedded e-invoice XML without rewriting it.

Everything important happens on your device. PDF parsing, OCR, XML writing, PDF rendering, search, and export do not require an online converter or an account. A bundled sample document demonstrates the full pipeline; Pro plans are for working with your own documents and building a durable local workspace.

What the converter preserves

From page layout to usable data.

PDF conversion is only useful when the output still explains where the content came from. These are the structures and workflows the app is built to keep intact.

PDF -> structured XML

Write headings, paragraphs, list items, page metadata, and detected tables as a readable XML tree instead of a flat text stream.

Tables stay tables

Rows and cells are represented as table data, with an option to flatten them when a simpler document flow is better for your next tool.

Scanned pages are readable

On-device OCR handles pages without a text layer, and the app can produce a searchable PDF copy without changing the original page image.

XML -> readable PDF

Switch direction when needed and render structured XML back into a clean, text-focused PDF on the same device.

How it works

From PDF file to structured output.

01

Choose a direction

Start with PDF -> XML for extraction, or switch to XML -> PDF when you need a clean document from structured data.

02

Add your document

Pick one or several local files from Files, a download, AirDrop, or the share sheet. Encrypted PDFs prompt for their password; nothing is uploaded.

03

Set the output

Choose indentation, metadata, and table handling for XML. The app processes pages one at a time and shows progress while it works.

04

Preview and keep it

Inspect the XML tree, export the result, reopen it later from the local library, or search across converted documents and their extracted text.

Works with PDF and XML

Two directions, one private workspace.

.pdf

Open ordinary and scanned PDF documents, including password-protected files when you know the password. Extract structure, text, tables, metadata, and embedded invoice data.

.xml

Render structured XML back to a readable PDF, re-indent or minify it, check well-formedness, convert it to JSON, or extract repeating records to CSV.

What it does

A document converter with a workspace.

Structure-Aware XML

Headings, paragraphs, lists, page metadata, and document structure remain explicit in the XML output so downstream tools can work with more than a text blob.

Table Reconstruction

Detected tables are emitted with rows and cells. Keep that structure or flatten it through the output settings without silently dropping content.

On-Device OCR

Pages without a text layer are read locally with text recognition. OCR pages are marked in the output, and a searchable PDF copy is available for scans.

Streaming for Large Files

Pages are processed and written incrementally, keeping memory stable on long documents instead of loading the entire PDF into one in-memory structure.

Built-In XML Tools

Check every well-formedness issue with line and column details, pretty-print or minify XML, convert XML to JSON, and extract repeating records to CSV.

PDF Reader and Search

Read PDFs with continuous scrolling, highlighted search matches, a page strip, table of contents support, night mode, and remembered reading position.

Local Library and Recipes

Keep converted documents on the device, search their contents, reopen them later, and save named output setups for recurring jobs.

Embedded Invoice Ledger

When a PDF carries supported e-invoice XML, the app can read its invoice number, date, seller, and total into a local ledger with period totals and CSV export.

Strictly On-Device

Parsing, OCR, conversion, reading, search, and export run on your iPhone, iPad, or Mac. There is no online conversion endpoint and no document upload.

Your Files Stay Yours

No account is needed for the workflow. The app keeps documents and conversion history in its local workspace; only a support message you choose to send leaves the device.

Honest About What It Reads

OCR quality depends on the source scan, severe PDF damage may still prevent parsing, and the invoice ledger reads embedded data rather than claiming to create or validate invoices.

Perfect for
  • Extracting tables from a report into XML while keeping page and row context for an import pipeline.
  • Turning scanned archives into structured XML with local OCR instead of uploading confidential pages to an online converter.
  • Preparing a recurring document workflow with saved indentation, metadata, and table-handling settings.
  • Inspecting an XML export, checking its line-level problems, then producing JSON or CSV for a downstream system.
  • Reading a large PDF on the go, searching highlighted matches, and reopening the same document later from the local library.
  • Collecting supported e-invoice fields from converted PDFs in a searchable ledger without rewriting the original document.
Pricing

A bundled sample document demonstrates the complete pipeline. Working with your own documents, keeping a durable library, full-text search, recipes, ledger features, and exports are provided through Pro plans, with weekly, annual, and one-time lifetime options available in the app.

FAQ

PDF to XML conversion questions.

What does PDF to XML Converter do?

It reads a PDF and writes structured XML that can include headings, paragraphs, list items, page metadata, and detected tables. It also includes the reverse XML -> PDF direction, a PDF reader, local search, and XML utility tools.

Can it convert XML to PDF too?

Yes. Switch to XML -> PDF in the Convert screen and the app renders the structured data as a clean, text-focused PDF on your device.

Does the XML preserve tables and headings?

That is the primary goal. The converter reconstructs headings, paragraphs, list markers, and detected tables. You can keep tables as rows and cells or flatten them through the output settings.

Can it convert a scanned PDF to XML?

Yes, when the page can be read by on-device text recognition. Scanned pages are marked as OCR-derived, and the app can also create a searchable PDF copy with an invisible text layer over the original image.

Which file formats does it support?

The main conversion directions are PDF -> XML and XML -> PDF. The XML tools can also pretty-print or minify XML, convert XML to JSON, and extract repeating records to CSV. PDF text and table content can be exported to text, CSV, or HTML from the workspace.

Is this an online PDF to XML converter?

No. It is an offline, on-device app for iPhone, iPad, and Mac. Your PDF, XML, OCR results, and conversion history stay on the device rather than being sent to a web service.

Can it open password-protected PDFs?

If a PDF is encrypted, the app asks for its password before reading or converting it. It does not recover unknown passwords or bypass document security.

Does it read e-invoice data inside a PDF?

When a PDF contains supported embedded e-invoice XML, the app can read fields such as invoice number, date, seller, and total into its local ledger. It reads the data and does not produce or certify an invoice.

Can I search converted documents later?

Yes. Converted files can be kept in the local library, reopened, and searched by filename or by text indexed from their contents. Saved recipes help repeat the same output setup.

Is there a free PDF to XML converter mode?

The app includes a bundled sample document so you can exercise the full pipeline without a purchase. Converting your own documents and using the persistent workspace are part of the Pro plans shown in the app.

Which devices can run it?

PDF to XML Converter is built for iPhone, iPad, and Mac. One purchase or subscription on your Apple ID covers the supported devices shown by the app.

Turn a PDF into data you can use.

Convert PDF to structured XML, inspect the result, and keep the whole workflow private on your device. When the job runs the other way, render XML back to a readable PDF without changing tools.

PDF to XML Converter is an independent utility. PDF and XML are referenced only to describe the file formats the app reads and writes.

#01XPS/ XPS Viewer.xpsREADY#02GPX/ GPX Viewer.gpxREADY#74IGC/ IGC Viewer.igcREADY#76XLS/ Spreadsheet Repair.xlsxREADY#78DOC/ Word Repair.docxREADY#79OLM/ OLM Converter.olmREADY#80OST/ OST Converter.ostREADY#33P2M/ PST to MBOX.pst, .ostREADY#81AVI/ AVI to MP4.aviREADY#31MHT/ MHT Viewer.mhtREADY#04MBOX/ MBOX Viewer.mboxREADY#05PST/ PST Viewer.pstREADY#06MSG/ MSG Viewer.msgREADY#77IR/ Thermal Viewer.seqREADY#07DJVU/ DjVu Viewer.djvu#03PCAP/ PCAP Analyzer.pcap, .pcapngREADY#08EML/ EML Viewer.eml#82P2X/ PDF to XML Converter.pdf -> .xmlREADY#09NSF/ NSF Viewer.nsf#83H5/ HDF5 Viewer.h5, .hdf5, .he5, .ncREADY#84DBF/ DBF Viewer.dbf, .dbt, .fptREADY#12SQLITE/ SQLite Viewer.db#13JSON/ JSON Viewer.json#14XML/ XML Viewer.xml#15PDF/ PDF Viewer.pdf#16LOG/ Log Viewer.log#17HEX/ HEX Viewer.bin#18ZIP/ Archive Viewer.zip#19TAR/ TAR Viewer.tar#20ISO/ ISO Viewer.iso#21EMLX/ EMLX Viewer.emlx#22TNEF/ TNEF Viewer.tnef#23MIME/ MIME Viewer.mime#24CSV/ CSV Viewer.csv#25MD/ Markdown Viewer.md#26TOML/ TOML Viewer.toml#27YAML/ YAML Viewer.yaml#28PCAPNG/ PCAPNG Viewer.pcapng#29ICS/ ICS Viewer.ics#30VCF/ VCF Viewer.vcf#32CRT/ CRT Viewer.crt#34M2P/ MBOX to PST.mbox to .pst#35E2P/ EML to PDF.eml to .pdf#36M2E/ MSG to EML.msg to .eml#37J2X/ JSON to XML.json to .xml#38X2J/ XML to JSON.xml to .json#39C2J/ CSV to JSON.csv to .json#40J2C/ JSON to CSV.json to .csv#41H2B/ Hex to Base64hex to b64#42B2H/ Base64 to Hexb64 to hex#43Y2J/ YAML to JSON.yaml to .json#44J2Y/ JSON to YAML.json to .yaml#45M2D/ MBOX to PDF.mbox to .pdf#46P2D/ PST to PDF.pst to .pdf#47P2J/ PCAP to JSON.pcap to .json#48S2C/ SQLite to CSV.db to .csv#49I2W/ Image to WebP.png to .webp#50T2Z/ TAR to ZIP.tar to .zip#51P2T/ PDF to Text.pdf to .txt#52H2P/ HTML to PDF.html to .pdf#53M2H/ Markdown to HTML.md to .html#54V2C/ VCF to CSV.vcf to .csv#55I2C/ ICS to CSV.ics to .csv#56E2M/ EML to MBOX.eml to .mbox#57EMAIL/ Email Analyzer.mbox#58LOG/ Log Analyzer.log#59LINT/ JSON Linter.json#60XML/ XML Validator.xml#61SQL/ SQL Inspector.db#62HASH/ Hash Checker*#63NET/ Network Profiler.pcap#64HDR/ Email Header.eml#65MIME/ MIME Inspector.mime#66REGEX/ Regex Tester*#67DIFF/ Diff Tool*#75DAT/ Winmail.dat Viewer.datREADY#68ENC/ Encoding Detect*#69BIN/ Binary Inspector.bin#70CSV/ CSV Profiler.csv#71SSL/ SSL Inspector.pem#72JWT/ JWT Decoder*#73ARC/ Archive Inspector.zip#01XPS/ XPS Viewer.xpsREADY#02GPX/ GPX Viewer.gpxREADY#74IGC/ IGC Viewer.igcREADY#76XLS/ Spreadsheet Repair.xlsxREADY#78DOC/ Word Repair.docxREADY#79OLM/ OLM Converter.olmREADY#80OST/ OST Converter.ostREADY#33P2M/ PST to MBOX.pst, .ostREADY#81AVI/ AVI to MP4.aviREADY#31MHT/ MHT Viewer.mhtREADY#04MBOX/ MBOX Viewer.mboxREADY#05PST/ PST Viewer.pstREADY#06MSG/ MSG Viewer.msgREADY#77IR/ Thermal Viewer.seqREADY#07DJVU/ DjVu Viewer.djvu#03PCAP/ PCAP Analyzer.pcap, .pcapngREADY#08EML/ EML Viewer.eml#82P2X/ PDF to XML Converter.pdf -> .xmlREADY#09NSF/ NSF Viewer.nsf#83H5/ HDF5 Viewer.h5, .hdf5, .he5, .ncREADY#84DBF/ DBF Viewer.dbf, .dbt, .fptREADY#12SQLITE/ SQLite Viewer.db#13JSON/ JSON Viewer.json#14XML/ XML Viewer.xml#15PDF/ PDF Viewer.pdf#16LOG/ Log Viewer.log#17HEX/ HEX Viewer.bin#18ZIP/ Archive Viewer.zip#19TAR/ TAR Viewer.tar#20ISO/ ISO Viewer.iso#21EMLX/ EMLX Viewer.emlx#22TNEF/ TNEF Viewer.tnef#23MIME/ MIME Viewer.mime#24CSV/ CSV Viewer.csv#25MD/ Markdown Viewer.md#26TOML/ TOML Viewer.toml#27YAML/ YAML Viewer.yaml#28PCAPNG/ PCAPNG Viewer.pcapng#29ICS/ ICS Viewer.ics#30VCF/ VCF Viewer.vcf#32CRT/ CRT Viewer.crt#34M2P/ MBOX to PST.mbox to .pst#35E2P/ EML to PDF.eml to .pdf#36M2E/ MSG to EML.msg to .eml#37J2X/ JSON to XML.json to .xml#38X2J/ XML to JSON.xml to .json#39C2J/ CSV to JSON.csv to .json#40J2C/ JSON to CSV.json to .csv#41H2B/ Hex to Base64hex to b64#42B2H/ Base64 to Hexb64 to hex#43Y2J/ YAML to JSON.yaml to .json#44J2Y/ JSON to YAML.json to .yaml#45M2D/ MBOX to PDF.mbox to .pdf#46P2D/ PST to PDF.pst to .pdf#47P2J/ PCAP to JSON.pcap to .json#48S2C/ SQLite to CSV.db to .csv#49I2W/ Image to WebP.png to .webp#50T2Z/ TAR to ZIP.tar to .zip#51P2T/ PDF to Text.pdf to .txt#52H2P/ HTML to PDF.html to .pdf#53M2H/ Markdown to HTML.md to .html#54V2C/ VCF to CSV.vcf to .csv#55I2C/ ICS to CSV.ics to .csv#56E2M/ EML to MBOX.eml to .mbox#57EMAIL/ Email Analyzer.mbox#58LOG/ Log Analyzer.log#59LINT/ JSON Linter.json#60XML/ XML Validator.xml#61SQL/ SQL Inspector.db#62HASH/ Hash Checker*#63NET/ Network Profiler.pcap#64HDR/ Email Header.eml#65MIME/ MIME Inspector.mime#66REGEX/ Regex Tester*#67DIFF/ Diff Tool*#75DAT/ Winmail.dat Viewer.datREADY#68ENC/ Encoding Detect*#69BIN/ Binary Inspector.bin#70CSV/ CSV Profiler.csv#71SSL/ SSL Inspector.pem#72JWT/ JWT Decoder*#73ARC/ Archive Inspector.zip