You can embed a form on a website in about 10 minutes by pasting one iframe snippet from your form builder into your page. The snippet loads the live form inside your page, so visitors never leave it — and only 51.7% of people who start a form finish it.
Key facts
- An embed is an iframe or JavaScript snippet that loads a form hosted by your builder inside your page.
- Editing the form updates every page that embeds it, because the snippet holds the form address, not its questions.
- Zuko 2025: 51.7% of people who start a form submit it, across 93 million sessions.
- Contact forms finish worst of the common types: 47.4% of starters submit.
- Password fields cause the most friction: a 10.50% mean abandonment rate, the highest of 6 field types.
Embed methods compared
| Method | Works on | Skill needed | Best for |
|---|---|---|---|
| Iframe embed | Any site | Basic | Most forms |
| JavaScript embed | Any site | Basic | Forms that must resize |
| WordPress plugin | WordPress only | Beginner | Building and embedding in one place |
| Native builder | One platform | Beginner | Simple forms on that platform |
Get the embed code
Build the form first, then publish it. Most builders keep forms private until published, so a draft cannot leak onto a live page. Open the Share or Embed tab, pick the iframe option, and set the height. Copy the snippet. The snippet is one small block of code that points at your form.
<iframe src="PASTE-YOUR-FORM-URL-HERE"
width="100%" height="600" frameborder="0"></iframe>
The snippet holds the form address, not the form itself. Edit a question or add a field in the builder, save, and every page that embeds the form shows the new version on its next load. The only setting that lives in your page is the height.
If you have no form yet, start with how to create an online form.
Paste it on your platform
In WordPress, add a Custom HTML block where the form should go and paste the snippet, then update the page. Page builders such as Elementor and Divi have an HTML or code widget that does the same job. In the classic editor, paste into the Text tab, not the Visual tab.
In Webflow, drag a Code Embed element onto the canvas, paste the snippet, and publish. You need a paid plan, and each embed is limited to 50,000 characters. In Wix, add an HTML iframe element and paste the code. Squarespace has an Embed block. On a plain HTML site, paste it into the page file.
Platform rules to know
| Platform | Where to paste | Watch out |
|---|---|---|
| WordPress (self-hosted) | Custom HTML block | Contributors cannot save iframes |
| WordPress.com | Custom HTML block | Needs a plugin-enabled plan |
| Webflow | Code Embed element | Needs a paid plan; 50,000 characters per embed |
| Wix | HTML iframe element | Resize the element to fit the form |
| Squarespace | Embed block | Paste the code, not a link |
Set the height and test it
An iframe has a fixed height, so set it tall enough for your longest question. If the form is shorter than the frame, visitors see empty space. If it is taller, the bottom fields hide behind a scroll bar. Start at 600 pixels and adjust after testing.
Some builders offer a JavaScript embed instead, which resizes the frame to fit the form. Use it when your form changes length, for example with conditional questions that show extra fields. Test the form on a phone too: Zuko finds mobile forms complete at 47.5%, against 54.5% on desktop.
Fix the 3 most common embed failures
- Form does not show at all: your site blocks iframes. Check the platform rules first, then check security plugins and user roles. In WordPress, only administrators and editors can save unfiltered HTML.
- Form is cut off at the bottom: raise the height in the snippet until the submit button shows without scrolling.
- Form vanishes when you save: you pasted into a text block instead of a code block, or your role cannot save HTML. Ask an administrator to paste it.
Embedded form vs hosted link
| Option | Visitor experience | Best for |
|---|---|---|
| Embedded form | Fills it in on your page | Contact, signup and quote forms |
| Hosted link | Opens the form on the builder site | Sharing in email and chat |
Embed the form when the page is built around it, such as a contact page or a landing page. Link to it when the form is shared in email, chat, or social media, where no page exists to hold it. Both use the same form, so submissions land in the same place.
For the builder itself, see best form builders.
FAQ
What is the easiest way to embed a form on a website?
Paste the iframe snippet from your form builder into a Custom HTML block or code element on your page. It takes about 10 minutes and needs no coding.
Why is my embedded form not showing?
Your site is probably blocking iframes. Check your user role and security plugins first: in WordPress, only administrators and editors can save unfiltered HTML.
Can I embed a form on a free WordPress.com site?
No. Free WordPress.com sites cannot use script or iframe tags. You need a plugin-enabled plan with hosting features turned on.
Does an embedded form hurt page speed?
A little. The iframe loads the form from the builder servers, so it adds one more request. Keep the form short and place it where visitors expect it.
Do I need to update the embed when I change the form?
No. The snippet points at the form, not a copy of it. Edit the form in the builder and every page that embeds it shows the new version.
Sources
- Zuko: Online form statistics and conversion benchmarks (checked 2 Dec 2026)
- Upform: How to embed a form on any website (with code) (checked 2 Dec 2026)
- Fomr: How to embed a form on any website (checked 2 Dec 2026)
- Crazy Egg: 75+ online form statistics (checked 2 Dec 2026)
- Shaheer Malik: How to embed a form in Webflow, WordPress and Shopify (checked 2 Dec 2026)
