### [How to Upload Files to Google Drive from a WordPress Form](https://wpforms.com/how-to-create-a-wordpress-google-drive-upload-form/)

**Published:** February 11, 2022
**Author:** Hamza Shahid

**Excerpt:** Do you want to create a WordPress Google Drive upload form?

With WordPress, it's possible to back up file uploads from your forms to Google Drive.

In this post, we’ll show you how to add a file upload feature to your contact forms, and also have those files automatically backed up in your Google Drive.

**Content:**

When collecting files through WordPress forms, storage space can quickly become a headache. I’ve seen plenty of websites run into issues when file uploads pile up on their hosting server.

That’s why I always recommend connecting your forms directly to Google Drive. Instead of keeping those uploaded files on your WordPress server, they’ll go straight to your Google Drive account.

So, if you’re tired of juggling file storage and need a smooth solution, you’re in the right place. It’s easy to connect your WordPress and Google Drive with WPForms!

[Create Your WordPress File Upload Form Now! 🙂](https://wpforms.com/pricing/)

## Note:

This guide will only show you how to save your upload form file attachments into a Google Drive folder.

If you also want to save your contact form entries, such as the name, email, and message, check out our guide on [connecting](https://wpforms.com/save-contacts-from-wordpress-form-to-google-sheet/)[ a form with Google Sheets](https://wpforms.com/save-contacts-from-wordpress-form-to-google-sheet/).

## How to Create a WordPress Google Drive Upload Form

Let’s dive into creating a WordPress Google Drive integration so you can back up files automatically from your WordPress forms.

- [Step 1: Install and Activate WPForms](#1-install-and-activate-wpforms)
- [Step 2: Create a File Upload Form](#2-create-a-file-upload-form)
- [Step 3: Connect to Google Drive](#3-connect-to-google-drive)
- [Step 4: Add the Integration to Your Form](#4-add-the-integration-to-your-form)
- [Step 5: Publish Your Google Drive Form](#5-publish-your-google-drive-form)

### Step 1: Install and Activate WPForms

When it comes to handling file uploads in WordPress forms, you need a solution that’s both reliable and flexible. That said, WPForms is the best WordPress plugin to [upload files](https://wpforms.com/best-file-upload-plugins/ "upload files") to Google Drive.

You can create a form within minutes and accept multiple file types, set specific upload limits, and have everything automatically sync to your Google Drive folders.

If you haven’t installed WPForms yet, you’ll need the [Pro version ](https://wpforms.com/pricing/ "Pro version ")to access the [Google Drive Addon](https://wpforms.com/features/google-drive-addon/ "Google Drive Addon"). This will allow you to automatically send files to specific Drive folders and even set custom permissions.

[![The WPForms pricing page. ](https://wpforms.com/wp-content/uploads/2024/08/WPForms-Pricing-Page.png)](https://wpforms.com/pricing/)And if you’re not sure how to install a plugin in WordPress, you can see our documentation on [installing the WPForms plugin](https://wpforms.com/docs/install-wpforms-plugin/) for help. It only takes a few minutes to get started!

[Upgrade to WPForms Pro Now! 🙂](https://wpforms.com/pricing/)

### Step 2: Create a File Upload Form

There are a few ways to set up a form that accepts file uploads, and I’ll show you my favorite approach that works every time.

You can either start from scratch or use one of WPForms’ templates. Open your WordPress admin area and click on **WPForms » Add New.**

![add new form](https://wpforms.com/wp-content/uploads/2021/11/add-new-form.png)This will open the WPForms form builder. Here, start by giving your form a suitable name. Next, take advantage of [WPForms’ extensive library of form templates](https://wpforms.com/templates/).

![Naming your file upload form](https://wpforms.com/wp-content/uploads/2022/10/name-file-upload-form.png)To make your job easier, I recommend you use the File Upload Form template. Scroll down and type in **File Upload Form** in the search field under the **Select a Template** section.

![Choosing the File Upload Form template](https://wpforms.com/wp-content/uploads/2022/10/choose-file-upload-form-template.png)When the template opens, you’ll find some common fields within including a file upload field. You can customize this template any way you like or leave it as it is.

![The File Upload Form template](https://wpforms.com/wp-content/uploads/2022/10/file-upload-form-template.png)For a more detailed guide on file upload forms, see our tutorial on [how to create a file upload form in WordPress](https://wpforms.com/how-to-create-a-file-upload-form-in-wordpress/). When you’re ready, make sure to **Save** the form.

## Pro Tip:

WordPress might also restrict some types of file uploads. You can fix that by following this guide on [allowing additional file types](https://wpforms.com/how-to-fix-file-type-is-not-permitted/).

### Step 3: Connect to Google Drive

Before we can start sending files to Google Drive, we need to activate the Google Drive Addon. From your WordPress dashboard, head to **WPForms » Addons**.

![wpforms addons page](https://wpforms.com/wp-content/uploads/2023/11/wpforms-addons-page-3-1024x607.png)Search for “Google Drive” by typing its name into the **Search Addons** field. Then, click on the **Install Addon** button followed by the Activate button.

After that, head to **WPForms » Settings** in your WordPress dashboard, then click on the **Integrations** tab. You’ll see Google Drive listed among the available integrations.

![wpforms integration tab](https://wpforms.com/wp-content/uploads/2025/03/wpforms-integrations-tab-1024x377.png)Next, click on the **Google Drive** integration to expand its settings and click the **Continue with Google** button to connect WPForms to your Google account.

![google drive integration wpforms](https://wpforms.com/wp-content/uploads/2025/05/google-drive-integration-wpforms-1024x456.png)When you click the connect button, Google will ask you to sign in and grant WPForms access to your Drive. It will then request the permissions it needs to store your form uploads.

![grant access google drive](https://wpforms.com/wp-content/uploads/2025/05/grant-access-google-drive-1024x789.png)## Pro Tip:

Use a Google Workspace account if you have one. It gives you more storage space and better organization options for your uploaded files. Plus, you can easily share access with team members!

After authorizing WPForms, you’ll be taken back to **WPForms » Settings » Integrations**. Look for the little green “Connected” badge next to Google Drive. That’s how you know everything’s connected and ready to go.

![google drive connected](https://wpforms.com/wp-content/uploads/2025/05/google-drive-connected-1024x413.png)### Step 4: Add the Integration to Your Form

Back in your form builder, let’s set up exactly how files should flow into Google Drive. Click on **Settings » Google Drive,** and hit the **Add New Connection** button.

![add new google drive connection](https://wpforms.com/wp-content/uploads/2025/05/add-new-google-drive-connection-1024x422.png)You’ll see a popup asking for a nickname for this connection. Don’t worry too much about this, as it’s just for your reference. Type in your nickname and hit **OK**.

![add google drive connection name](https://wpforms.com/wp-content/uploads/2025/05/add-connection-nickname-google-drive-1024x642.png)Next, pick your connected Google Drive account from the dropdown menu. If you’ve got multiple Google accounts connected, make sure you choose the right one, as that’s where all your form uploads will land.

![select google drive account](https://wpforms.com/wp-content/uploads/2025/05/select-google-drive-account-1024x547.png)After picking your account, you’ll see new options pop up that let you control where your uploaded files will live in Google Drive. Under the **Folder** setting, you’ll see two options:

- **Create New:** This will create a fresh folder in your Drive (this is what I usually do for new projects). WPForms will suggest using your form name as the folder name, but you can change it to whatever makes sense.
- **Select Existing:** Use an existing folder if you’ve already got a specific spot in mind for these uploads. Just click on the **Select Folder** button to browse your Drive.

![select existing folder](https://wpforms.com/wp-content/uploads/2025/05/select-folder-existing-folder-1024x632.png)Once you’ve made your selection, you need to tell WPForms which upload fields should sync with Drive. You can either pick specific fields or choose “All File Upload Fields” to send everything over.

![file upload fields google drive](https://wpforms.com/wp-content/uploads/2025/05/file-upload-fields-google-drive-1024x239.png)After saving your form settings, a **View Folder** on Drive button will appear in the Folder section of your Google Drive connection settings.

![view folder google drive](https://wpforms.com/wp-content/uploads/2025/05/view-folder-google-drive-1024x514.png)Clicking this button will open the selected folder in your Google Drive account. This allows you to quickly access and manage uploaded files.

### Step 5: Publish Your Google Drive Form

Now that your form is connected to Google Drive, it’s time to get it on your site. You can place your upload form on any page, post, or even in your sidebar.

Let’s add it to a page since that’s what I usually do for file upload forms. Click the **Embed** button at the top of your form builder to get started.

![Embed form](https://wpforms.com/wp-content/uploads/2023/02/embed-form-1024x284.png)You’ll see two options: add to an existing page or create a new one. I typically create a dedicated page for file uploads to keep things organized. Choose what works best for your site.

![create new page](https://wpforms.com/wp-content/uploads/2024/06/create-new-page-1024x548.png)Give your page a name (something like “Upload Documents” or “Submit Files”), then click **Let’s Go**. The WordPress editor will open with your form already placed and ready to go.

![Name your page](https://wpforms.com/wp-content/uploads/2022/09/WPForms-Name-Your-Page-1024x450.png)Before hitting publish, let’s make your form look professional. Click around the form block to open the styling options panel. This is where you can really make your upload form stand out.

To make quick work of styling your form, you can select a ready-made theme under the **Form Theme** section. In this example, I’m using the Frost theme (which is one of my favorites).

![Frost theme](https://wpforms.com/wp-content/uploads/2018/07/frost-theme-1024x530.png)Feel free to try other themes; you’ve got lots of options. If you like experimenting directly, you can also manually [customize different elements of the form](https://wpforms.com/how-to-style-wpforms-using-the-block-editor/) more precisely.

Once you’re happy with how everything looks, hit **Publish**. Your Google Drive-connected upload form is now live! When users submit files, they’ll go straight to your designated Drive folder without touching your WordPress storage.

## Pro Tip:

If you are using a database like Notion, you can also follow the steps in this guide to create an integration with Zapier to [connect Notion with WPForms](https://wpforms.com/how-to-create-a-notion-form-in-wordpress/).

### FAQs on How to Create a WordPress Google Drive Upload Form

Creating a WordPress Google Drive upload form is a popular topic of interest among our readers. Here are answers to some common queries about it:

#### Why create a Google Drive upload form?

A Google Drive upload form gives you the reliability of having your uploads from forms safely stored at all times. Normally, form uploads are stored on your website’s servers. However, your website can quickly run out of space if all of your uploads are stored within it.

When you connect Google Drive with your contact form, it will also send a copy of those uploaded files to your Google Drive. That way, you will have copies of those uploaded files on both your server and Google Drive.

#### How do I create a form that allows uploads to Google Drive?

To create a form that lets users upload files directly to Google Drive, you can use WPForms along with Google Drive Addon.

First, build a file upload form in WPForms, then connect WPForms with Google Drive. This will allow the form submissions to send files straight to your Google Drive automatically.

#### How to create an upload form in WordPress?

To create an upload form in WordPress, install and activate the WPForms plugin. Use the drag-and-drop form builder to add a file upload field, customize the form, and set it to accept files.

You can further integrate it with services like Google Drive using the dedicated addon. Similarly, you can send entries to Google Sheets.

### Next, Automate WordPress Tasks

If you think the idea of doing all this stuff with your forms automatically is cool, you’ll definitely want to check out this post on the [best WordPress automation tools](https://wpforms.com/wordpress-automation-tools/).

And, if you’re a nonprofit looking for ways to track donations effectively, here’s our guide to [creating an automated donation tracker](https://wpforms.com/how-to-make-donation-tracker-in-google-sheets/) using the WPForms’ Google Sheets integration.

For some other ways to use Google Workspace apps on a WordPress site, check out our guide to [the top Google Workspace plugins for WordPress](https://wpforms.com/best-google-workspace-plugins-for-wordpress/).

You may also enjoy reading our guide to [changing the max file upload size in WordPress](https://wpforms.com/how-to-change-max-file-upload-size-in-wordpress/). This may come in handy when you’re working with file upload forms.

[Create Your WordPress Form Now](https://wpforms.com/pricing/)

Ready to build your form? Get started today with the easiest WordPress form builder plugin. [WPForms Pro](https://wpforms.com/pricing) includes lots of free templates and offers a 14-day money-back guarantee.

If this article helped you out, please follow us on [Facebook](https://facebook.com/wpforms) and [Twitter](https://twitter.com/easywpforms) for more free WordPress tutorials and guides.

**Categories:** Integrations

**Tags:** attach files to forms, file upload, wordpress google drive upload

---

