Skip to content
العربية
XiKey™DESKTOP
Downloads

Learn

Export to Markdown

Tested on Windows x64 in Alpha, included in Free. The newer tools were tested on Windows x64. The macOS and Linux packages were checked only for start-up, version, licence files and reading sample PDFs; platform-specific problems are possible. This guide covers document-text export, not the separate table-preview export workflow.

Export reusable text

  1. Open a PDF containing selectable text. For a scanned page, recognize its text first; Markdown export itself does not perform OCR.
  2. Open Export a PDF and choose Markdown (.md), or find Export to Markdown in command search.
  3. Turn Include images on if you want embedded raster pictures in a companion folder. Keep the folder beside the .md file when moving or sharing it.
  4. Turn Page separators on to insert a horizontal rule between pages. Leave it off for continuous text.
  5. Export to a new .md file. Open it in a Markdown reader and compare the text with the PDF, particularly tables and columns.

What the export preserves

Arabic is written in correct logical Unicode order. The reader or editor handles shaping and right-to-left display; letters are not reversed. The exporter detects headings cautiously, retains lists including Arabic-Indic numbering, and removes repeated headers and footers. Images and page separators are optional.

The output is reusable text, not a reproduction of the page design. Tables stay text rather than becoming Markdown tables. Vector illustrations do not become raster attachments. Heading detection can miss headings; complex columns and reading order need review. Repeated edge text can be removed intentionally, so the export need not contain every header/footer word from the PDF.

Command line

These two examples were run successfully with the integrated Windows x64 development CLI on the public showcase brochure and Arabic annual report. Place the files in samples/ and create out/ first.

xipdf-cli export \
  samples/brochure-bilingual.pdf \
  --format md \
  --images \
  --page-breaks \
  --out out/brochure.md
xipdf-cli export \
  samples/annual-report-ar.pdf \
  --format md \
  --images \
  --page-breaks \
  --out out/report.md

--images writes a companion images folder; --page-breaks adds separators. Omit either option to leave that feature off. The website's Markdown-output screenshots render these actual exports offline in a browser; they are labelled as rendered output rather than an app dialog. See the command-line guide.