Form Templates / File Upload Form
AdvancedPROHTMLJavaScriptReact
File Upload Form
Accept file attachments from users. Files are stored and linked to submissions in your Formtorch dashboard.
Preview
Name
Email
Attachment
This form is for preview only.
Preview only. Replace the endpoint in the code with your Formtorch URL.
Code
Paste your form ID and the code below updates instantly.
upload.html
<!-- enctype="multipart/form-data" is required for file uploads -->
<form
action="https://formtorch.com/f/abc123"
method="POST"
enctype="multipart/form-data"
>
<div>
<label for="name">Name</label>
<input
id="name"
type="text"
name="name"
placeholder="Your name"
required
/>
</div>
<div>
<label for="email">Email</label>
<input
id="email"
type="email"
name="email"
placeholder="you@example.com"
required
/>
</div>
<div>
<label for="attachment">Attachment</label>
<input
id="attachment"
type="file"
name="attachment"
accept=".pdf,.doc,.docx,.png,.jpg,.jpeg"
/>
</div>
<button type="submit">Submit</button>
</form>
How it works
- 1
Create a Formtorch endpoint
Sign up and create a new form endpoint in the dashboard. You will get a unique URL in seconds.
Create endpoint → - 2
Paste it into your form
Set your form's action attribute to your endpoint URL. No other changes required.
<form action="https://formtorch.com/f/abc123"> - 3
Deploy and start receiving submissions
Every submission is stored in your dashboard, triggers email notifications, and can fire webhooks to any service.
FAQ
No. Formtorch works with standard HTML forms via the action attribute. No JavaScript required for basic submissions.
Start collecting form submissions in minutes
Create your endpoint, paste it into any template, and you are live.