📝 Free Salesforce tool

Salesforce Web-to-Lead form generator

Build a Salesforce Web-to-Lead form without opening Setup. Enter your org ID, pick your fields, add custom fields, and copy clean HTML that works on WordPress, Webflow, Wix or any site. Spam protection that visitors never see is built in: a hidden trap field, a minimum fill time and blocked links in name fields.

FrançaisEspañolNederlandsDeutsch

Fields on the form
Required fields
Before you paste it

Where to find what you need.

In Salesforce Setup

  • Org ID: Setup → Company Information → Salesforce.com Organization ID (starts with 00D)
  • Custom field IDs: open the field in Object Manager and copy the 15-character ID starting with 00N from the address bar
  • Campaign ID: open the campaign and copy the ID starting with 701
  • If State and Country picklists are on, rename state and country to state_code and country_code

After you paste it

  • Send a test lead and check it arrives
  • Use debug mode only while testing, then generate again without it
  • Make sure custom fields are visible to the user that creates web leads
  • Check the form with our free Web-to-Lead form checker
About the protection

What the built-in spam protection does, and doesn’t.

It stops

Bots that fill in the form on your page: they fill the hidden trap field, send too fast or put links in name fields. Real visitors see nothing, unless they send within three seconds, when they are asked to press send once more.

It can’t stop

Bots that skip your page and post straight to Salesforce with the org ID from your page source. Only a server-side check closes that gap, which is what our Web-to-Lead spam protection package sets up.

Questions

Good to know.

How do I create a Web-to-Lead form in Salesforce?

In Setup, search for Web-to-Lead, make sure it is enabled, then click Create Web-to-Lead Form, choose fields and copy the HTML. This generator does the same without Setup and adds spam protection and labels in your language.

What are the required fields for Web-to-Lead?

Lead needs Last Name and Company. If they are missing, Salesforce fills “[not provided]”, so include both on your form.

How do I add a custom field to a Web-to-Lead form?

Use the field’s 15-character ID starting with 00N as the input name. Enter each one in the custom fields box as “ID | Label”.

Does the generated form work without a captcha?

Yes. It uses a hidden trap field, a minimum fill time and link checks instead. For bots that post directly to Salesforce, add a server relay as well.

Is my org ID sent anywhere?

No. The generator runs in your browser. Note that any Web-to-Lead form shows the org ID in the page source once it is on your website.

More free tools

Other tools you might like.

Need an expert, not just a tool?

Our Salesforce admins ($30/hour) and developers ($40/hour) fix data, automation, forms and integrations. Book a free 30-minute call to talk it through.

Salesforce Web-to-Lead Form Generator by Modeverse
Free Salesforce Web-to-Lead form generator: pick fields, add custom 00N fields and get clean HTML with no-captcha spam protection built in. Copy, paste, done.