File uploads (PDF, image, CSV, docx, code)
File uploads on claude.ai let you attach documents and media directly to your conversations so Claude can read, analyze, and reason about their contents. Supported formats include PDFs, images (PNG, JPG, GIF, WebP), plain text, Markdown, CSV, TSV, DOCX, XLSX, and code files. Claude can analyze both the text and visual elements—such as charts, diagrams, and embedded graphics—within uploaded files, making it useful for everything from quick document summaries to complex multi-file analysis.
Files can be attached in two ways on claude.ai: directly to an individual chat (temporary, lasts only for that conversation) or uploaded to a Project's Files section (persistent across all conversations within that project). Via the API, developers can use the Files API beta to upload files up to 500 MB, store them server-side, and reference them by a unique file ID across multiple requests without re-uploading each time.
File uploads are available across all plans—Free, Pro, Max, Team, and Enterprise—with some differences in limits and which file types require additional features like code execution. The core upload-and-analyze workflow works for most file types on all plans, while features like XLSX upload and file creation (generating output files) require code execution to be enabled, which is available on paid plans.
When you’d use it
- ◆Document summarization — A user uploads a 20-page research paper or legal contract as a PDF and asks Claude to extract the key findings, obligations, or recommendations in plain language, saving hours of manual reading.
- ◆Spreadsheet and CSV data analysis — A business analyst uploads a CSV file of sales data and asks Claude to identify top-performing regions, flag anomalies, calculate averages, and present results in a structured table—without needing to open Excel or write formulas.
- ◆Code review and refactoring — A developer uploads one or more source code files and asks Claude to identify bugs, security vulnerabilities, or style issues, then rewrite the affected functions following best practices.
- ◆Multi-document comparison — A procurement manager uploads three vendor proposal PDFs and asks Claude to compare pricing, features, delivery timelines, and contract terms across all three documents in a single table.
- ◆Image and chart interpretation — A user uploads a screenshot, diagram, or chart image and asks Claude to describe what it shows, extract data points, or explain a visual concept—useful for accessibility or quick comprehension.
What changed recently
- ◆2025-04 — Files API beta launched with the header 'anthropic-beta: files-api-2025-04-14'. Enables server-side file storage up to 500 MB per file and 500 GB per organization, with reference-by-ID across multiple API requests.
- ◆2025-10-21 — File creation (the ability to generate and download output files such as XLSX, DOCX, PPTX, and PDF from Claude) became generally available for paid plans, with network and egress controls. Enterprise organizations have this enabled by default with network egress toggled off.
This is the short version
The full chapter has three worked examples, the common pitfalls, and the workflow that makes it pay — plus the other 84 features, kept current.
Get Claude Master — $97 →