Get the code
- Publish your form.
- Click Share, then choose Embed on a website.
- Pick a style, then click Copy code.
- Inline sits in your page and grows to fit each question.
- Popup is a button that opens the form in the middle of the screen.
- Slider is a button that slides the form in from the side.
- Plain iframe needs no script, for builders that only allow an iframe.
Inline looks like this:
<div data-formsoft="https://formsoft.app/f/your-studio/contact" data-formsoft-title="Contact us" data-formsoft-height="620" style="max-width:760px"></div>
<script src="https://formsoft.app/embed.js" async></script>And the plain iframe:
<iframe src="https://formsoft.app/f/your-studio/contact?embed=1" title="Contact us" width="100%" height="620" style="border:0;border-radius:16px;max-width:760px" loading="lazy" allow="clipboard-write"></iframe>Paste it into your site
WordPress
Add a Custom HTML block where the form should go and paste the code.
Webflow
Drag in a Code Embed element and paste the code.
Squarespace
Add a Code block to the section and paste the code.
Wix
Add Embed Code, choose Embed HTML, and paste the code. Make the box as tall as the height in the code.
Shopify
In the theme editor, add a Custom Liquid section and paste the code.
Anything else
Look for a block called HTML, Code, Custom HTML or Embed. If it accepts an iframe, it works.
Menus and names change from time to time. If you can't find the block, search your builder's help for "embed HTML".
Tips
- With the plain iframe, change
height="620"to suit your page. Most forms look right between 520 and 720. - The inline snippet grows or shrinks with the form, down to a sensible minimum, so there isn't a tall empty box left behind.
- The form keeps its own look and moves one question at a time inside the box. It won't scroll or jump your page around.
- Responses from an embedded form arrive in Formsoft like any other, and your webhooks still fire.
- Prefer a link? The same form works on its own page, so you can use both.
Match your site
In Share → Embed you can set the background (default, transparent, or inherit from your page), font, button colour, corner radius, spacing, alignment, and whether to hide the header or logo. The same choices are written into both the script snippet and the plain iframe, as data-formsoft-* attributes or ?embed=1&… query parameters. Leave them at the defaults and the code is unchanged from before.
Inherit from my site only works with the script snippet. The script reads your page's font, text colour, a link or button colour, and the background behind the form, then sends those to the iframe. A plain iframe can't see your site's CSS, so inherit falls back to Formsoft's look — pick the values yourself, or use Inline.
Transparent drops the page background so your site shows through, and keeps answer boxes readable. Hiding the “Made with Formsoft” badge is available on paid plans; Free forms always show it, even if the snippet asks otherwise.