Website Form to Google Sheet

Connect your web forms directly to your spreadsheet — no backend required.

In this tutorial we'll show you how to connect a web form directly to your Google Sheet.

When users submit the form, their data is automatically saved to your spreadsheet — no backend coding required.

1. Prepare your Spreadsheet

The first row must contain only column names. All other rows may contain data — text, numbers, dates, anything.

For example:

RowABC
1NameEmailMessage
2Asha Raoasha@example.comLoved the demo!
3Dev Mehtadev@example.comPlease call me back

Sheetwire maps each form field to the column with the matching header name.

2. Create Spreadsheet API

  1. In Google Sheets click Share and add the Sheetwire robot email (shown on the Create page in your dashboard) as an Editor. No Google login needed.
  2. In your Dashboard, click Create Spreadsheet API and paste the sheet URL. Sheetwire checks access and detects your tabs and columns.
  3. Sheetwire generates a unique form endpoint with a secret token.

Use the generated Form URL in your HTML form action — not the Google Sheet URL.

3. Create Web Form

Paste this HTML into your site. Replace YOUR_FORM_TOKEN with the token from your dashboard.

<form action="https://sheetwire.forgesparse.com/api/form-submit/YOUR_FORM_TOKEN" method="POST">
  <label>Name<input name="Name" required /></label>
  <label>Email<input name="Email" type="email" required /></label>
  <label>Message<textarea name="Message"></textarea></label>

  <!-- optional spam honeypot -->
  <input type="text" name="_hp" style="display:none" tabindex="-1" autocomplete="off" />

  <!-- optional thank-you redirect -->
  <input type="hidden" name="_redirect" value="https://your-site.com/thanks" />

  <button type="submit">Send</button>
</form>

Submissions appear instantly in your Google Sheet and are logged in your dashboard for backup.

Try it Live

Create a free API, open its Website Form to Sheet snippet, and you'll get a ready-made form wired to your own sheet — with a live preview.

Create my form endpoint
It's as easy as that! 🎉

Need help? Check our docs or FAQ.

Start using Sheetwire now

Be up & running in seconds.

Try for FREE
No credit card required Cancel anytime