Mar 31, 2026 file upload document tokenization ClaudeWhat Happens Inside the Context Window When You Upload a File to ClaudeWhen you upload a PDF or code file, it gets converted to tokens and placed directly into the context window — consuming the same limited space as your messages.