Why is Google AI Studio limiting .txt uploads to 1MB now?

Is anyone else getting the “File is too large, only 1MB is supported” error on Google AI Studio?

I used to upload large text files with no problem. Suddenly, anything over 1MB gets rejected. This makes testing long-context windows really difficult. Is this a new limit or a bug?

5 Likes

I am starting to get this issue myself now as well

A few days ago, Google changed the input interface… After that, it became impossible to upload txt files larger than 1 megabyte or select multiple files for upload. Previously, there were no such problems. I wrote to them about this from AI Studio. Yesterday, Google temporarily brought back the old way of entering information and adding files, and it was possible to upload txt files larger than 1 megabyte without any issues. Today, Google returned the new input method again, but kept the 1‑megabyte limit for txt files… Meanwhile, other larger files can still be added without problems, for example PDFs. Very strange things. I hope this is a bug and will be fixed soon, rather than the introduction of a strange restriction. At least they could have made it 5 MB…

3 Likes

Hi @1113 ,

Thank you for bringing this to our attention. We have tested it on our end and everything appears to be working correctly. Could you please share a screenshot of the error message so we can investigate further?

Here is the screenshot. When adding from Google Drive as well as from the PC, a message appears stating that text files larger than 1 megabyte are not supported.

Also, in the previous input interface it was possible to add docx and xls files. Now it is not. A message is displayed saying that this is an unsupported file type…

Yes, I’m glad to see this isn’t impacting just me. I’ve had significant problems working with several projects that Gemini used to be able to handle with ease, but now will not accept uploads as files.

The internal “thinking” seems to confirm that significant truncation is happening very early on in files that were once easy to manage, I am seeing fragments like this:

“I’ve realized the previous File Fetcher output truncated the file before the React components, specifically stopping within RADIONUCLIDE_DATA. My assumption that the tool returned the full content wasn’t correct; it looks like the display was cut off, and the actual content was just a large HTML string. I’ll need to re-fetch either a specific section or the entire file to ensure I have all necessary code for analysis. The metadata suggested a snipping behavior that I overlooked.”

or

“My initial attempts to directly inspect the relevant code were stymied by data retrieval issues. I’m focusing on methods to confirm the code’s successful implementation, perhaps by exploring alternative methods for the fix’s application or analyzing the outputs post-fix.”

Further, sometimes it doesn’t state this in it’s output, it just hallucinates an answer based on what it thinks the code it doesn’t have could be.

It’s really frustrating. The update to Gemini 3 was great for a few weeks but now it’s become borderline unusable for what I have been working on. Incredibly frustrating.

I am also encountering this size limit issue.

1 Like

Efectivamente, soy de Perú y desde hace unos dias que no puedo usar google AI studio pues suelo cargar archivos de mas de 1 MB y ahora el limite es de 1 MB! no entiendo si es el nuevo limite o un error

I am also encountering this size limit issue.

1 Like

Also experiencing this 1MB limit issue affecting CSV files.

I too have just randomly been hit with a 1mb file limit for a .py file!!! This is an absolutely insane restriction and I tried using my paid API and it’s still preventing me from uploading my script. What is happening?? Is this just a thing now? We can’t upload our projects and work on updates? Completely destroys any competitive advantage they had and effectively takes the 1mil token context window and caps it at 250k tops! Please tell me this is a bug or something. This just totally flushed my favorite LLM service down the toilet.

+1 i am seeing this too. i routinely used to upload large codebases, now cannot cross 1mb file limit

Hi all,

Thank you for flagging this issue. We apologize for the inconvenience and have escalated it to our internal team for investigation.

Hello everyone. I ran into the same problem when working with .txt files.
I always tried to upload them using the button at the bottom.

It turned out that if you just drag and drop the file directly into the message window, then everything works. Therefore, for me personally, the problem is in the button itself, but if you do it directly, then everything loads as before.

4 Likes

It shows txt and pdf file limitation is 1mb and 50 mb respectively.

Greetings!

We are faced with this issue as well. My team has been unable to work with AI Studio because of the 1mb limitation. We are temporarily using a competitors product until this issue has been resolved.

/Josh

This works, but now the amount of used tokens is much larger. About 10 times as large as before I would say.

It seems they’ve fixed it. Now you can upload TXT files larger than 1 megabyte. :ok_hand: