To add a signup form to a website, build the form in a form builder, copy its embed code, and paste it into your page, which takes under 20 minutes. The form also works as a hosted page you can link to, and an HTML form needs your own backend to store signups.
Key facts
- 3 ways to add a signup form: embed a widget, link to a hosted form, or build one in raw HTML.
- Embedding is the fastest route: most builders get a form live in under 20 minutes.
- A form builder stores every signup for you; a raw HTML form needs a backend or endpoint to receive submissions.
- WordPress takes a Custom HTML block, Squarespace a Code block, and Wix an Embed HTML block.
- Email plus first name is enough to start; every extra field adds friction.
- Always test with a real signup before you share the page.
The 3 ways to add a signup form
| Method | What you change on the site | Where visitors complete it | Best for |
|---|---|---|---|
| Embed widget | Paste a script or iframe snippet | On your own page | Most sites |
| Hosted form link | Add a link or button | On the form builder’s page | Email and social sharing |
| Raw HTML form | Write the form markup and connect an endpoint | On your own page | Developers with a backend |
Embedding is the common choice. Visitors fill the form in without leaving your page, and responses land in your form builder’s dashboard. A hosted link is simpler to set up but sends visitors away from your site. Raw HTML gives full control over design, but you must build or buy the endpoint that stores submissions.
Embed a form on your site
- Build the form in your form builder and choose the fields, starting with email and first name.
- Open the share or embed settings and copy the embed code, usually an iframe, a script tag, or both.
- Paste the code into your page where the form should appear.
- Publish the page and test it with a real signup.
Most builders give you a choice of code types. A script embed matches your site and updates itself when you change the form. An iframe works when your site builder strips scripts, but styling is limited. Plain HTML is a one-time copy, so you must paste it again after every change.
Ask for consent in plain words and say what emails the signup will get. Many builders add double opt-in by default, which sends a confirmation email before the address joins your list.
Add the form in WordPress, Squarespace, Wix and other builders
| Platform | Where the embed code goes |
|---|---|
| WordPress | Custom HTML block in the block editor |
| Squarespace | Code block, on a Business plan or higher |
| Wix | Embed Code, then Embed HTML |
| Webflow | Embed element, then publish |
| Shopify | Custom Liquid section in the theme editor |
| Framer | Embed element, set to HTML |
The pattern is the same everywhere: find the block or element that accepts raw code, paste the snippet, and save. If the block only accepts a link, use the hosted form link instead. Squarespace needs a Business plan or higher for Code blocks.
Test the form and fix common problems
Submit the form yourself with an address you control. Check that the confirmation message or thank-you page appears, the signup lands in your list, and the welcome email arrives.
If the form does not show, check that the code went into a code or HTML block and not a plain text block, and that the form is published rather than a draft.
For form costs, see form builder cost comparison.
FAQ
How do I add a signup form to my website?
Build the form in a form builder, copy the embed code, paste it into your page where the form should appear, then publish and test it with a real signup.
Do I need to know HTML to add a signup form?
No. The embed and hosted-link methods need no coding. Only a raw HTML form needs markup and a backend to store submissions.
Where do I paste the embed code in WordPress?
In a Custom HTML block in the block editor, then save and preview the page.
What fields should a signup form ask for?
Email and first name are enough to start. Every extra field adds friction, so add fields only when you use the answers.
Why is my signup form not showing?
Check the code went into a code or HTML block, not a text block, and that the form is published, not a draft.
Sources
- Fomr: How to add a form to your website (checked 23 Nov 2026)
- ReputeCast: Add a signup form to your site (checked 23 Nov 2026)
- Eden: Add a signup form to your website (checked 23 Nov 2026)
- PosterMyWall: How to add an email signup form to your website (checked 23 Nov 2026)
