About Email Link Generator
A mailto link is a link on a web page that opens the visitor's email app with your address already in the To field, so nobody has to copy and paste it. You see them on contact pages, in site footers and on profile pages. This tool writes the code for you: enter the address, and optionally CC, BCC, a subject, a message body and the visible link text, and you get a correctly encoded mailto link plus a complete HTML tag, with a button to try the link before copying.
It is useful if you hand-code a simple site, edit a WordPress or site-builder template that accepts custom HTML, or build an HTML email signature. Special characters are converted to safe HTML entities, the subject, body, Arabic text and line breaks are encoded inside the link, and you are warned if an address does not look valid. Everything is generated inside your browser.
Why use it
- Correct, ready-to-paste HTML instead of hand-typing tags and quotes.
- Escapes special characters so the snippet cannot break your page.
- Lets visitors reach you in one click instead of copying an address.
- Fits contact pages, site footers, link-in-bio pages and HTML signatures.
- Free and instant in your browser, with no account.
How to use
Enter the address
Type the email address into the box, for example hello@yourstudio.com, with no spaces before or after it.
Generate the code
Press Generate code. The full anchor tag appears below, using the address as both the link target and the visible text.
Copy it
Press Copy to put the snippet on your clipboard.
Paste and test
Paste it into your HTML editor or a custom HTML block, publish, and click it once to confirm it opens a new email.
Examples
Contact page
Enter support@mystore.com and place the link under a Customer support heading. Clicking it opens a new message addressed to your support inbox.
Portfolio footer
A freelance designer adds the link to every page footer, then changes the visible text from the address to "Request a quote".
A link with a ready subject
Enter info@site.com and "Project inquiry" in the Subject field; the link becomes an encoded mailto:info@site.com?subject=… and the subject fills in when clicked.
| Part | Example | What it does |
|---|---|---|
| Scheme | mailto: | Tells the browser to open an email app |
| Address | info@site.com | Fills in the To field |
| Subject (field) | ?subject=Hello | Suggests a subject line |
| Body (field) | &body=Hi%20there | Pre-fills the message text |
| Link text | Email us | What the visitor sees and clicks |
Tips
- Check for stray spaces before or after the address; the tool places exactly what you type inside the link.
- Replace the visible text between the tags with a clear call to action like "Email our team".
- If you add a subject or body by hand, encode spaces as %20 and join parameters with &.
- Mailto relies on the visitor having an email app set up, so also show the address as plain text for webmail users.
- Published addresses can be scraped by spam bots; consider a dedicated contact address.
The code is generated in your browser; the email address you type is not sent to a server or stored.
Frequently asked questions
What is a mailto link?
It is a hyperlink whose address starts with mailto: followed by an email address. Clicking it opens the device's default email app with a new message to that address.
What exactly does the tool output?
A complete HTML anchor tag, for example <a href="mailto:you@example.com">you@example.com</a>, where the address is both the link target and the visible text.
Can it add a subject or message body?
Yes. Fill in the Subject and Message body fields and the tool encodes them into the link, including Arabic text and line breaks. CC and BCC are available too.
Does it check that the email is valid?
It checks the format and warns you if an address looks wrong, such as bad@, but it cannot confirm that the mailbox exists. Use Try the link to test it.
How do I change the text visitors see?
Edit the words between <a ...> and </a>, for example to "Contact us", and leave the href part unchanged.
Where do I paste it in WordPress?
Use a Custom HTML block in the block editor, or the HTML or code widget in your page builder, then save and test the link.
Why does nothing happen for some visitors?
Mailto needs a configured email app. People who only use webmail in a browser may see nothing unless they have set a default mail handler.
Can one link email several people?
The mailto format accepts several addresses separated by commas, and you can type them that way in the box. Leave out spaces between them.
Will it work in an email signature?
Yes, if your mail client supports HTML signatures. In plain-text signatures just type the address; most clients turn it into a link automatically.
Does a mailto link hide my email from spammers?
No. The address sits in your page's source code and can be harvested by bots. Use a public contact address or a contact form if that is a concern.
Are the addresses I type saved?
No. The snippet is built inside your page and disappears when you refresh or close it.
Last updated: