File Upload Form
A form with a file input so users can send documents, images, or attachments with their message.
- File input
- Multipart encoding
- Responsive
- No dependencies
Fields included
- Name
- Message
- Attachment
How to Use This Template
- 1Sign up for a free Static Forms account to get your API key.
- 2Copy the HTML code above and save it as an
.htmlfile. - 3Replace
YOUR_API_KEYwith your actual API key. - 4Deploy the file to your website and start receiving submissions in your inbox.
Frequently asked questions
What do I need to enable file uploads?
The form uses enctype="multipart/form-data". Enable file uploads on your Static Forms plan to receive attachments in your notification email.
What is the maximum file size?
The current attachment limit is 4.5MB per submission. Larger files should be shared via a link instead.
Can I accept multiple files?
Add the multiple attribute to the file input to let users attach several files at once.
Related templates
Job Application Form
A job application form with contact details, position, cover letter, and a resume file upload.
Support & RequestsBug Report Form
A structured bug report form with steps to reproduce, expected vs actual behavior, and severity.
Support & RequestsSupport Ticket Form
A help-desk form with priority, subject, and description fields to route issues to your team.
Start receiving form submissions today
No backend code needed. Sign up, grab your API key, and you are ready to go.