The simplest way to add a contact form to a plain HTML page
Two lines anywhere in <body>. No build step, no dependencies. If you can save and upload, you can do this.
<script src="https://cdn.toimii.io/components/your-code.js" async></script>
<toimii-your-code></toimii-your-code>
Step by step
Gotchas
Frequently asked
Do I need a backend or PHP?
You don't need a server of your own. Submissions go straight from the form to Toimii's API — your HTML page can be served from anywhere, even a free static host.
Can I open the .html file directly with file://?
It renders, but nothing you send arrives. Submissions are accepted only from the domain you listed in Toimii, and a page opened from disk has no domain to match — the send fails with a generic error. Check the layout from disk; test sending on the uploaded page.
Embedding on a different platform?
Same two lines of code, picked apart for each platform.
Ready to try it?
30-day free trial. No credit card. Set up in minutes.
No credit card required. Set up in 2 minutes.