explaingit

mantenasud/google-sheets-contact-form

Analysis updated 2026-05-18

0HTMLAudience · generalComplexity · 1/5Setup · easy

TLDR

A free Google Apps Script that saves website contact form submissions into a Google Sheet and emails you a notification.

Mindmap

mindmap
  root((Contact Form Handler))
    What it does
      Saves submissions to Sheets
      Emails notifications
      Rate limits spam
    Tech stack
      Google Apps Script
      HTML
    Use cases
      Free contact forms
      Instant notifications
      Spam protection
    Audience
      Small business owners
      Website builders

Code map

Detail Auto

An interactive map of this repo's files and how they connect — its source is parsed live in your browser. Click Visualize to build it.

filefunction / class

What do people build with it?

USE CASE 1

Capture contact form submissions into a Google Sheet without a paid plugin.

USE CASE 2

Get an instant email notification whenever someone submits your website's contact form.

USE CASE 3

Prevent spam by rate-limiting repeated submissions from the same email address.

What is it built with?

Google Apps ScriptHTMLJavaScript

How does it compare?

mantenasud/google-sheets-contact-formamureki/sweatbucksanikchand461/ragbucket
Stars00
LanguageHTMLHTMLHTML
Last pushed2025-08-15
MaintenanceQuiet
Setup difficultyeasyeasyeasy
Complexity1/51/52/5
Audiencegeneralgeneraldeveloper

Figures from each repo's GitHub metadata at analysis time.

How do you get it running?

Difficulty · easy Time to first run · 30min

Requires granting the script Gmail send permission during a one-time setup step.

In plain English

Google Sheets Contact Form Handler is a tool for website owners who want to capture contact form submissions without relying on a paid plugin or third-party service. It uses Google Apps Script, a free scripting platform built into Google's own suite of tools, to act as a bridge between an HTML form on your website and a Google Sheet where responses get saved. When someone fills out your contact form and submits it, the script receives that data, adds a new row to your designated Google Sheet with the timestamp, name, email, phone number, website, and description, and sends you an email notification right away. This means you know immediately when someone gets in touch, and every submission stays organized in one place for easy review later. Setup involves creating a Google Sheet with the correct column headers, pasting the script into Google Apps Script, setting your notification email address, and deploying the script as a web app. Once deployed, you paste the resulting URL into your website's form code so submissions are routed to the right place. A one-time step grants the script permission to send Gmail notifications on your behalf. A few practical protections are built in: rate limiting prevents a single email address from submitting the form more than five times within a rolling 60-minute window, and there is a fix that stops phone numbers from being misread as formulas inside Google Sheets. The script has no external dependencies, since it runs entirely on Google's own infrastructure, so there are no extra accounts or paid services to set up. This suits personal websites, small business sites, or any project where straightforward, free contact form handling is wanted without installing a plugin.

Copy-paste prompts

Prompt 1
Walk me through deploying this Google Apps Script as a web app for my contact form.
Prompt 2
Help me set up the Google Sheet with the right column headers for this script.
Prompt 3
Explain how the rate limiting and phone number formula fix work in this script.
Prompt 4
Show me how to connect my website's HTML form to this deployed script URL.

Frequently asked questions

What is google-sheets-contact-form?

A free Google Apps Script that saves website contact form submissions into a Google Sheet and emails you a notification.

What language is google-sheets-contact-form written in?

Mainly HTML. The stack also includes Google Apps Script, HTML, JavaScript.

How hard is google-sheets-contact-form to set up?

Setup difficulty is rated easy, with roughly 30min to a first successful run.

Who is google-sheets-contact-form for?

Mainly general.

Open on GitHub → Explain another repo

This repo across BitVibe Labs

Verify against the repo before relying on details.