Advertisements

headerup to 320x100 / 728x90

HTML Mailto Link Generator

Generate a ready-to-use mailto: anchor with subject, cc, bcc, and body parameters URL-encoded

Input
Loading editor...
Output

Output will appear here...

Advertisements

content bottomup to 300x250

What is HTML Mailto Link Generator

Last reviewed:

HTML (HyperText Markup Language) is the core markup language for web pages, defining structure and content that browsers render.

HTML Mailto Link Generator produces a safe, URL-encoded `<a href="mailto:...">` tag from a simple email address plus optional subject, cc, bcc, and body lines.

It handles percent-encoding, newlines in the body, and automatic escaping so the resulting link works in every modern browser and mail client.

Why use it

  • Create 'contact us' links with a pre-filled subject line.
  • Build support request templates in your app.
  • Produce mailto links for documentation and READMEs.
  • Encode multi-line bodies without mistakes.
  • Add cc / bcc for internal routing.

Features

  • URL-encodes to, cc, bcc, subject, body
  • Handles multi-line bodies
  • Generates fully valid <a href="mailto:...">
  • Client-side HTML Mailto Link workflow, no servers involved
  • Works with webmail and desktop clients

How to use HTML Mailto Link Generator

  1. Enter email(s) on line 1. Comma-separate multiple recipients.
  2. Add key:value lines. subject, body, cc, bcc.
  3. Click Run. Copy the generated anchor tag.

Example (before/after)

Input

[email protected]
subject: Feedback on Widget v2
body: Hi team,

Loving the new widget!

Output

<a href="mailto:hello%40example.com?subject=Feedback%20on%20Widget%20v2&body=Hi%20team%2C%0A%0ALoving%20the%20new%20widget!">Feedback on Widget v2</a>

Common errors

Unencoded special characters

Spaces and punctuation must be percent-encoded.

Fix: The generator encodes all parameters automatically.

Very long bodies

Some mail clients truncate very long mailto bodies.

Fix: Keep bodies under ~2000 characters for compatibility.

FAQ

Which parameters are supported?

to (line 1), plus cc, bcc, subject, and body as key:value lines.

Are newlines handled?

Yes — newlines in the body become %0A sequences.

Does it support multiple recipients?

Separate addresses with commas on the first line.

Will it work in webmail?

Yes — Gmail, Outlook.com, and iCloud open mailto URLs.

Is input uploaded?

No — encoding runs entirely client-side.