How to Convert a PDF to Text for ChatGPT (and Use Fewer Tokens)
Uploading a PDF straight to ChatGPT works, but not always well. Repeated headers, page numbers, jumbled columns and broken tables all end up in the AI's context. That burns tokens and, worse, muddies the answer.
Why convert the PDF to text first
- Fewer tokens: clean text takes up less room than the file as the AI processes it, so longer documents fit and API usage costs less.
- Better answers: the AI reads exactly what's on the page, without layout noise getting in the way.
- Control: you see the text before you send it and can cut what isn't needed (tables of contents, appendices, legal boilerplate).
How to convert a PDF to text for free
- Go to TokenSave.
- Choose one or more PDFs (up to 50 at a time, 95 MB each).
- Press Optimize files and copy the result.
The text comes out split by page, so when you ask the AI a question later it can tell you which page the answer came from.
What if the PDF is scanned?
Lots of PDFs are really just photos of paper: signed contracts, old invoices, class notes. There's no text inside them, which is why copying gives you nothing. TokenSave detects those pages and runs OCR (optical character recognition) in English and Spanish, so they come out as text too.
How to paste it into ChatGPT
Paste the text and put a specific instruction on top: “Summarize this contract in 10 bullet points and flag the termination clauses.” The clearer the instruction, the better the answer. If the document is very long, send it in parts and tell the AI to wait until it has everything before answering.