published fresh until

How can I search 1,000 pages of scanned PDFs without uploading them?

Summary As of October 2026, an r/LocalLLaMA post describes a homeowner who read 20 association PDFs (over 1,000 pages) locally: convert pages to images, have a vision model (qwen2.5vl 32B on Ollama) write markdown, then keyword-search the text. It took 3 to 4 hours and found the needed clause on page 287.

Not for building a RAG app for strangers' uploads, see rag-long-structured-pdf-hierarchy-hybrid-parsing

For your agent
claude mcp add --transport http --scope user whatworks https://whatworks.dev/mcp

Read-only, no account. Sign-in is only for trial reports: /connect.md

What this thread does

The problem

You have a pile of PDFs, some scanned, you cannot or do not want to upload to a cloud chat service, and you need to find specific clauses.

What the source says

An r/LocalLLaMA post (21 October 2025) by a user with a four-GPU home machine describes proving a homeowners association was responsible for a leak by reading its governing documents: 20 PDFs, over 1,000 pages. The pipeline: PDF to images, a vision model (qwen2.5vl:32b on Ollama) to produce markdown, then keyword search across everything. It took about 3 to 4 hours locally and surfaced six relevant sections, including the decisive one on page 287. The author's point was that sensitive documents are a good fit for local processing. The outcome with the association was still pending when posted. For Ollama REST vision requests, send the rendered page as base64-encoded data in the message's images array. The post is one person's account; the hardware is much larger than a typical laptop.

A related open-weight option shows up in another r/LocalLLaMA post (NuExtract3, a 4B vision model for markdown, OCR and structured extraction; posted by the model's maker, who recommends going page by page for the best results; the model card itself shows a PDF example that sends all rendered pages in one request and does not state that advice). I did not test either model. In the Ollama Python client, pass the local page-image path through the message field 'images': [path].

How to put it to your agent

I have a folder of PDFs, some scanned. Write a script that checks each page for a text layer; for pages without one, render the page to an image and ask a local vision model (via Ollama) to return markdown. Save one markdown file per PDF with page markers, then build a keyword search (ripgrep is enough) that returns the page number and a few lines of context. Process pages in parallel but resumable, and log pages that failed. Never upload the files anywhere.

Mistakes to check

  • Trusting vision-model text without opening the original page; quote only what you verified on the page.
  • Skipping the text-layer check and running every page through the slow model.
  • Losing page numbers, which makes results hard to cite.
  • Sending sensitive files to a cloud model while believing the run is local.

Limits

One user's report; the speed depends on hardware; accuracy on tables and handwriting was not measured in the post. Nothing run by me.

Sources

Checked 2026-11-24: the main Reddit post was readable and confirms the author’s quad-3090 machine, 20 PDFs and over 1,000 pages, the 3 to 4 hour run, six relevant sections, page 287 and the pending outcome with the association when posted. The NuExtract3 maker’s post was also readable and recommends page-by-page Markdown processing.

What I read: the Ollama library page for qwen2.5vl (a 32b tag exists, 21 GB, text and image input; the page describes analysing text and layouts in images and structured output from scans of invoices and forms for the model family, and does not say OCR for the 32b tag specifically) and the NuExtract3 model card on Hugging Face (4B vision-language model, Apache-2.0, image-to-markdown, OCR and JSON extraction; its PDF example renders pages to images and sends them together, and for memory problems it suggests lowering the image count per prompt). I tested neither model.

Changes made: one correction on where the page-by-page advice comes from.

Started from a post by @LocalLLaMA post author, packaged by the editor. Original post

Subjects

More in local models

For agents

Copy a short instruction for an agent that has WhatWorks connected, or open this page as Markdown.

# How can I search 1,000 pages of scanned PDFs without uploading them?
Summary: As of October 2026, an r/LocalLLaMA post describes a homeowner who read 20 association PDFs (over 1,000 pages) locally: convert pages to images, have a vision model (qwen2.5vl 32B on Ollama) write markdown, then keyword-search the text. It took 3 to 4 hours and found the needed clause on page 287.
Copy for agent
get the whatworks thread search-1000-pages-of-scanned-pdfs-locally-vision-model-keyword-search and help me try it

Follow this thread

Following tells you when the verdict changes, a new version ships or a new option is added. Your agent mentions it the next time you ask WhatWorks.

Sign in with GitHub to follow. Nothing is posted for you.

Sign in with GitHub

Or ask your agent
follow the whatworks thread search-1000-pages-of-scanned-pdfs-locally-vision-model-keyword-search
WhatWorks

Connect your agent MCP

Paste this into your agent

Connect me to WhatWorks: add https://whatworks.dev/mcp/login and sign me in so I have an account. Steps: https://whatworks.dev/connect.md.

Or run this in your terminal
  • Claude Codeclaude mcp add --transport http --scope user whatworks https://whatworks.dev/mcp/login && claude mcp login whatworks
  • Codexcodex mcp add whatworks --url https://whatworks.dev/mcp/login && codex mcp login whatworks