AI File Uploads

Uploading Files to ChatGPT: What Works, What Breaks

A practical guide to ChatGPT file uploads: page limits, table failures, silent scanned-PDF drops, and when to convert to markdown first.

10 min readAI File Uploads

Frequently asked questions

Why does ChatGPT say my PDF is too long?+

ChatGPT has two separate constraints: a per-file page/length cap for its retrieval pipeline and a per-conversation context window. A long PDF usually trips the first one. Converting to markdown reduces token count by 30–60% and often brings the same document under the limit. If the content itself is genuinely huge, split it into logical chunks (one chapter per file) rather than one giant file.

Can ChatGPT read scanned PDFs?+

Partially. ChatGPT will try OCR on image-only PDFs, but results are inconsistent — especially on tables, multi-column layouts, handwriting, and older scans. The failure mode is usually silent: you get an answer based on the pages that happened to OCR cleanly. If the document matters, run it through a vision-aware converter first and upload the markdown.

Should I upload a file or paste the text?+

Paste the text when it fits (roughly under 4,000 words), because pasted text goes into the conversation context directly and the model can reason over all of it at once. Upload files when they are longer — ChatGPT uses retrieval (file_search) to pull in just the relevant chunks. For short-to-medium documents, converting to markdown and pasting is often the single best option.

Does Code Interpreter read my file better than file_search?+

They do different jobs. file_search (the default when you attach a document) indexes the file for retrieval and is what gets used when you ask questions about it. Code Interpreter (Advanced Data Analysis) runs Python against the file — great for CSVs, Excel, and actual data files. For a PDF, Code Interpreter will extract text with pdfplumber or pypdf, which is decent for simple layouts and terrible for complex ones.

Can I upload images to ChatGPT and have it read them?+

Yes — the current flagship model handles images directly. Screenshots, receipts, whiteboard photos, and clean printed pages all work reasonably well. Handwriting, small text, and dense tables are hit-or-miss. For one-off questions about an image, just upload it. For anything you need to search or cite later, convert first.

What file types does ChatGPT support?+

In the consumer app: PDF, Word, PowerPoint, Excel, CSV, text files, images, and a handful of code/data formats. The exact list changes from time to time. For formats that are not on the list (EPUB, ODT, older file types), converting to markdown or plain text first is usually the fastest path.

Keep learning

Put this into practice

Create a free Markdown Converters account to try everything you just read on your own documents.