New → Easy Form Builder v4.3.1 is live on WordPress.org, released 7 Nov 2026. Read the release notes →

How to Create a WordPress Form With File Upload (Easy Form Builder)

Add a file upload field to a WordPress form with Easy Form Builder: limit file types and size, see where uploads are stored, and keep the form secure.

Short answer: To create a WordPress form with file upload, use Easy Form Builder as your form builder with file uploads: add the free File Upload field to any form, choose the allowed File Type and a Max File Size, save, and place the shortcode on a page. Uploads are checked on the server and linked in each entry.

Quick facts

  • Plan: File Upload field: Free (every plan). D&D File Upload field and custom file types: Free Plus (free of charge) or Pro
  • Time: about 5 minutes
  • Tested with: Easy Form Builder 4.3.1 on WordPress 7.1.4
  • Last verified:
  • Files are saved in: wp-content/uploads/YEAR/MONTH/, renamed to efb-PLG-…, linked from the entry
Video transcript

Add file uploads to a WordPress form with Easy Form Builder. Click Create on Contact Us Form, then click File Upload, a free field. Click the gear icon, type Your CV as the Label, turn on Required, set File Type to Documents and Max File Size to 2, click the check mark, then Save. A PNG shows Please upload Document file. Choose the PDF and it is accepted. Click Submit to get a confirmation code. Click Read, open the entry: Your CV links to the uploaded file. Easy Form Builder is free on WordPress.org. The full guide is on whitestudio.team.

Before you start

  • Easy Form Builder 4.3.1 or later installed and active (free on WordPress.org).
  • Decide which files you want: a CV (documents), photos (images), recordings (media) or archives (zip). Easy Form Builder accepts one file per upload field, so add one field per file you need.
  • Know your hosting upload limit. The builder shows it under Max File Size (on our test site: “Your hosting accepts uploads up to 64 MB.”).

File Upload or D&D File Upload: which field to use

Easy Form Builder has two upload fields. Both store the file on your server, check its type and size, and link it in the entry.

File UploadD&D File Upload
PlanFree, Free Plus and ProFree Plus (free of charge) and Pro
Look on the pageA Choose File button with the file nameA drop zone (“Drag & Drop the file”) with a Browse the file button and a file card
File Type presetsAll formats, Documents, Image, Media, ZipThe same five, plus Customized Ordering (your own list of extensions)
Default File TypeZipAll formats
Files per fieldOneOne

On a site that moves back to the Free plan, a D&D File Upload field shows a “currently unavailable” notice instead of the drop zone, so use File Upload if the form must work on every plan.

Step 1 — Create a form and add the File Upload field

In your WordPress dashboard open Easy Form Builder » Create and click Create (1) on the Contact Us Form template. Any template, or a New Form, works the same way.

In the field list on the left, click File Upload (1). You can also drag the tile to the place you want in the form.

The new field, labelled “File upload” with a Choose File button, appears at the end of the form.

Step 2 — Set the label and make the upload required

Hover over the field and click the gear icon to open its settings. Type a Label (1) that tells visitors what to send, for example Your CV, and turn on Required (2) if the form must not be sent without a file. In our test, submitting without a file showed “This field is required.” under the field.

Step 3 — Limit the file type and file size

Further down in the same panel, choose the File Type (1) and enter the Max File Size (2) in MB. For a CV we chose Documents and 2 MB. Click the check mark at the top of the panel to keep the settings.

Each File Type preset allows these extensions (the server list in Easy Form Builder 4.3.1):

File TypeExtensions accepted
Documentspdf, doc, docx, dot, dotx, xls, xlsx, ppt, pptx, pptm, txt, rtf, odt, ods, odp
Imagepng, jpg, jpeg, gif, heic, heif
Mediamp3, wav, ogg, oga, m4a, aac, webm, mp4, mkv, avi, mpeg, mpg, mov
Zipzip, rar, 7z, tar, gz, gzip, tgz, bz, bz2, bzip, bzip2, tbz, tbz2, tz, tz2, z
All formatsThe common image, document, audio, video and zip types in one field

Note: The Image preset does not include WebP. If you need WebP, use a D&D File Upload field with Customized Ordering and list webp yourself (Step 4).

How big can uploads be?

A new field shows 8 MB. The Max File Size box goes up to 300 MB, but the real ceiling is your hosting limit: PHP’s upload_max_filesize and post_max_size. Easy Form Builder reads that limit, shows it under the box and warns in red when your value is higher (“uploads will fail”). To accept larger files, ask your host to raise both PHP values (usually in php.ini or the hosting control panel), then raise Max File Size in the field.

Step 4 — Optional: drag and drop uploads with your own file types

On Free Plus or Pro, click D&D File Upload in the field list to add a drop zone. In its settings set File Type to Customized Ordering (1); an Acceptable file types box (2) appears. Type the extensions separated by commas, for example pdf, png.

A custom list can only narrow what Easy Form Builder accepts. Extensions outside its allow-list, and risky types such as php, exe, html or svg, are refused even if you type them here.

Step 5 — Save the form and add it to a page

Click Save in the builder toolbar. The Good Job window shows the shortcode, for example [EMS_Form_Builder id=46]. Click Copy Shortcode (1), paste it into a page or post (a Shortcode block works) and publish. See how to embed a form on WordPress for the block and page builder options.

Step 6 — Test the upload as a visitor

Open the page in a private window and try a file that does not match. In our test a PNG in the Documents field showed Please upload Document file right away, before anything was uploaded.

A 3 MB PDF in the 2 MB field showed The file size exceeds the maximum allowed limit of 2 MB.

A matching file is uploaded as soon as it is chosen: the field shows its name, and the D&D drop zone shows a file card with an × to remove it. Fill in the rest of the form and click Submit (3). The visitor then sees the confirmation message and confirmation code.

Where uploaded files are stored and how to find them

Easy Form Builder saves each upload in the normal WordPress uploads folder for the current month, for example wp-content/uploads/2026/11/, and renames it to a random name such as efb-PLG-261128-ZHJBVA5X.pdf. The original file name is not kept. The files are not added to the Media Library.

To open a file, go to Easy Form Builder » Panel, click Read (1) on your form and open the entry.

Each upload field is shown with its label and a link to the stored file. Click the link to open or download it.

In the notification email (when it includes the submitted data, the default), each upload appears as a link with the field’s label, for example Your CV. Files are linked, not attached, so large uploads never bounce an email. Set up the email in form notification emails.

Upload security: what Easy Form Builder checks

Since 4.3.1 every upload is checked again on the server, so a visitor cannot get around the browser checks. In our tests each of these was refused with “This file type is not accepted here. Please attach one of the file types listed on the field.” or the size message:

  • Size: the field’s Max File Size, lowered further by the hosting limit. A 3 MB file sent straight to the server for a 2 MB field was refused (“This file is too large. The maximum size for this field is 2 MB.”).
  • Extension: only the extensions of the field’s File Type. A PNG sent to a Documents field was refused.
  • Real content: the file’s bytes must match its extension. A text file renamed to .pdf was refused, and archives must really be archives.
  • Blocked types: scripts and executables (php and its variants, exe, sh, bat, html, svg, xml, .htaccess and more) are never stored, and no stored file may contain PHP code.
  • Upload limit per visitor: three files per upload field per hour (six for a form with two upload fields). After that the visitor sees “You can attach up to 6 files here. Please wait about 60 minutes before trying again.”
  • Random names: stored files get a random efb-PLG- name, so they cannot overwrite each other or be guessed from the original name.

Warning: Anyone who has a file’s link can open it, as with any file in the WordPress uploads folder. Do not use an upload form for ID scans, medical records or other highly sensitive documents unless your host protects the uploads folder, and delete files you no longer need.

Remove unneeded uploaded files (Clear Files)

A file is uploaded as soon as the visitor chooses it, so abandoned forms can leave files behind. Settings » General has a Clear Files section with a Delete unnecessary files button (1) for removing leftovers.

Note: In our test with 4.3.1 the button reported “The files have been deleted.”, but the leftover uploads were still in wp-content/uploads/2026/11/. Until this is fixed, check the folder yourself: a leftover efb-PLG- file is one that no entry links to. Keep every file an entry still links to.

Troubleshooting

SymptomLikely causeFix
Please upload Document file (or Image, Media, Zip file)The file’s type is not in the field’s File TypePick the matching preset, or use All formats; for a custom list use D&D File Upload with Customized Ordering
The file size exceeds the maximum allowed limit of NN MBThe file is larger than Max File SizeRaise Max File Size (Step 3), staying under your hosting limit
Max File Size shows a red “larger than the hosting limit” warningYour PHP upload limit is lower than the field valueAsk your host to raise upload_max_filesize and post_max_size, or lower the field value
This file type is not accepted here…The server refused the extension or the file’s real content (for example a renamed file)Ask the visitor to send the original file in an allowed format
You can attach up to N files here…The visitor reached the hourly upload limit (3 per upload field)Wait about an hour, or reload the form later
A D&D field says it is unavailableThe site is on the Free planSwitch to Free Plus (free) or use the File Upload field; see Free, Free Plus and Pro
Uploads fail only for some visitorsA security or firewall plugin blocks the upload requestSee security plugin compatibility

Frequently asked questions

Is the file upload field free in Easy Form Builder?

Yes. The File Upload field works on every plan, including Free. The D&D File Upload field with custom file types needs Free Plus, which is also free of charge, or Pro.

Can visitors upload more than one file?

One file per upload field. To collect several files, add several upload fields, for example CV and Cover letter. Each field gets its own type and size limits.

Can I allow only PDF files?

Yes. Add a D&D File Upload field, set File Type to Customized Ordering and type pdf in Acceptable file types. With the File Upload field the closest preset is Documents, which also accepts Word, Excel, PowerPoint and text files.

What is the maximum upload size?

The Max File Size you set in the field, up to your hosting’s PHP limit. The builder shows that limit under the box. Easy Form Builder never accepts more than the host allows.

Are uploaded files attached to the notification email?

No. The email contains a link to each file, labelled with the field name. The file stays on your server and is linked from the entry in Panel.

Where can I see the original file name?

Easy Form Builder renames every upload to a random efb-PLG- name for safety, so the original name is not stored. Ask for it in a text field if you need it.

What’s next

Your WordPress form now accepts file uploads, checked on your server and linked in every entry.

Updated for Easy Form Builder 4.3.1 on . Every step re-tested on 4.3.1 with new annotated screenshots. This guide now also covers file types, size limits, upload security and where files are stored, and replaces our separate advanced file upload guide. Earlier versions said uploads of up to 500 MB were possible; the limit is your hosting’s PHP upload limit.

WhiteStudio Team

We build Easy Form Builder — the drag-and-drop WordPress form plugin with free conditional logic. We write practical, no-fluff guides to help you get the most out of WordPress.

Easy Form Builder documentation