On November 18, 2026, Google added direct support for processing Microsoft Office and OpenDocument files in the Gemini API. An application can send a Word document, presentation or workbook and define the portion the model receives. The selection can specify pages, slides, a worksheet or a range of cells. Google also allows the application to choose the representation, such as the text extracted from a page or an image of that page. The documentation describes the selection options for Gemini 3 and Gemini 4 models and for later compatible models.
The change concerns applications connected through the API. Google announced it separately from the availability of Gemini 4 Neon in the same release notes. The company documents two places where a selection can be applied. One is a file sent in the user's message. The other is the result of an application function that supplies file content to an agent during a task. In both cases, the application specifies the portion and type of data that reach the model.

Supported files and what the model receives
Google's list includes DOCX and DOC Word documents, DOTX templates and ODT documents. The API accepts PPTX, PPT and ODP presentations, along with XLSX, XLS and ODS spreadsheets. The application can send the file inline or upload it through the Files API and reference it in the message. Both methods use a document block and the media type for the file format. Google also retains its PDF processing options.
With no selection, the model processes the entire file, using defaults that depend on the model and format. For DOCX and PPTX files, Google specifies rendered page or slide images for Gemini 4 and later models. For Gemini 3 and 2.5, Google's table specifies extracted text and embedded images for these two formats. For XLSX and XLS, Gemini 4 receives values and formulas along with worksheet names. By default, Gemini 3 and 2.5 receive the values in these worksheets as CSV.
ODS has its own default in Google's table. For that format, Gemini 3 and 2.5 also receive values, formulas and sheet names. The default for XLSX and XLS with the same models is values converted to CSV. The file format therefore affects applications that need to retain formulas when sending an entire workbook.
Page and slide selections can supply text or images
For a PDF, office document or presentation, the application can specify the first and last pages of the range. Page numbering starts at one and includes both endpoints. If the upper bound exceeds the final page, the selection stops at the end of the document. A start page beyond the length of the file yields an empty selection, and the API rejects numbers below one. For the selected pages, it can supply rendered images, extracted text, or both.
In a report with several sections, for example, a process looking for the precise wording of a clause can use the text layer for the pages that contain it. A request about a chart in the same section can include the page image, which preserves its visual layout. According to Google, a rendered page uses about 280 tokens at low resolution, 560 at medium and 1,120 at high on Gemini 3 and 4 models. These figures describe the input token cost of representing a page as an image.
Values, formulas and charts in spreadsheets
For Excel and ODS, the application can select a sheet by its position in the workbook. A range in A1 notation specifies the cells for every selected layer. Available layers include evaluated values, raw formulas and a visual representation of the sheet for charts and layout. Values and formulas are the default layers in a sliced selection. Google separately describes the resolution setting used when the request includes a visual layer.
If the sheet position is omitted, the slicing option processes all sheets, up to the limit for each one. A position outside the workbook triggers an error. The cell range and sheet position are separate parameters, so a request can, for example, select the table at the top of just one worksheet and receive only its values.

These layers serve different purposes in business reports. In a sheet with a calculated total, the values layer contains the result in the cell. The formulas layer supplies the expression that produced it, and the image preserves the report's visual elements. A workflow that reads monthly results can select a narrow range. A request that needs to explain how those results were obtained can use the formulas from the same range.
Selection in tool responses and upload limits
A tool connected to an agent can return part of a document using the same static processing options. Google's published example starts with a manual available through the Files API. The model requests a range, and the application returns only the rendered images for pages in that range. The API automatically supplies the total page count and worksheet names where applicable. The agent can use that metadata to request a different range in a later turn.
Google says slicing determines the content sent to the model and the tokens billed for that representation. Upload limits apply to the entire file, even when the application requests just one page or a few cells. The documentation lists up to 50 MB per file, up to 1,000 pages for PDFs and up to 2,000 pages or slides for Office and OpenDocument files. For workbooks, the documented limit is 50,000 cells per sheet. These limits are separate from the size of the selection the model receives for a particular task.