Static Forms - Secure form backend and form endpoint for contact formsStatic Forms - Secure form backend and form endpoint for contact forms
  • Home
  • Features
  • Docs
  • Blog
  • Pricing
  • Home
  • Features
  • Docs
  • Blog
  • Pricing
← All Tools

Mailto Link Generator

Build mailto: links with custom subject, body, CC, and BCC. Copy the HTML instantly.

Email Details

Mailto URL

Enter an email address above to generate a mailto link...

HTML Code

HTML anchor tag will appear here...

How Mailto Links Work

A mailto: link is a special URL scheme that opens the user's default email client with pre-filled fields. When someone clicks the link, their email app opens a new compose window with the recipient, subject, body, and other fields already filled in.

Mailto URL Syntax

The basic format is mailto:email@example.com?subject=Hello&body=Hi%20there. Parameters are separated by & and values must be URL-encoded.

Supported Parameters

  • subject — Pre-fills the email subject line
  • body — Pre-fills the email body text
  • cc — Adds carbon copy recipients
  • bcc — Adds blind carbon copy recipients

When to Use Mailto Links

Mailto links are useful for simple contact buttons on static websites. However, they require the visitor to have an email client configured and expose your email address to spam bots. For a more robust solution, consider using a contact form with a backend like Static Forms.

Want a proper contact form instead?

Static Forms lets you add a real contact form to your site without any server-side code.

Start Free TrialTry Form Generator
Static Forms - Secure form backend and form endpoint for contact formsStatic Forms - Secure form backend and form endpoint for contact forms

The fastest way to add working contact forms to any website. No backend required.

Product

  • Features
  • Pricing
  • Documentation
  • Changelog

Resources

  • Blog
  • Examples
  • Templates
  • Tools
  • Integrations
  • reCAPTCHA Guide
  • FAQ

Alternatives

  • All Alternatives
  • Formspree
  • Netlify Forms
  • Typeform
  • Formspark

Company

  • Contact
  • About

Legal

  • Privacy Policy
  • Terms of Service
  • Cookie Policy
  • DPA

© 2026 Static Forms. All rights reserved.

Committed to sustainability