> For the complete documentation index, see [llms.txt](https://minimateapps.gitbook.io/mini-image-upload-and-file-upload/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://minimateapps.gitbook.io/mini-image-upload-and-file-upload/how-to.../how-do-i-control-which-file-types-customers-can-upload.md).

# How do I control which file types customers can upload?

* Please go to the **"Upload rules"** tab while creating or editing a field
* Click **+ Add a rule**, then under **File requirements** select **Allowed file types**

<figure><img src="/files/eY2tmQjhqCI93ks7xeJh" alt=""><figcaption><p>Add File Types</p></figcaption></figure>

* Under **"Select the type of field and allowed file formats"**, tick the categories you want to allow:
* **Images** — JPEG, JPG, PNG, GIF, WEBP, SVG
* **Video** — MP4, MOV, AVI, WEBM
* **Documents** — PDF, DOC, DOCX, TXT
* **Audio** — MP3, WAV, OGG
* **Design files** — PSD, AI
* **Others** — If the categories above don't cover the format you need, tick **Others** and select the file types yourself
* In the **"Error text to display when file type is not allowed"** field, write the message customers see if they choose an unsupported format (default: "File type is not allowed")

<figure><img src="/files/wVOJ3gje9MBYaXrQ6fgP" alt=""><figcaption><p>Allowed File Types</p></figcaption></figure>

{% hint style="info" %}
Only allow the formats you can actually work with. If you print from print-ready PDFs, for example, allowing just **Documents** keeps customers from uploading low-resolution phone photos. You can update the allowed types anytime, so make sure to test it on your storefront after saving.
{% endhint %}

#### 📹 Watch: Allowed File Types

See how to restrict uploads to specific formats like PNG, JPEG, PDF, PSD, ZIP, Excel, or video.

{% embed url="<https://youtu.be/n7n2T2kc4CY?si=ss7MjO_2v250NMiR&t=306>" %}
