Enabling forms powered by Getform to accept file uploads is really easy. You simply have to add enctype="multipart/form-data" to your form tag and you're all set.

File Upload Form Setup with Single Input

<form action="https://getform.io/f/{your-endpoint}" method="POST" enctype="multipart/form-data">

    <input type="text" name="name">
    <input type="email" name="email">
    <input type="file" name="file">
    <button type="submit">Send</button>

</form>

File Upload Form Setup with Multi Input

You can add more than one file input to your form and send in one submission.

<form action="https://getform.io/f/{your-endpoint}" method="POST" enctype="multipart/form-data">

    <input type="text" name="name">
    <input type="email" name="email">
    <input type="file" name="resume">
    <input type="file" name="photo">
    <input type="file" name="document">
    <button type="submit">Send</button>

</form>

The action="#" determines where submitted data will be posted for processing.

File Upload Form Setup with "Multiple" attribute

You can also use HTML5 multiple file upload syntax. Your file input must include name="files[]" multiple for this option to work.

<form action="https://getform.io/f/{your-endpoint}" method="POST" enctype="multipart/form-data">

    <input type="text" name="name">
    <input type="file" name="files[]" multiple>
    <button type="submit">Send</button>

</form>

That's it, you're ready to accept file uploads to your forms with Getform!

Supported File Extensions

Accepted file extensions for file upload forms are the following:

Documents

  • pdf, doc, docx, ppt, pptx, xls, xlsx
  • key, pages, numbers
  • psd, ai, eps
  • epub, mobi, azw
  • tar, zip, rar, 7z

Media (Audio/Video/Image)

  • png, jpg, jpeg, tiff, tif, gif, webp, scm
  • mp3, mp4
  • flv, avi, webm, mov

Text & Other

  • html, htm, xml
  • sketch, txt
  • rtf

We support file uploads of up to 5MB per submission for Free plan and 25MB per submission for Start and Grow plans.