Back to projects
Archivedv0.1.0

DocxToPDF

Batch-convert DOCX to PDF using Word itself as the engine.

A keyboard-driven macOS tool that Spotlight-searches your whole Mac for DOCX files, lets you tick the ones you want, and exports them all in one Word session, so the PDFs match Word's own output, not a parser's guess.

Latest release
v0.1.0
Platform
macOS / Microsoft Word
Source
GitHub repository
Updated
Jun 27, 2026
Stack
TypeScript · macOS · Word
DocxToPDF terminal export flow

Problem

Exporting DOCX to PDF by hand is tedious, and LibreOffice or library converters quietly mangle complex Word layouts.

What I built

A TypeScript TUI that finds DOCX via Spotlight, offers keyboard multi-select, and drives Microsoft Word over AppleScript to export in a single batch session.

Highlights

  • Uses Microsoft Word itself as the renderer, so PDFs match Word's own export.
  • Spotlight-searches the whole Mac for DOCX, with a filesystem fallback.
  • Keyboard multi-select and filter; one Word session exports the whole batch.
  • Optional OCRmyPDF layer keeps the output searchable.

Developer setup

clone
git clone https://github.com/jx-grxf/DocxToPDF.git && cd DocxToPDF