My Logo

Main Navigation

Services
Portfolio
Tools
Resources
Locations
Website BuilderGet In Touch
My Logo
CallGet a Free Quote
Free · Salesforce

Salesforce Web-to-Lead & Web-to-Case Form Generator

Generate a correct, ready-to-paste Salesforce Web-to-Lead or Web-to-Case HTML form — the right endpoint, hidden fields, standard & custom fields and GDPR consent.

Setup → Company Information → Salesforce.com Organization ID.

Lead fields
Custom fields (Salesforce field IDs)

Generated form

<form action="https://webto.salesforce.com/servlet/servlet.WebToLead?encoding=UTF-8" method="POST" class="sf-form">
  <input type="hidden" name="oid" value="YOUR_ORG_ID" />
  <!-- Remove the next line before going live -->
  <input type="hidden" name="debug" value="0" />
  <div class="sf-row">
    <label for="first_name" class="sf-label">First Name</label>
    <input id="first_name" name="first_name" type="text" class="sf-input" />
  </div>
  <div class="sf-row">
    <label for="last_name" class="sf-label">Last Name</label>
    <input id="last_name" name="last_name" type="text" required class="sf-input" />
  </div>
  <div class="sf-row">
    <label for="email" class="sf-label">Email</label>
    <input id="email" name="email" type="email" required class="sf-input" />
  </div>
  <div class="sf-row">
    <label for="company" class="sf-label">Company</label>
    <input id="company" name="company" type="text" class="sf-input" />
  </div>
  <div class="sf-row">
    <label for="phone" class="sf-label">Phone</label>
    <input id="phone" name="phone" type="tel" class="sf-input" />
  </div>
  <div class="sf-consent">
    <label><input type="checkbox" required /> I consent to my data being processed in line with the privacy policy.</label>
  </div>
  <button type="submit" class="sf-submit">Submit</button>
</form>

<style>
  .sf-form{max-width:520px;font-family:system-ui,sans-serif}
  .sf-row{margin-bottom:14px;display:flex;flex-direction:column}
  .sf-label{font-size:13px;font-weight:600;margin-bottom:6px}
  .sf-input{padding:10px 12px;border:1px solid #ccc;border-radius:8px;font-size:14px}
  .sf-consent{font-size:13px;margin:10px 0 16px}
  .sf-submit{background:#0176d3;color:#fff;border:0;border-radius:8px;padding:11px 22px;font-weight:600;cursor:pointer}
</style>

Set debug=0 only while testing, then remove it. Custom fields use the Salesforce field ID (starts 00N). Always confirm against your org’s Web-to-Lead/Case setup.

Need a proper Salesforce ↔ website integration?

Web-to-Lead is the easy bit. JW Digital builds robust Salesforce integrations — two-way sync, custom objects, APIs and middleware — having delivered them for Salesforce clients.

Database & API DevelopmentIntegration Cost Calculator →

More free tools & services

SF Integration Cost →

Estimate a full Salesforce ↔ website integration build.

API & Database Calculator →

Cost a custom API, backend or data integration.

Database & API Development →

Robust Salesforce and CRM integrations, built properly.

API Integration and Automation →

Get website forms flowing into your CRM without manual entry.

JW Digital Website Footer

My Logo

Empowering UK businesses with bespoke web design, app development, and digital marketing solutions that drive measurable results.

0161 399 4659
JW Digital266 Altrincham Road, Manchester
Greater Manchester, M22 4AA

Our Services

  • Web Design Services UK
  • SEO Agency UK
  • E-commerce Web Design
  • App Development Company UK
  • Database & API Development
  • Website Hosting & Maintenance
  • Digital Marketing Agency UK

Areas We Cover

  • Manchester
  • London
  • Birmingham
  • Leeds
  • Oxford
  • Cambridge
  • All areas we cover →

Tools

  • Invoice Generator
  • Free Website Grader
  • Website Cost Calculator
  • SEO Cost Calculator
  • App Cost Calculator
  • Ecommerce Cost Calculator
  • Meta Tag Checker
  • API & Database Calculator
  • GBP Profile Checker
  • IndexNow Sitemap Submitter
  • CIS Tax Calculator
  • Trades Quote Generator
  • Schema Markup Generator
  • XML Sitemap Generator
  • Robots.txt Generator
  • Open Graph Preview Generator
  • Colour Contrast Checker
  • Marketing ROI Calculator
  • Website Revenue Loss Calculator
  • Lead Value Calculator
  • Local Business Schema Generator
  • Indexability Checker
  • Schema Validator
  • Local SEO Audit
  • AI Overview Readiness Checker
  • NAP & Citation Checker
  • AI Brand Visibility Checker
  • Website Carbon Calculator
  • Salesforce Web-to-Lead Generator
  • Salesforce Integration Cost Calculator
  • Shopify Fee Calculator (UK)
  • Breakeven ROAS Calculator
  • Shopify App Cost Calculator
  • Abandoned Cart Calculator
  • Product Page SEO Grader
  • Website Image & Speed Audit

Company

  • About Us
  • Blog
  • Research
  • Contact & Support
  • Terms & Conditions
  • Privacy Policy

Visit Us On

  • Trustpilot
  • Yell
  • Google Reviews
  • GoodFirms

Follow Us

© 2026 JW Digital Services Ltd. All rights reserved.

Registered in England & Wales · Co. No. 15243830 · ICO Reg. No. ZC150057