# Mailto link generator

> Free mailto link generator. Create an email link with a prefilled subject and body, encoded correctly, plus HTML you can paste into your website.

Canonical: https://usefulshelf.co/tools/mailto-link-generator

Create an email link with a prefilled subject and message for your site.

## Your details

Runs in your browser. No sign-in or URL fetching. Enable JavaScript to use the form. The instructions and sample output below are available without JavaScript.

- Email address (required)
- Subject (optional) (optional)
- Message (optional) (optional)

For URL fields, https:// is optional. For example, example.com.

Action: Generate mailto link. Output filename: `mailto-link.html`.

## How to use this tool

Create a mailto link that opens the visitor's email app with your address, subject, and message already filled in. Spaces, line breaks, and symbols are encoded so the link works when pasted into HTML or a link field.

1. Enter the address that should receive the email and an optional subject and message.
2. Generate the link and paste the HTML into your page, or copy the mailto URL into a button or link field.
3. Click the published link to confirm it opens a new email with the right details.

## Example output

Illustrative Example app data. Replace these values with your own verified details.

```text
mailto:hello@example.com?subject=Question%20about%20pricing&body=Hi%2C%0D%0AI%20have%20a%20question%20about%20the%20team%20plan.

<a href="mailto:hello@example.com?subject=Question%20about%20pricing&amp;body=Hi%2C%0D%0AI%20have%20a%20question%20about%20the%20team%20plan.">Email hello@example.com</a>

```

## Common questions

### Will a mailto link expose my address to spam bots?

Yes, the address is visible in the page HTML. Use a shared inbox with spam filtering, or a contact form, if that is a concern.

### Why does nothing happen when I click a mailto link?

The visitor's device needs a default email app. Visitors who use webmail may need to set it as their default, so it helps to show the address as text too.

Guide: [Startup Marketing: A SaaS Launch Plan & Free Tools](https://usefulshelf.co/blog/startup-marketing).

Reference: [RFC 6068: the mailto URI scheme](https://www.rfc-editor.org/rfc/rfc6068).

## Check your published changes

After publishing, use the [search and AI visibility checker](https://usefulshelf.co/check) to inspect your public HTML and crawler access. It reports technical signals; it cannot predict indexing, rankings, or AI recommendations.

Building a useful app? [See what a reviewed UsefulShelf listing includes](https://usefulshelf.co/pricing).

## Related free tools

- [Meta tag generator](https://usefulshelf.co/tools/meta-tag-generator)
- [SERP preview tool](https://usefulshelf.co/tools/serp-preview)
- [Robots.txt generator](https://usefulshelf.co/tools/robots-txt-generator)
- [XML sitemap generator](https://usefulshelf.co/tools/xml-sitemap-generator)
- [Software schema generator](https://usefulshelf.co/tools/software-schema-generator)
- [llms.txt generator](https://usefulshelf.co/tools/llms-txt-generator)
- [UTM builder](https://usefulshelf.co/tools/utm-builder)
- [Word and character counter](https://usefulshelf.co/tools/word-counter)
- [URL slug generator](https://usefulshelf.co/tools/slug-generator)
- [FAQ schema generator](https://usefulshelf.co/tools/faq-schema-generator)
- [WhatsApp link generator](https://usefulshelf.co/tools/whatsapp-link-generator)

[All free SEO tools](https://usefulshelf.co/tools)
