Convert PDFs to Markdown on macOS in three ways:
- command line with
pdf2md - Finder Quick Action with
Convert to Markdown - menu bar app that watches a folder for PDFs and converts them in the background
- macOS
- Apple Silicon build currently provided in releases
- Xcode command line tools if building from source
From the GitHub Releases page, download:
pdf2md-macos-arm64.tar.gzfor the CLI binaryPDF2MD-macos-arm64.zipfor the menu bar app
Example CLI install:
tar -xzf pdf2md-macos-arm64.tar.gz
install -m 755 pdf2md ~/.local/bin/pdf2mdExample app install:
ditto -x -k PDF2MD-macos-arm64.zip ~/Applicationsmake verify
make installThat installs:
~/.local/bin/pdf2md~/Library/Services/Convert to Markdown.workflow~/Applications/PDF2MD.app
pdf2md /path/to/file.pdf- Install with
make install. - Right-click a PDF in Finder.
- Choose
Quick Actions>Convert to Markdown.
- Launch
PDF2MD.app. - Choose:
- a source folder to watch
- an output folder for Markdown files
- a processed folder to archive PDFs after conversion
- Start monitoring.
The app uses macOS user-selected folder permissions. If you change folders, re-select them in the app.
To build release artifacts locally:
bash Scripts/package-release.shArtifacts are written to dist/.