Posted by João Martins on 13 Apr 2026

How to Submit a Jekyll Form to Google Sheets

Add a working contact form to your Jekyll site - perfect for GitHub Pages


Jekyll powers millions of GitHub Pages sites, but handling forms on static sites has always been a challenge. Form2Sheet solves this - add a simple HTML form to your Jekyll layout and responses are saved in Google Sheets automatically.

In this tutorial, I will guide you through the process of submitting a Jekyll form to Google Sheets using Form2Sheet, making your data collection journey smooth and efficient.

Step 1: Prerequisites

The first step in integrating Form2Sheet is to subscribe either monthly or yearly.
Then, go to https://form2sheet.com and create your first spreadsheet.

Screenshot
(Email received after creating a spreadsheet)


Step 2: Building Your Jekyll Form Include

Create a Jekyll include file for your contact form. This reusable include can be added to any page or layout in your Jekyll site. Make sure to replace the $API_URL with the one you received in your email (check your spam folder as well).

<!-- _includes/contact-form.html -->
<form action="" method="">
  <label>Name:</label>
  <input type="text" name="" />
  <label>E-mail:</label>
  <input type="email" name="" />
  <label>Message:</label>
  <textarea name=""></textarea>
  <input type="submit" value="Submit" />
</form>

<!-- Usage in any page or layout: -->
{% include contact-form.html %}


Step 3: Submitting the Form

In the GIF below, you can see how after submitting the form you check the results in your Spreadsheet.

Screenshot

Besides that, you and the respondent will receive a confirmation email with the data submitted.

Screenshot
Screenshot


And that's is! Simple as that. Aditionally, you can create Unlimited Spreadsheets, customize the Thank You page, add as many Custom Form Fields as you want and remove the Form2Sheet branding from the emails.

Screenshot


Conclusion

Congratulations! You can now go ahead and publish your Jekyll contact form. It is now ready to start collecting responses. With Form2Sheet, the process is streamlined, and you can focus on obtaining valuable data without the hassle of complicated setups.

If this made you curious, go ahead and check our pricing below.


Related Guides

Explore our other tutorials for different platforms and frameworks: