FormLoom

Add a file upload to a contact form

Let users attach files (up to 25MB on Pro) to your form submissions.

  1. 1

    Add a file input

    Add `<input type="file" name="attachment" />` to your form.

  2. 2

    Use multipart encoding

    POST the raw FormData (don't JSON-stringify) so the file is sent as multipart/form-data.

  3. 3

    Check the dashboard

    The uploaded file is stored and linked in both the notification email and the dashboard.

example.html
<form action="https://api.formloom.ai/submit/YOUR_ACCESS_KEY" method="POST" enctype="multipart/form-data">
  <input type="email" name="email" required />
  <input type="file" name="attachment" />
  <button type="submit">Send</button>
</form>

FAQ

10MB per file on the free tier, 25MB on Pro, 100MB on Team.

Related how-tos

Get your free access key

Start free — no card
Add a file upload to a contact form — FormLoom · FormLoom