---
title: "Accepting form submissions without a server | Netlify"
description: "Realize the speed, agility and performance of a scalable, composable web architecture with Netlify. Explore the composable web platform now!"
source: "https://www.netlify.com/blog/2021/12/16/accepting-form-submissions-without-a-server/"
last_updated: "2026-07-15T01:26:52.000Z"
---
> Throughout December we’ll be [highlighting a different Netlify feature each day](https://www.netlify.com/blog/2021/12/01/highlighting-a-different-netlify-feature-each-day-in-december/?utm_campaign=featdaily21&utm_source=netlify&utm_medium=blog&utm_content=netlify-forms). It might just be the thing you need to unlock those creative juices, and [dust off that domain](https://www.netlify.com/blog/2021/12/01/dusty-domains-your-forgotten-domains-raise-money-for-charity/?utm_campaign=featdaily21&utm_source=netlify&utm_medium=blog&utm_content=netlify-forms) you registered but never deployed! Keep an eye [on the blog](https://www.netlify.com/blog/2021/12/01/highlighting-a-different-netlify-feature-each-day-in-december/?utm_campaign=featdaily21&utm_source=netlify&utm_medium=blog&utm_content=netlify-forms) and on [Twitter](https://twitter.com/netlify) for each feature!

The need to accept form submissions is usually the first reason you might need to add a server to your site’s stack. After all, those form posts have to go somewhere, right?

But adding a server to your list of things to configure, scale, and maintain, just so that you can allow your visitors to send you data, is an unwelcome leap in complexity.

That’s why Netlify includes the ability to handle form submissions without introducing any other infrastructure into the equation, with [Netlify Forms](https://www.netlify.com/products/forms/?utm_campaign=featdaily21&utm_source=netlify&utm_medium=blog&utm_content=netlify-forms).

![Form submissions collected in the Netlify admin page](/v3/img/blog/screenshot-form-submissions.jpg "Form submissions")

## How it works

When Netlify deploys your site, it looks at the HTML that you are shipping. This “post-processing” step allows Netlify to do number of things such as optimisations snippet injection (We’re bound to see more details on that another day this month!). It also means that Netlify can see if there are any HTML form elements which you ‘d like us to automatically create a back-end service for.

## Telling Netlify you want a form handling API

This sounds like it will be tricky. Nah!

To indicate to Netlify that you want a form handler, all you need to do is add an attribute to the form element in your HTML that you care about, and make sure that your form has a name. Like this:

```
<form action="/thanks-page" method="POST" name="my-form-name" netlify>    ...</form>
```

By adding that `netlify` boolean attribute to the form element (or you can use `data-netlify="true"` if you prefer), Netlify now knows to listen for HTTP POST requests that your visitors submit to that form, and to collect the submissions for you. You can find the submissions (which will have been spam-filtered and safely stored for you) in your [Netlify admin](https://app.netlify.com/?utm_campaign=featdaily21&utm_source=netlify&utm_medium=blog&utm_content=netlify-forms) app.

After submitting their form data, your site visitors will be directed to the confirmation page you specify in your form’s `action` attribute.

Sound too good to be true? Yeah we get that a lot!

## What about client-side rendered forms?

The process above assumes that you are serving your forms as HTML to your visitors. But some popular frameworks generate the HTML using client-side JavaScript. Can we support that too? You bet!

Regardless of which JavaScript frameworks you might use for client-side rendering your form, we can provide the beck-end service to handle the submissions. You can see more details about this [in the docs](https://docs.netlify.com/forms/setup/?utm_campaign=featdaily21&utm_source=netlify&utm_medium=blog&utm_content=netlify-forms#javascript-forms).

Netlify Forms open up a number of interesting possibilities for how submissions are handled and how they can trigger events. And you’re not going to need to add a server in order to support these user interactions.

## More information

-   [About Netlify Forms](https://www.netlify.com/products/forms/?utm_campaign=featdaily21&utm_source=netlify&utm_medium=blog&utm_content=netlify-forms)
-   [Docs: Netlify forms](https://docs.netlify.com/forms/setup/?utm_campaign=featdaily21&utm_source=netlify&utm_medium=blog&utm_content=netlify-forms)
-   [Submitting form data with AJAX](https://docs.netlify.com/forms/setup/?utm_campaign=featdaily21&utm_source=netlify&utm_medium=blog&utm_content=netlify-forms#submit-html-forms-with-ajax)
-   [Working with JavaScript forms](https://docs.netlify.com/forms/setup/?utm_campaign=featdaily21&utm_source=netlify&utm_medium=blog&utm_content=netlify-forms#javascript-forms)

### Share

-   [X (fka Twitter)](https://twitter.com/intent/tweet?text=Accepting form submissions without a server&url=https://www.netlify.com/blog/2021/12/16/accepting-form-submissions-without-a-server//)
-   [LinkedIn](https://www.linkedin.com/shareArticle?mini=true&url=https%3A%2F%2Fwww.netlify.com%2Fblog%2F2021%2F12%2F16%2Faccepting-form-submissions-without-a-server%2F%2F)
-   [Facebook](https://www.facebook.com/sharer.php?u=https://www.netlify.com/blog/2021/12/16/accepting-form-submissions-without-a-server//)
-   [Bluesky](https://bsky.app/intent/compose?text=Accepting form submissions without a server+https://www.netlify.com/blog/2021/12/16/accepting-form-submissions-without-a-server//)

* * *

### Tags

-   [Tips](/blog/tags/tips/)
-   [Forms](/blog/tags/forms/)
-   [Services](/blog/tags/services/)
-   [Serverless](/blog/tags/serverless/)

## Keep reading

![](/images/blog-fallback-thumbnail.svg)

Guides & Tutorials September 14, 2018

[

### Forms and Functions

](/blog/2018/09/14/forms-and-functions/)

-   ![Profile picture of Netlify team](/_astro/2ded7a52db41c7613be0baa648ac9bf9c1e8a985-300x300_DNhVu.svg)
    
    Netlify team
    

![](/images/blog-fallback-thumbnail.svg)

News & Announcements February 12, 2019

[

### Improved Netlify Forms spam filtering using Akismet

](/blog/2019/02/12/improved-netlify-forms-spam-filtering-using-akismet/)

-   ![Profile picture of Ingrid Epure](/_astro/6b55db1d7a8307a9e36d9a2bd54375cedd249587-80x80_ZYsRui.webp)
    
    Ingrid Epure
    

## Recent posts

News & Announcements July 14, 2026

[

### More headroom, a lower per-credit rate, and a bill you can predict: introducing new Pro plan tiers

](/blog/new-pro-plan-tiers)

-   ![Profile picture of Gehrig Kunz](/_astro/b4e9f58d914d1334ea70d53ea55a1f26b26f1445-512x512_17SwOI.webp)
    
    Gehrig Kunz
    

News & Announcements July 13, 2026

[

### Netlify inside of Claude Design

](/blog/netlify-inside-of-claude-design)

-   ![Profile picture of Sean Roberts](/_astro/bbf2243f8171dbddd80ab2103622106cef84d125-512x512_Z1d2LKE.webp)
    
    Sean Roberts
    

News & Announcements June 25, 2026

[

### Netlify Functions, designed for Agent Experience

](/blog/netlify-functions-designed-for-agent-experience)

-   ![Profile picture of Eduardo Bouças](/_astro/52958f21e8450baf6d8e60302341a984e220c0cd-512x512_13VDlu.webp)
    
    Eduardo Bouças
    

![](/_astro/3f255b372fa958df35802666ee33b4609b2d71bd-1200x1586_1VtE2D.webp)

### How do the best dev and marketing teams work together?

[Access the report](https://www.netlify.com/reports/2024-leadership-trend-report/access/)