File Uploads
Store, export, and share files collected with your Basin forms.
Accepting Files
Enabling forms powered by Basin to accept file uploads is really easy.
You simply have to add enctype="multipart/form-data" and accept-charset="UTF-8" to your
form tag and you're all set.
Notice
We support file uploads of up to 100MB per submission.
Single input example
<form accept-charset="UTF-8" action="https://usebasin.com/f/1a2b3c4d5e6f" enctype="multipart/form-data" method="POST">
...
<input type="file" name="resume" ></input>
...
</form>
Multi-input example
<form accept-charset="UTF-8" action="https://usebasin.com/f/1a2b3c4d5e6f" enctype="multipart/form-data" method="POST">
...
<input type="file" name="resume" ></input>
<input type="file" name="cover-letter" ></input>
<input type="file" name="application" ></input>
...
</form>
Multi-attachment input example
Your file input must
include name="attachments[]" multiple for this use case to
work.
<form accept-charset="UTF-8" action="https://usebasin.com/f/1a2b3c4d5e6f" enctype="multipart/form-data" method="POST">
...
<input type="file" name="attachments[]" multiple></input>
...
</form>
Inline Attachment Preview
By default, attachment links force a file download. If you'd like image attachments to open directly in the browser instead, enable Inline Attachment Preview under Form → Settings → General.
When enabled, images of the following types are served inline:
- JPEG / JPG
- PNG
- GIF
- WebP
All other file types continue to be served as downloads regardless of this setting.
Virus-scanned files
Attachments flagged as infected are never served inline — they always redirect to a warning page, even when Inline Attachment Preview is enabled.
Virus Scanning for attachments
For Premium users and above, all attachments are automatically scanned for viruses and malware using ClamAV You'll get a warning if we detect anything suspicious with attachments submitted to your forms.