How to Change the Allowed File Types in File Upload

February 21, 2023

This guide shows how to change the allowed file types on your form when using the File Upload element.

The default allowed files extensions are as follows:

  • PDF
  • DOC
  • DOCX
  • XLS
  • XLSX
  • CSV
  • TXT
  • RTF
  • HTML
  • ZIP
  • MP3
  • WMA
  • MPG
  • FLV
  • AVI
  • JPG
  • JPEG
  • PNG
  • GIF

You can add or remove these extensions to limit your form only to accept specific file types. Here’s how:

  1. In Form Builder, add a File Upload element to your form or select an existing one.
An arrow pointing to the File Upload element in Form Builder's Form Elements pane
An arrow pointing to the File Upload element in Form Builder's Form Elements pane
  1. Open the File Upload element’s properties by clicking on its gear icon.
An arrow pointing to the File Upload element's gear icon, to open properties, in Form Builder
  1. In the Properties pane on the right, choose Options at the top.
  2. List your allowed file extensions comma-separated in the File Types field.
Highlights to access the File Upload element's File Types option in Form Builder
form-error-invalid-file-extension-min-png

Notes:

  • The allowed extensions list is case-insensitive.
  • List the extensions without the leading dot (e.g., type “pdf” instead of “.pdf”).
  • Enter asterisk (“*”) in File Types to allow all file types.
  • Your form will show an invalid extension message when a user tries to upload a file that is not in the allowed list.


See also: Changing the File Upload Size Limit.

Was this guide helpful?
Contact Support:

Our customer support team is available 24/7 and our average response time is between one to two hours.
Our team can be contacted via:

Support Forum: https://www.jotform.com/answers/

Contact Jotform Support: https://www.jotform.com/contact/

Jotform for Beginners

Get more done with powerful, easy-to-use online forms. Learn how in this helpful, free guide from Jotform.

Download the Book
Jotform for Beginners

Send Comment:

Jotform Avatar
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Comments:

  • Jeff Nelson
  • Cris Persia
  • Marialynydian
  • Md Rana
  • Paul Hancock
  • Gilpatric
  • Anna Madden
  • Jesabel ramo
  • app moricone
  • laurel austermuehle
  • Md Ahadul Islam Rajon
  • berdesa
  • backendopsgh
  • mabelgoodrich
  • Wendy Parker
  • ZRX
  • adhi 80
  • My Small Garage
  • Tasmia
  • andreas
  • jmlappjotform
  • Anna
  • Débora
  • Anna
  • Onyiri Clement
  • kimkelly199390
  • PembePortakal.Net
  • Nickolas
  • Nadia
  • Big Dash
  • Joe Malex smid
  • Greta
  • Tinda
  • nostringzz2020
  • Free PSN
  • Victor antony
  • atman hivi
  • rafyon
  • julie
  • visitinspire
  • Arvind kumar
  • Sanjay Kharva
  • BIJON KUMAR
  • westvalleymavericks
  • showchairs
  • attaimavani
  • durgeshbairwa5651
  • ilie
  • iadsdm
  • mitch
  • Mannat Kaur Kandhari
  • Smithf910
  • gelbuilding
  • MattAtKapnick
  • justglass
  • lisasmith_3
  • KGPT
  • raadsarar
  • white_cap
  • amohammedomer
  • LEAF_Slovakia
  • camescott
  • optizign13
  • Sandstens
  • mickyscakes
  • irbestudio
  • metlife
  • adminKC
  • diogofn
  • tony22
  • tony22
  • tommyblue
  • john ryan boyles
  • fmbike
  • fmbike
  • CalgaryTransit
  • powerongrfx
  • dante01
  • neogeo
  • HarisAutoCenter
  • mchrist793
  • adsprem
  • thefonz22
  • ruilus
  • DJVinyl
  • egeg
  • liyam
  • abajan
  • selfbuild
  • serkan
  • yogita
  • chucklebig
Jotform for Beginners.

Get more done with powerful, easy-to-use online forms.

Learn how in this helpful, free guide from Jotform.

Jotform for Beginners.
Download the Book