Chat with PDF: examples, prompts, and practical tips
Key takeaways
- Upload a supported document or paste the passage relevant to your question.
- Review imported text, particularly tables and passages affected by PDF formatting.
- Ask about the included material rather than assuming the whole document remains available.
When to use Chat with PDF
Use Chat with PDF to ask questions about text from a document. Upload a PDF, TXT, or Markdown file, or paste a relevant excerpt. The imported text stays editable in the input, letting you check the extraction and change the question before generating an answer grounded in the material included.
Your brief: source document, focused question
Give the tool the information it needs to make useful choices. A few concrete details usually help more than a long list of style adjectives. Keep source material separate from your instructions so it is clear what should be preserved.
Source document
Use a PDF with selectable text, a TXT file, or a Markdown file, within the displayed upload limits.
Focused question
State what you want explained, summarized, or compared and retain the passages needed to answer that question.
Answer boundaries
Specify whether to use only the supplied text and how missing information or uncertain interpretations should be identified.
How to use Chat with PDF
The first result is a starting point. Read it against your original brief before deciding what to keep. When you revise, name the part you want to change and the information that must stay the same.
- Upload your file or paste the excerpt. Uploads support files up to 4 MB; PDFs must have 50 pages or fewer.
- Inspect the editable text and replace the default summary request with your question. Imports include at most the first 18,000 characters.
- Compare the answer with the original document, then supply other relevant passages when the included text cannot answer a follow-up.
Example: Asking about an included policy excerpt
This illustrative example shows how a specific brief can guide a draft. It is not a live result or a promise that every generation will use the same words.
Asking about an included policy excerpt
Example input
Excerpt: Workshop places are reserved after confirmation. Unconfirmed requests remain on the waiting list. Question: Does sending a request reserve a place?
Illustrative result
The answer stays within the included wording and does not infer additional booking procedures or exceptions.
Chat with PDF prompt template
Replace the bracketed fields with your own details and paste the brief into the tool above. Remove any line that does not apply. If a fact is unknown, say so instead of asking the model to guess.
Using only this document text [paste or import relevant material], answer [question]. Explain [focus], preserve qualifications, and identify anything the included text does not establish.
Review checklist: answer boundaries
- Scanned PDFs need OCR before upload because extraction requires selectable text; check OCR results for errors before asking questions.
- Repair lost columns, symbols, and reading order in the input when the extraction changes the meaning of a passage.
- Retain page references you know, but verify any document location mentioned in the answer against the original file.
Review one change at a time
Edit the draft directly, or select a sentence or paragraph to shorten, expand, adjust the tone, or fix its grammar. You can also enter a custom instruction for the selected passage. Read the revision in context and check that it did not lose an important condition or introduce a new claim.
Before using a draft, verify any names, figures, quotations, and source references against information you trust. Copy or save the version you have reviewed rather than treating the first response as final.
Chat with PDF: common questions
Can I upload a scanned PDF?
Scanned PDFs need OCR before upload. This tool extracts selectable text; it does not itself convert page images into readable source text.
Will it consider every page of a long document?
Only the text included in the input informs the request. Imports stop at 18,000 characters, so inspect the result and add the relevant passages yourself.