Favicon of doc7

doc7

A document-to-Markdown converter reads PDFs, Office files and scans with separate local or remote vision models on macOS, Windows and Linux.

doc7 converts documents into searchable Markdown for people preparing knowledge bases or material for AI tools. It uses a vision model to interpret page content, including scanned pages that have no text layer.

  • Visual content: Extract text and tables alongside formulas, chart meaning and relationships within diagrams from PDFs, Office files, scans and screenshots.
  • Batch conversion and recovery: Process document directories, combine pages in their original order, and retry failed pages without repeating successful work.
  • AI and application integrations: Make conversion available to AI tools through MCP, embed it through the Go SDK, or use a self-hosted asynchronous HTTP service.
  • Document conversion through chat: Ask a model to convert a supplied file, directory or URL in natural language; conversion through chat requires a model that supports tool calling.

The open-source CLI runs on macOS, Windows and Linux under the MIT license, with Docker available for the HTTP service. Visual conversion requires a separate vision-capable OpenAI-compatible endpoint, including local models served by LM Studio or Ollama. The CLI doesn't bundle a model. Local endpoints keep document content on your infrastructure; remote endpoints receive page images and prompts. Native text and data formats convert locally without a vision model.

Office files require LibreOffice, while several web, email and notebook formats require Chrome, Chromium or Edge. PDF rendering uses MuPDF or platform-specific alternatives. These renderers have their own licenses. Conversion doesn't require a separate OCR stack. Hardware requirements, conversion speed and accuracy depend on the model and quantization you choose.

Similar to doc7