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:
| Row | A | B | C |
|---|---|---|---|
| 1 | Name | Message | |
| 2 | Asha Rao | asha@example.com | Loved the demo! |
| 3 | Dev Mehta | dev@example.com | Please call me back |
Sheetwire maps each form field to the column with the matching header name.
2. Create Spreadsheet API
- 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.
- In your Dashboard, click Create Spreadsheet API and paste the sheet URL. Sheetwire checks access and detects your tabs and columns.
- 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.
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 endpointStart using Sheetwire now
Be up & running in seconds.
Try for FREE