top of page

Claude won't accept your Excel file: why XLSX uploads fail and how to fix it

3 minutes ago
9 min read
Claude won't accept your Excel file: why XLSX uploads fail and how to fix it, cover with the Claude logo. Data Studios original cover

Last verified: December 5, 2026


You drag a spreadsheet into Claude, and the upload never attaches, or it attaches and Claude replies that it cannot open or read the workbook. A PDF or a Word document goes through in the same chat, which makes the failure look random. In most cases the reason is documented, because Anthropic's own help center says that Excel workbooks are the one file type that needs an extra feature switched on. Turn on the "Code execution and file creation" setting (now labelled "Create and edit files") under Settings > Capabilities, or save the sheet as a CSV file, and the upload usually works on the next try.


The rule applies on the Free, Pro, Max, Ultra, Team and Enterprise plans, on the web, in the desktop app and in the mobile apps. The setting is on by default for personal plans and for new Team and Enterprise organizations, so the people who hit the problem are usually those who switched it off at some point, or employees whose organization owner disabled it for everyone. Other causes are rarer and easy to rule out: an old .xls file, a workbook that is too large or too long for Claude's context window, an Enterprise sensitivity label on a file pulled from Microsoft 365, or a chat where Claude's Personal Finance feature has been used.


··········


THE CLAUDE EXCEL UPLOAD PROBLEM: WHAT YOU SEE AND WHERE IT HAPPENS.


The symptom shows up in two ways. In the first, the workbook is refused at the upload step in the chat box or in a project's knowledge panel, while other files are accepted. In the second, the file looks attached, but Claude answers that it has no way to open it, or it reads only part of the content. Anthropic does not publish the exact on-screen wording for a refused XLSX file; the only upload error text in its help center is "Uploaded file is too large", which it documents for PDFs above 1,000 pages. Because the wording can change between app versions, the reliable test is the file type itself: if a .csv or .pdf goes through and the .xlsx does not, the cause is almost certainly the capability setting described below.


The table lists the file types Anthropic's "Upload files to Claude" page accepts, checked on December 5, 2026. XLSX is the only spreadsheet format on the list, and it is the only entry that carries a condition.


........


File group

Formats Claude lists

Condition

Documents

PDF, DOCX, CSV, TXT, HTML, ODT, RTF, EPUB, JSON

None

Spreadsheets

XLSX

Code execution and file creation must be on

Images

JPEG, PNG, GIF, WebP

Up to 8000 x 8000 pixels


........


CSV sits in the documents group, which is why a CSV export of the same sheet often works when the workbook does not. A CSV keeps the values of one sheet and drops formulas, formatting and the other tabs, so a multi-sheet workbook needs one CSV per sheet.


··········


WHY CLAUDE REJECTS OR CAN'T READ AN EXCEL FILE: EVERY CAUSE.


........


Cause

How to check

Fix

Code execution and file creation is off

Settings > Capabilities shows the toggle off

Switch it on and upload again

Your Team or Enterprise owner disabled it

The toggle is missing or locked in your settings

Ask the owner to enable it, or upload a CSV

The file is .xls, .xlsm, .ods or .numbers

Check the file extension

Save or export it as .xlsx or .csv

The file is above the size or count limit

Compare it with the limits table below

Split the workbook or remove unused sheets

The extracted content is too long

Claude reads only part of the data or refuses a large sheet

Trim columns and rows, or upload one sheet at a time

An Enterprise sensitivity label blocks it

The file came through the Microsoft 365 connector or an add-in

Ask the owner about the blocked-label list

Personal Finance was used in the chat

Bank accounts were linked in this conversation

Start a new chat, or use CSV files


........


The first two rows are the condition Anthropic documents for XLSX uploads. The rest are worth checking only after the setting is confirmed on, because each of them also affects other file types or only some accounts.


··········


FIX 1: TURN ON CODE EXECUTION AND FILE CREATION IN CLAUDE.


On the Free, Pro, Max and Ultra plans you control the setting yourself. Anthropic describes the same toggle under two names: "Code execution and file creation" in the older layout and "Create and edit files" in the updated settings page.


1. On the web or in the desktop app, open Settings and select Capabilities.


2. Find "Code execution and file creation" (or "Create and edit files") and switch it on.


3. On iOS or Android, open the side menu, tap the gear icon or your initials, choose Capabilities and switch on the same option.


4. Go back to the chat, remove the failed attachment if it is still shown, and upload the .xlsx file again.


Turning the setting on also gives Claude its computing environment, the sandbox where it runs code to analyze data and create files. Anthropic ties XLSX uploads to that environment, while plain-text formats such as CSV need no extra setting. If you want Claude to reach outside data sources from that environment, personal plans have a separate "Allow network egress" toggle; it is not needed for reading a file you upload.


··········


FIX 2: WHEN YOUR CLAUDE TEAM OR ENTERPRISE ADMIN HAS TURNED IT OFF.


On Team and Enterprise plans the decision belongs to the organization. Owners manage the feature under Organization settings > Capabilities (claude.ai/admin-settings/capabilities) and can switch it off for every member, in which case you cannot turn it back on from your own account.


1. Confirm the setting is missing or locked under your own Settings > Capabilities.


2. Ask an owner of your Claude organization to enable "Code execution and file creation" in Organization settings > Capabilities.


3. Until that happens, export the sheet you need as CSV and upload the CSV, which does not depend on the setting.


Owners in these plans also choose how much network access the computing environment has, from no egress to package managers only (the Team default) or a list of allowed domains. Those network options do not decide whether an XLSX file can be uploaded; the capability switch does.


··········


FIX 3: CONVERT OLD .XLS, .XLSM AND NUMBERS FILES BEFORE UPLOADING TO CLAUDE.


Anthropic's list names XLSX and nothing else for spreadsheets. Legacy .xls workbooks, macro-enabled .xlsm files, OpenDocument .ods sheets and Apple Numbers files are not on it, so convert them first.


1. In Excel, choose File > Save As and pick "Excel Workbook (*.xlsx)", or "CSV UTF-8 (Comma delimited) (*.csv)" for a single sheet.


2. In Apple Numbers, choose File > Export To and pick Excel or CSV.


3. In Google Sheets, choose File > Download and pick Microsoft Excel (.xlsx) or Comma-separated values (.csv).


4. Upload the converted copy and keep the original for your own records.


Saving a macro-enabled workbook as .xlsx removes the macros. The cell data stays the same, but keep the .xlsm original if you rely on the macros.


··········


SIZE, FILE-COUNT AND CONTEXT LIMITS FOR CLAUDE SPREADSHEET UPLOADS.


Anthropic's pages state different limits depending on where the file goes, and the two help articles do not use the same figure for a single file. The table puts them side by side as published on December 5, 2026.


........


Where the file goes

Per-file limit

Other limits

Chat upload ("Upload files to Claude")

500 MB

20 files per chat

Project knowledge

30 MB

Unlimited files, but all content must fit the context window

Claude's computing environment ("Create and edit files")

30 MB for uploads and downloads

Connected apps have separate limits


........


Because XLSX files are handled through the computing environment, the safer working limit for a workbook is 30 MB. If a larger file fails, remove unused sheets, pivot caches and pasted images, or split the data into several smaller files.


The size on disk is only half of it. The upload page adds that "additional token limits may apply based on extracted content length", which means a sheet with hundreds of thousands of filled cells can pass the size check and still be too long for Claude to read in full. In practice that shows up as an answer that misses part of the data, or a refusal to process the whole file. Delete the columns you do not need, filter the rows to the period you care about, or upload one sheet per chat.


··········


CHARTS, IMAGES AND PIVOT LAYOUTS CLAUDE CANNOT SEE IN A WORKBOOK.


Anthropic states that non-PDF documents are processed by text extraction only and that embedded images in them cannot be read or interpreted. For a spreadsheet, that covers charts, screenshots pasted into cells and logos: Claude sees the numbers behind a chart if they sit in the cells, and nothing of the chart itself. Project files follow the same text-only rule, with multimodal PDFs as the exception.


If the visual matters, export the chart or the sheet as a PDF of up to 100 pages, where Anthropic says Claude analyzes text and visual elements such as charts and graphics, or take a screenshot and upload it as an image next to the workbook.


··········


EXCEL FILES FROM ONEDRIVE, SHAREPOINT AND THE CLAUDE ADD-INS: SENSITIVITY LABELS.


Enterprise organizations can block files by Microsoft Purview sensitivity label. Owners set this in Organization settings > Data and privacy under "Blocked sensitivity labels", after connecting their Microsoft Entra tenant. When a file carries a blocked label, the Microsoft 365 connector refuses Word, Excel and PowerPoint files, PDFs and MP4 videos, and Claude gets a notice instead of the content; the Excel, PowerPoint, Word and Outlook add-ins block open documents with a blocked label in the same way.


Anthropic is explicit that this blocking does not apply to files attached in a chat, in a project or in Cowork. A workbook that Claude refuses through the connector but accepts as a direct upload points to a label rule, and the person to ask is an owner of your Claude organization, since only Owners and Primary Owners can change the list. Connection problems with personal Microsoft accounts are a different issue, covered in our guide to the Claude Microsoft 365 connector with Outlook.com and Hotmail accounts.


··········


PERSONAL FINANCE CHATS AND EXCEL FILES IN CLAUDE.


Claude's Personal Finance beta adds one more restriction. Anthropic's file-creation article says that after linked bank accounts are used in a chat, Claude may not be able to run code, create Word, Excel, PowerPoint or PDF files, or publish artifacts in that conversation, while plain text files such as .csv, .md and .html still work. If a workbook stops working in a chat where you asked about your linked accounts, open a new chat for the spreadsheet, or use a CSV export in the same conversation.


··········


WHAT ANTHROPIC DOCUMENTS AND WHAT USERS REPORT ABOUT CLAUDE AND XLSX.


Everything above about the capability setting, plan availability, file types, limits, text-only extraction, sensitivity labels and Personal Finance chats comes from Anthropic's help center articles "Upload files to Claude", "Create and edit files with Claude" and "Block files and email from Claude by sensitivity label", checked on December 5, 2026. Anthropic does not publish the exact error text for a refused XLSX file, and it does not give a troubleshooting checklist for spreadsheets.


Third-party troubleshooting pages describe the same pattern that users run into: PDFs, Word files and CSV files upload in the same chat where an XLSX file fails, and the upload works once the capability setting is on, which matches the documentation. Claims elsewhere about hidden row caps or formula limits are not confirmed by Anthropic, so treat them with caution and test with your own file. For what Claude does with a workbook once it is open, see our overview of Claude's Excel and CSV support and data analysis features, and for the files Claude creates in return, where Claude saves the files it makes.


··········


CLAUDE AND EXCEL FILES: THE CHECKS THAT SOLVE MOST FAILED UPLOADS.


A Claude chat that accepts PDFs but refuses a spreadsheet is, in most cases, a chat where "Code execution and file creation" is switched off, either by you or by your organization's owner. Turning it on under Settings > Capabilities fixes the upload on every plan; on Team and Enterprise, only an owner can do it, and a CSV export is the immediate workaround.


When the setting is already on, check the extension (only .xlsx is supported), keep the workbook under 30 MB, trim sheets that are too long for the context window, and remember that charts and images inside the file are invisible to Claude. Enterprise users who pull workbooks from OneDrive or SharePoint should also ask whether a blocked sensitivity label is behind the refusal, because that rule applies to the connector and add-ins and never to a file uploaded directly in the chat. More on file types and limits across Claude is in our guide to Claude's file upload and reading capabilities.


··········


FOLLOW US FOR MORE.


·····


DATA STUDIOS


·····


datastudios.org


bottom of page