Mailto Link Generator screenshot

Mailto Link Generator

Build a mailto: link with a recipient, subject and body, percent-encoded so nothing breaks.

Privacy First
0 Runs
Updated 2026-11-07
Runs in your browser
No account needed
Nothing sent to a server
No mail provider involved

What the mailto link generator builds

A mailto: URL is the one URL a web page can use to open a visitor's own mail program with the message already addressed. This page assembles that URL from the fields you fill in: the recipient, an optional copy and blind-copy list, a subject and a body. Each value is percent-encoded, so a subject containing & or a body containing a line break arrives as one value instead of breaking the query string.

How to use it

Type the recipient address, fill in the optional Cc, Bcc, subject and body, and press Build the mailto link; the encoded URL appears on the right, ready to paste into an email, a button or a page.

Worked example

Recipient ada@example.com, subject Question about order 1042, body Hello, on one line becomes:

mailto:ada@example.com?subject=Question%20about%20order%201042&body=Hello%2C

Why it runs in your browser

The URL is built by JavaScript in this tab. Nothing is posted anywhere, which matters because the body usually contains a customer's name and order details, and the page keeps working after it has loaded even without a connection.

Fill in a recipient, an optional cc, an optional bcc, a subject and a body, and this page assembles a mailto URL that opens the visitor's own mail application with those fields already filled in.

Every field is percent-encoded, so a subject containing an ampersand, a question mark or an accent survives as a single value rather than splitting the query string. The link and a copy button appear as soon as a recipient is entered.

Nothing is sent by this page. It writes the URL the browser already understands and hands it to whatever mail client is configured; no mail provider is contacted and no account is involved.

How the URL is put together

The recipient must be present; without one the builder returns an empty link and an error. Subject, body, cc and bcc are appended only when they are non-empty, each encoded separately and joined with ampersands after a single question mark.

The order is fixed: subject, body, cc, bcc. A client that reorders them is still reading a valid mailto URL, so the order is not something a reader needs to preserve.

  • Recipient is required before a link is produced
  • Subject, body, cc and bcc are optional and percent-encoded
  • A copy button places the finished URL on the clipboard

What the validation does and does not check

The page uses a heuristic: a recipient containing whitespace, a comma or a semicolon without an at sign is reported as looking like a name rather than an address. It never verifies that the mailbox exists.

Clipboard access is the browser's decision. When a browser refuses it, the page says so and asks you to select the text and copy it by hand.

How to use the message fields

Fill To, which is required, with optional Cc, Bcc, Subject and Body in the Message panel, then press Build the mailto link. Every field is percent-encoded separately and joined with ampersands after a single question mark in the fixed order subject, body, cc, bcc; the link and a Copy link button appear as soon as a recipient is entered.

The page sends nothing: it writes the URL the browser already understands for the visitor's own mail client. A recipient with a space or comma and no at sign is reported as looking like a name rather than an address, and when the browser refuses clipboard access the page says so and asks for a manual copy.

What to Expect

Best for

  • Putting a prefilled support or sales address on a web page
  • Making a contact link with a subject line already set
  • Preparing an email body template that survives special characters

Not ideal for

  • Sending mail, which the page never does
  • Verifying that an address exists
  • Attachments, which a mailto URL cannot carry reliably

What this tool keeps

  • Ampersands, question marks, accents and line breaks inside their fields
  • The exact subject and body you typed, once decoded by the mail client
  • An empty query string when only a recipient is given

What may need cleanup

  • A recipient the heuristic accepted but the mail server will reject
  • A body whose line breaks a particular client renders differently
  • A very long body, which some clients truncate

Common errors

  • Expecting the page to send the message
  • Typing a display name instead of an address
  • Assuming a comma-separated recipient list is validated

Example use cases

  • Adding a contact link to a small site
  • Prefilling a bug-report subject and body
  • Copying a mailto URL into a document

Sample input

Enter ada@example.com with the subject Question about order 1042 and a two-line body.

Sample output

A mailto URL beginning mailto:ada@example.com with the encoded subject and body appended as query parameters.

Who this is for

  • Web authors adding contact links
  • Support teams standardising a request template
  • Anyone who needs a mailto URL without hand-encoding it

Frequently asked questions

Does the mailto generator send email?

No. It assembles a mailto URL that opens the visitor's own mail application with the fields already filled in.

Can it attach a file?

Not reliably; a mailto URL cannot carry attachments.

Does it verify that the address exists?

No. It applies a heuristic to the address, so a well-formed recipient may still be rejected by the mail server.

Developer program

Build custom tools for your store

Join the SDK program to create useful ecommerce utilities for your store.