# What is the maximum file size for uploading on free hosting?

**URL:** <https://forum.infinityfree.com/t/what-is-the-maximum-file-size-for-uploading-on-free-hosting/114857>\
**Category:** Hosting Support\
**Created:** [August 16, 2025, 3:54pm UTC](https://forum.infinityfree.com/t/what-is-the-maximum-file-size-for-uploading-on-free-hosting/114857 "2025-08-16T15:54:01Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![Greenreader9](https://forum.infinityfree.com/user_avatar/forum.infinityfree.com/greenreader9/32/22847_2.png) [@Greenreader9](https://forum.infinityfree.com/u/Greenreader9)\
**Post date:** [August 16, 2025, 3:54pm UTC](https://forum.infinityfree.com/t/what-is-the-maximum-file-size-for-uploading-on-free-hosting/114857/2 "2025-08-16T15:54:42Z")

</div>

Nothing has changed, it’s been like this for years.

> [@Why are my files deleted after uploading them](https://forum.infinityfree.com/t/why-are-my-files-deleted-after-uploading-them/49310/1):
>
> - HTML, PHP and JS files are limited to 1 MB.
> - .htaccess files are limited to 10 kB.
> - All other files are limited to 10 MB.

---

_[View the full topic](https://forum.infinityfree.com/t/what-is-the-maximum-file-size-for-uploading-on-free-hosting/114857)._
