Choosing a Format

Choosing a File Format for AI: Decision Tree

A short decision tree for picking the right file format before handing a document to ChatGPT, Claude, NotebookLM, Perplexity, or a RAG pipeline.

10 min readChoosing a Format

Frequently asked questions

Why does format matter so much for AI?+

AI models read text. What they see is the raw characters of your document — not the visual layout. A PDF full of multi-column pages and page numbers is noise. A clean markdown file is signal. Same content, radically different answers.

Will the AI tool not just convert the file for me?+

Sometimes. ChatGPT, Claude, and Gemini all do some conversion behind the scenes when you attach a file. The quality varies and you don't get to see or tweak it. Converting yourself means you know exactly what the model is seeing and can fix problems before they hit your prompt.

How big can I go before I should split the document?+

Rough rule: if the markdown is over 50,000 tokens (~75 pages), split by top-level heading and summarize each section first, then roll up. Most models technically accept far more, but attention to the middle of long contexts drops noticeably.

Does the same recommendation apply to teams and enterprise use?+

Yes, with one addition: for teams, standardize on markdown plus a consistent chunking strategy from the start. Otherwise everyone's RAG pipeline has a slightly different shape and you spend half your time debugging retrieval.

What if my document has handwriting or is a bad scan?+

Run it through AI Vision first. Modern vision models beat traditional OCR on handwriting, low-contrast scans, and unusual layouts — and they output structured markdown directly instead of a raw text dump.

Keep learning

Put this into practice

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