Free form template
HTML File Upload Form Template
Let visitors attach files: briefs, CVs, screenshots or photos. Files are stored with the submission and attached to the email when small enough.
Preview
The code
<form action="https://formpit.com/f/YOUR_FORM_ID" method="POST" enctype="multipart/form-data">
<label>Email <input type="email" name="email" required></label>
<label>Message <textarea name="message" rows="4"></textarea></label>
<label>Files <input type="file" name="files" multiple></label>
<input type="text" name="_gotcha" style="display:none" tabindex="-1" autocomplete="off">
<button type="submit">Send</button>
</form>- Create a free Formpit form and copy its endpoint from the Setup tab.
- Paste the code into your page and replace
YOUR_FORM_ID. - Submit it once: the message arrives by email and in your inbox.
Tips
enctype="multipart/form-data"is required for uploads.- Up to 5 files, 10 MB each, 25 MB per submission. File uploads are a Pro feature.
More templates
Contact form · Newsletter signup form · Waitlist form · Quote request form · Job application form · Event RSVP form · Feedback form · Tailwind CSS contact form · Bootstrap contact form · Contact form with CSS