Replacement Guide

How to Build Your Own Netlify Forms

Replace Netlify Forms with a custom build. Serverless form handling without extra API calls or additional JavaScript

Weekend Project
17 features2 integrationsOne weekend

Estimated Timeline

Based on 17 features at Weekend Project difficulty, expect about One weekend with AI-assisted development.

1
Setup & scaffolding
2 hours
2
Core features
4-6 hours
3
Polish & deploy
2 hours

Recommended Tech Stack

Next.js 14

Full-stack React framework with API routes and server components

Supabase

PostgreSQL database, auth, and real-time subscriptions

Tailwind CSS

Utility-first styling for rapid UI development

Key Features to Replicate

Top features across 8 categories. See all 17 features

Core Functionality(6 features)

AJAX Form Submission

Submit static HTML forms using AJAX with the fetch API, with URL-encoded form data

File Upload Handling

Accept file uploads with form submissions using input type='file' and multipart/form-data encoding

HTML Form Support

Add forms to your site using standard HTML with data-netlify or netlify attributes

JavaScript-Rendered Forms

Support for forms rendered client-side with JavaScript frameworks and can be submitted over AJAX

Multiple Form Support

Support for multiple forms on a single site with different name attributes

+1 more in this category

Security(3 features)

File Upload SecurityPremium

Additional security configuration for forms accepting file uploads with personally identifiable information (PII)

reCAPTCHA 2 IntegrationPremium

Integration with reCAPTCHA 2 for form security with hidden div element support

Very Good Security IntegrationPremium

Integration with Very Good Security for forms accepting file uploads containing personally identifiable information

Automation(2 features)

Automatic Form Detection

Build system automatically parses HTML at deploy time to detect forms that require submission handling

Hidden Form Name Input Injection

Automatically injects hidden input with form-name matching the form's name attribute during build

Customization(2 features)

Custom Success Alerts

Substitute alerts instead of redirecting to success pages when using AJAX submission

Custom Success Pages

Replace default success page with custom page by adding action attribute to form tag

API(1 features)

Form Submission API

API endpoints available for accessing form submissions programmatically

Configuration(1 features)

Form Detection Toggle

Ability to enable or disable form detection for sites to optimize deploy times

Framework Integration(1 features)

Next.js and SSR Framework Support

Support for Next.js 13.5 and above, and Server Side Rendering frameworks with HTML form criteria requirements

Management(1 features)

Form Submission UI

Built-in admin panel interface to view and manage form submissions

Cost Calculator

Pricing data not available for Netlify Forms. Check their website for current pricing.

Ready to Build?