How to Find the Answer to a Question in a Long PDF (No AI Needed)
Ask a question about a long PDF and get the passages that answer it with page numbers, ranked by relevance, without uploading the file or using a chatbot.
&c=%231e40af&k=from-pdf)
How to Find the Answer to a Question in a Long PDF
You have a 60-page lease and one question: how much notice do I need to give? Or a 200-page product manual and you need the cleaning instructions, or a policy pack and you want the rule on expenses for overnight travel. Ctrl+F only finds exact words, and if the document says "terminate" while you search for "leave", you find nothing. "Chat with your PDF" services promise answers, but they upload your document and can produce confident answers that are simply wrong. The free Ask Your PDF (Passage Finder) takes the middle path: it finds the real passages that answer your question and shows you exactly where they are.
How it works
The tool reads the text of every page and splits it into short overlapping passages of a few sentences. Your question is reduced to its meaningful words: "How much notice do I need to give to end the tenancy?" becomes notice, need, give, end, tenancy. Each word is cut to its stem, so "ending" matches "end" and "tenancies" matches "tenancy".
Every passage is then scored with BM25, the ranking formula behind many search engines. A passage scores higher when it contains more of your words, when those words are rare in the document (so "tenancy" in a lease counts less than "notice"), and when it is not padded with unrelated text. Passages containing your exact phrase get a bonus.
The top passages are listed with their page numbers. In the best passage, the single sentence that matches best is shown on its own, and its lines are highlighted on the page so you can read the surrounding text.
Asking good questions
- Use the document's vocabulary. Contracts say "terminate" and "notice"; manuals say "clean", "descale" or "maintenance".
- Add synonyms in the box when you are not sure: "end = terminate, cancel" makes all three count.
- Ask one thing at a time. Two questions in one dilute the match.
- Try a longer passage length when answers are spread over several sentences.
Why not use a chatbot?
Generative AI models summarise fluently, but they can invent details, misquote numbers or cite the wrong page, and you may not notice. Running a capable model on your own device needs a download of several gigabytes and a strong graphics chip; most services instead send your file to their servers. A passage finder always returns real quotes from your document with their pages. You read the answer in the author's own words and judge it yourself.
Searching several documents
Load a whole set, such as a staff handbook, policies and procedures. Results show the file and page for each passage, so you can see which document gives the answer. Download the list as CSV to keep a record of where answers were found, useful for audits and compliance checks.
A worked example
A tenant loads a 42-page tenancy agreement and asks "How much notice do I need to give to end the tenancy?". The best passage comes from page 17: "Either party may end this tenancy by giving at least two months' notice in writing, expiring at the end of a rental period." It is highlighted in green. The second passage, from page 23, covers what happens to the deposit at the end. Two clicks, and the tenant has read both clauses in full.
When it cannot help
- Scanned PDFs contain pictures of text; run OCR first.
- Answers that need reasoning across several clauses, such as working out a date from two different provisions, still need a careful human reader.
- Tables and figures are read as text, which can be jumbled; check them on the page.
Privacy
Everything happens in your browser. The document is not uploaded and no model is downloaded, which matters for leases, contracts, medical letters and anything confidential. The answers are reading aids, not legal, medical or financial advice.


&c=%23b45309&k=from-pdf)
