ibrahimqureshae/mdflux
Turn any document into clean, AI-ready Markdown. Local-first desktop app: reads scanned PDFs, batches folders, runs offline, and uses far fewer tokens than vision models.
What it solves
Getting a document into a shape an LLM can use is more annoying than it should be. Raw text dumps lose every heading, table, and list. Sending pages to a cloud vision model costs tokens by the page and uploads your files. And scanned PDFs often come back completely empty from plain text extractors. MDFlux solves this by converting documents locally into clean, structured Markdown, with OCR for scanned pages, batch processing, and an optional cleanup pass.
How it works
You drop a file or folder onto the app, choose a cleanup mode (Off, rule-based, or an AI pass that can run locally or via an API), and click Convert. MDFlux is built on Microsoft's MarkItDown, and adds everything around it: a desktop app, built-in OCR, batch conversion with progress and cancellation, a rendered preview, and a diagnostics panel. On first launch it sets up a private, self-contained Python environment (needs internet once), after which every conversion runs fully offline. There's no terminal needed—it's a portable app you unzip and run. Supported formats include PDF, DOCX, PPTX, XLSX, EPUB, HTML, CSV, JSON, XML, TXT, Markdown, images, and audio.
Who it's for
- AI and RAG builders who want clean, structured source documents for any model instead of raw text or expensive vision tokens
- Researchers who batch-convert papers, reports, and scanned archives into searchable Markdown
- Developers who want diff-able, version-controllable text out of binary document formats
- Writers and analysts who need clean copy from PDFs and Office files without the formatting mess
- Privacy-conscious users who convert sensitive documents with nothing ever uploaded
Highlights
- Clean Markdown costs about 2 to 6 times fewer tokens than sending pages to a vision model, so every LLM call that reads the document is cheaper
- Runs entirely locally—no cloud, no API key, no account
- Built-in OCR recovers text from scanned PDFs that other tools treat as blank
- Produces real structure: headings, tables, and lists intact, so the output is readable, greppable, and diff-able
- No terminal required—portable app, unzip and run
- Supports many formats: PDF, Office, EPUB, HTML, CSV, JSON, XML, TXT, Markdown, images, and audio
- Batch a whole folder with progress, cancellation, and per-file diagnostics
- Optional cleanup modes (off, rule-based, or AI with local/API providers) with a Changes tab showing exactly what was added or removed
- Cross-platform: Windows and Linux x64, with macOS on the roadmap
- Free and MIT-licensed
Related
- Project
- Project
- Project
- Project
- Project