> For the complete documentation index, see [llms.txt](https://support.docstudio.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://support.docstudio.com/user/template-builder/template-dynamic-fields/file-upload-field.md).

# File upload Field

Use **File field** to let a participant upload a file during envelope processing.

Participants can upload and download the file from the envelope.

You can place this field in:

* structured documents

### Add a file field

{% columns %}
{% column %}

1. Open the template in edit mode.
2. Find **File field** in the **Fields panel** and add it to the template.
3. Configure the field and click **Save**.
   {% endcolumn %}

{% column %}

<figure><img src="/files/UxIzHNjbVoqHSiUtDUYk" alt=""><figcaption></figcaption></figure>
{% endcolumn %}
{% endcolumns %}

### Field settings

Click on the placed field to reopen settings menu.

{% columns %}
{% column width="58.333333333333336%" %}

* **Name** — field name shown in the document
* **Role name** — role that uploads the file
* **Placeholder** — hint text shown before upload (if empty, **Name** is used)
* **Optional** — whether uploading the file is required
* **File extension** — allowed file type group

{% hint style="info" %}
Upload limits are set on your instance.

Typical defaults:

* max file size: **5 MB**
* max total upload size per envelope: **25 MB**
  {% endhint %}
  {% endcolumn %}

{% column width="41.666666666666664%" %}

<figure><img src="/files/EvkUFdiVRrXBaj7QDza8" alt=""><figcaption></figcaption></figure>
{% endcolumn %}
{% endcolumns %}

#### File extension values

{% tabs %}
{% tab title="All" %}
`.pdf, .doc, .docx, .xls, .xlsx, .xlsm, .xml, .dbf, .txt, .rtf, .csv, .xps, .eml, .msg, .emlx, .rpmsg, .png, .jpg, .jpeg, .tiff, .tif, .zip, .7z, .rar`
{% endtab %}

{% tab title="File" %}
`.pdf, .doc, .docx, .xls, .xlsx, .xlsm, .xml, .dbf, .txt, .rtf, .csv, .xps, .eml, .msg, .emlx, .rpmsg`
{% endtab %}

{% tab title="PDF document" %}
`.pdf`
{% endtab %}

{% tab title="Image" %}
`.png, .jpg, .jpeg, .tiff, .tif`
{% endtab %}

{% tab title="Archive" %}
`.zip, .7z, .rar`
{% endtab %}
{% endtabs %}
