Link Code Generator Logo
Link Code Generator

Free Advanced Mailto Link Generator

Create email links with pre-filled subject, body, CC, and BCC fields. Outputs a clean mailto URL and ready-to-paste HTML button code.

Enter a "To" email address to generate your links.

What Is a Mailto Link?

A mailto: link is a special type of hyperlink that, when clicked, opens the user's default email client (Apple Mail, Outlook, Gmail, Thunderbird) and creates a new compose window. Unlike regular web links, mailto links stay entirely within the user's email app — no web page is loaded, no server is involved, and no data is sent until the user clicks "Send."

What This Tool Generates

This generator supports all standard mailto fields:

  • To: The primary recipient email address.
  • CC (Carbon Copy): Sends visible copies to additional addresses. All recipients can see each other.
  • BCC (Blind Carbon Copy): Sends hidden copies. The primary recipient cannot see BCC recipients — useful for compliance or internal tracking.
  • Subject: Pre-fills the email subject line.
  • Body: Pre-fills the email message body with a template or prompt.

Why Use a Mailto Link Builder?

Manually writing mailto links with multiple parameters requires strict URL encoding. A space must be encoded as %20, the & symbol as %26, and newlines as %0A. Getting any of these wrong silently breaks the link — the email client will open but the fields won't be pre-filled correctly.

This tool handles all encoding automatically, producing a correctly formatted mailto URL and an HTML anchor tag you can paste directly into your HTML source code.

Best Use Cases for Mailto Links

  • Website Contact Buttons: Add a "Send us an email" button that pre-fills your support address and a subject like "Support Request" to route emails correctly. For instant messaging, also add a WhatsApp Click-to-Chat button alongside it.
  • Email Templates for Teams: Create a clickable link that populates a standard email template that your team can send with one click from their local email client.
  • Referral Programs: Generate a "Share via Email" link that pre-fills a referral message body for users to forward to their contacts. For social sharing, pair it with a Social Share Link for one-click posting.
  • Review Requests: Use a mailto link in your post-purchase follow-up to collect feedback. Or use our Direct Review Link generator to send customers straight to your Google or Yelp review page.

Frequently Asked Questions

Will this work on all email clients?

Yes — the mailto: protocol is a universal standard supported by Apple Mail, Microsoft Outlook, Thunderbird, and most other desktop email clients. Gmail users on desktop may see a "gmail.com is not configured to handle this link" prompt unless they have set Gmail as their default email app in their browser settings.

Can I use line breaks in the body?

Yes. The tool automatically encodes newline characters (%0A) correctly. Type your body text normally in the textarea — paragraph breaks will appear correctly in the pre-filled email body when the link is clicked.

Is the email sent automatically when someone clicks the link?

No. The link only opens the user's email client with a pre-composed message. The user must review and click Send manually. This is a fundamental property of mailto: links — they cannot send emails automatically or without user action.

Free tools & tips in your inbox

New tools, feature updates, and tips for marketers and developers. Unsubscribe anytime.

All Tools Directory

Every free tool, in one place. Perfect for anyone who needs to create QR codes, build UTM-tagged links, generate contact links, or manage campaign URLs. No account required.

Amazon Affiliate Link Builder

Clean up messy Amazon URLs and generate perfect Associate links using your affiliate tag.

Link Expirator & Countdown Snippet

Generate a Javascript snippet to automatically expire a link and redirect traffic after a specific date and time.

Link Cloaker & Redirect

Generate HTML, PHP, and .htaccess redirect codes to hide ugly affiliate links.

Link Rotator

Generate a JavaScript snippet to randomly rotate traffic across multiple destination URLs based on percentage weights.

A/B Split Tester

Generate a Javascript snippet to split landing page traffic between two URLs for A/B testing.

URL Shortener

Instantly shorten long URLs to display clean links on social media.

UTM Link Builder

Easily add UTM parameters to URLs so you can track Custom Campaigns in Google Analytics.

SMS Link Generator

Create clickable sms: links that open the native text message app with a phone number and pre-filled message. Generates the URL and HTML code.

Mailto Link

Create advanced email links with pre-filled subjects, CC, BCC, and body text. Generates standard URLs and HTML code.

Direct Review Link

Generate direct 5-star review links for Google My Business, Yelp, Facebook, and Trustpilot to send to your customers.

Social Share Link

Create 1-click sharing links for Twitter, Facebook, LinkedIn, Reddit, and more. Generate custom URLs and HTML buttons.

Telegram Link

Create direct Telegram links using a username or phone number. Generates t.me URLs and HTML code.

WhatsApp Link

Create click-to-chat WhatsApp links with pre-filled messages. Generates wa.me URLs and HTML code.

Barcode (1D)

Generate, preview, and download 1D barcodes (Code128, EAN-13, UPC, etc.) instantly in your browser.

GA4 Cross-Domain Tracker

Generate Google Analytics 4 (GA4) cross-domain tracking code snippets to maintain user sessions across multiple websites.

Smart App Deep Link

Generate smart routing scripts that detect the user OS and redirect to native mobile apps falling back to web URLs.

HTML Link

Generate clean, perfectly formatted HTML anchor tags with custom rel, target, class, and ID attributes.

Open Graph Meta Tag

Generate the perfect Open Graph and Twitter Card HTML meta tags for social media link sharing optimization.

Payment URL

Generate unified deep links to accept payments via PayPal, Venmo, and Cash App.

QR Code Generator

Create custom QR codes with colors, logos, and multiple export formats.

WiFi QR Code

Create a WiFi QR code for your home or business. Guests scan to connect instantly — no password typing needed.

vCard QR Code

Create a vCard QR code for your business cards. Seamlessly share contact info straight to their phone book.

Social Media QR Code

Generate a QR code linked to your Instagram, Twitter, or TikTok.

Payment QR Code

Generate a payment QR code for Venmo, PayPal, or Stripe.

Event QR Code

Generate an iCalendar Event QR code for your invitations.

Location QR Code

Generate a QR code for a physical location mapping.

Email QR Code

Generate a mailto QR code.

Phone Call QR Code

Generate a phone call QR code.

SMS QR Code

Generate an SMS text message QR code.

App Store QR Code

Generate a QR code to link to your app on the App Store or Google Play.

Universal Location & Maps Link

Generate universal smart routing scripts and direct deep links for Google Maps, Apple Maps, and Waze.