Contact Form with File Upload
A contact form that lets visitors attach files like resumes, screenshots, documents, or images. Uses the standard HTML file input with enctype="multipart/form-data". Requires FormWit Starter plan or higher for file attachment support.
Template Code
<form action="https://app.formwit.com/api/s/YOUR_FORM_ID" method="POST" enctype="multipart/form-data">
<label for="name">Name</label>
<input type="text" id="name" name="name" required />
<label for="email">Email</label>
<input type="email" id="email" name="email" required />
<label for="message">Message</label>
<textarea id="message" name="message" rows="4" required></textarea>
<label for="attachment">Attachment (optional, max 10MB)</label>
<input type="file" id="attachment" name="attachment" accept=".pdf,.doc,.docx,.png,.jpg,.jpeg" />
<input type="text" name="_gotcha" style="display:none" tabindex="-1" autocomplete="off" />
<button type="submit">Send Message</button>
</form> Want to customize?
Build your own form visually with our free HTML form generator.
Try the Form Generator →Use cases
- Support forms where users attach screenshots
- Job application pages accepting resumes
- RFQ forms for receiving project briefs or specifications
- Any form where file attachments add context
Customization tips
- Change the
acceptattribute to restrict file types (e.g..pdfonly) - Add
multipleto the file input to allow multiple attachments - Change the max file size note to match your plan limits
- Style the file input with a custom button using CSS or a label overlay
Related guide
Want a step-by-step walkthrough? Read the full HTML Contact Form Guide.
Related templates
Basic Contact Form
A minimal HTML contact form with name, email, and message fields. Works on any website with no CSS framework required.
Bug Report Form
Let users report bugs with severity level, URL, reproduction steps, and optional screenshot. Ideal for software products.
Job Application Form
Accept job applications with resume upload, cover letter, and position selection. Simple hiring page for small teams.
Frequently asked questions
What file types are supported?
accept attribute on the input controls what the browser allows. Is there a file size limit?
Do I need a paid plan for file uploads?
Get your form working in 30 seconds
- No credit card required
- Unlimited forms
- 100 submissions/month free