# Allow .rs (Rust) code file uploads in Google AI Studio

**URL:** <https://discuss.ai.google.dev/t/allow-rs-rust-code-file-uploads-in-google-ai-studio/94210>\
**Category:** Google AI Studio\
**Tags:** feedback, help\_request\
**Created:** [July 16, 2025, 9:47am UTC](https://discuss.ai.google.dev/t/allow-rs-rust-code-file-uploads-in-google-ai-studio/94210 "2025-07-16T09:47:45Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![ZH\_D](https://d1dlmcr85iqnpo.cloudfront.net/user_avatar/discuss.ai.google.dev/zh_d/32/58826_2.png) [@ZH\_D](https://discuss.ai.google.dev/u/ZH_D)\
**Post date:** [July 16, 2025, 9:47am UTC](https://discuss.ai.google.dev/t/allow-rs-rust-code-file-uploads-in-google-ai-studio/94210/1 "2025-07-16T09:47:45Z")

</div>

I’m writing to report a small but significant friction point I’ve encountered. When I try to upload a Rust source code file (with a .rs extension) to my prompt, AI Studio shows an error message stating that the file type is not supported.

My current workaround is to manually rename the file from .rs to .txt every time. This works because Rust files are essentially plain text, but it’s really troublesome and inconvenient.

---

<div class="post-metadata">

**Author:** ![chunduriv](https://avatars.discourse-cdn.com/v4/letter/c/bbe5ce/32.png) [@chunduriv](https://discuss.ai.google.dev/u/chunduriv)\
**Post date:** [July 16, 2025, 5:21pm UTC](https://discuss.ai.google.dev/t/allow-rs-rust-code-file-uploads-in-google-ai-studio/94210/3 "2025-07-16T17:21:03Z")

</div>

Hey @ZH_D,

Welcome to the Forum,

Thank you for your feedback. We appreciate you taking the time to share your thoughts with us and we’ll be filing a feature request. To help us prioritize this request effectively any additional details you can provide regarding the impact this feature would have would be very helpful.

---

<div class="post-metadata">

**Author:** ![Doctor\_Meem](https://d1dlmcr85iqnpo.cloudfront.net/user_avatar/discuss.ai.google.dev/doctor_meem/32/84115_2.png) [@Doctor\_Meem](https://discuss.ai.google.dev/u/Doctor_Meem)\
**Post date:** [April 7, 2026, 7:33pm UTC](https://discuss.ai.google.dev/t/allow-rs-rust-code-file-uploads-in-google-ai-studio/94210/5 "2026-04-07T19:33:27Z")

</div>

Still no .rs files support… Surely adding for this is not that hard.
