Skip to content
Email Tips

How to Add an HTML Signature in Apple Mail (Mac & iPhone)

How to add an HTML signature in Apple Mail on Mac, iPhone and iPad: copy it from Safari, paste it into Signatures, and keep its fonts and images intact.

Keshur Gojiya

6 min read

How to Add an HTML Signature in Apple Mail (Mac & iPhone)

To add an HTML signature in Apple Mail on a Mac, open the signature's HTML file in Safari, select all and copy it, then go to Mail > Settings > Signatures, add a new signature and paste it into the preview. Untick "Always match my default message font" so Mail keeps the signature's own fonts. On iPhone and iPad, paste the copied signature into Settings > Apps > Mail > Signature. On every device, the images must be hosted online at https addresses, or they break for the people you email.

Before you start: get the HTML file ready

Apple Mail has no box for HTML code. You paste the rendered signature, the way it looks in a browser, so check the file before you copy it:

  • Images linked from full https addresses, such as https://yourcompany.com/signature/logo.png. A path like images/logo.png points to a folder on your own computer, so the image breaks as soon as the email leaves it.
  • No embedded images. A logo dragged into Mail's signature editor, or stored in the code as base64 data, travels inside every message. Some recipients then see it as an attachment, or not at all.
  • Email-safe code: a table layout with inline styles. A signature built from div blocks and CSS classes can look fine in Safari and still fall apart when it reaches Outlook.

When I build HTML email signatures for clients, I recommend hosting the images on their own website, so the addresses stay under their control and don't change without warning.

How to add an HTML signature in Apple Mail on Mac

These steps are for macOS Ventura (13) and later. On macOS Monterey (12) and earlier, the menu is called Mail > Preferences instead of Mail > Settings; everything else works the same way.

1. Copy the signature from Safari

Open the HTML file in Safari (File > Open File, or drag the file onto Safari). Check that every image loads, then press Command-A to select everything and Command-C to copy it. Safari is the natural choice here, because it uses the same WebKit engine that Mail uses to display messages.

2. Create a new signature

In Mail, choose Mail > Settings, then click Signatures. Select the email account in the left column, click the Add (+) button below the middle column and type a name, such as "Work". If All Signatures is selected when you create it, you have to drag the new signature onto an account before you can use it.

3. Paste it into the preview

Click in the right-hand column, delete any placeholder text Mail has put there, and press Command-V. The signature should appear with its layout and images. Use a normal paste, not Edit > Paste and Match Style, which strips the formatting.

4. Untick "Always match my default message font"

When this checkbox is ticked, Mail uses the message font from its Fonts & Colors settings instead of the fonts in your signature. Untick it for the new signature. It's a common reason a pasted signature looks different from the file.

5. Make it the default and test it

In the Choose Signature pop-up menu for that account, pick the new signature so Mail adds it to every message. Keep Place signature above quoted text ticked if you want it directly under your reply rather than below the whole conversation. Close the window, then send a test email to a Gmail address and an Outlook address.

Why your Apple Mail signature looks wrong

  • Images show as empty boxes or question marks: the file uses local image paths. Change them to https addresses and copy the signature again.
  • The font changes after sending: untick "Always match my default message font", and check Mail > Settings > Composing. Message format must be Rich Text, because plain text messages drop all the signature's formatting.
  • Recipients get the logo as an attachment: the image is embedded. Delete it, link it from an https address instead, and paste the signature again.

If you only need to change the name, phone number, links or images, the free signature editor lets you edit them without touching the code. Its Copy Signature button copies the result ready to paste in step 3.

How to add an HTML signature on iPhone and iPad

One honest warning first: Apple's own guide says you can only use text in iPhone Mail signatures. A formatted signature can still be pasted in, but it's a workaround rather than a supported feature, so check it again after major iOS updates.

  1. Send yourself an email that contains only the signature, for example from your Mac once it's set up there.
  2. Open that email in Mail on your iPhone, touch and hold the signature, and drag the selection handles until the whole signature is selected. Tap Copy.
  3. On iOS 18 and later, open Settings, tap Apps, then Mail, then Signature (below Composing). On iOS 17 and earlier, the path is Settings > Mail > Signature.
  4. Choose All Accounts, or Per Account to give each address its own signature. Delete the existing text, such as "Sent from my iPhone", then touch and hold in the field and tap Paste.
  5. If the signature turns into plain text, shake the iPhone straight away and tap Undo when it offers "Undo Change Attributes". On some iOS versions the formatting survives the paste and you can skip this step.
  6. Leave Settings and send yourself a test from the iPhone.

The shake trick isn't documented by Apple, and it needs Shake to Undo turned on (Settings > Accessibility > Touch). If the prompt says "Undo Paste" instead, tapping Undo removes the signature, so cancel and paste again. iPadOS uses the same paths and steps.

Do Apple Mail signatures sync between devices?

Between Macs, yes. Apple says your signatures are available on your other Macs that have iCloud Drive turned on with Mail selected in the iCloud Drive options. The iPhone and iPad keep their own signature in Settings, so set up each one separately.

FAQ

Can I paste HTML code straight into Apple Mail?

No. If you paste the code itself, Mail shows the tags as text in your signature. Open the file in Safari and paste the rendered signature instead. Some older guides edit Mail's hidden signature files directly, but Apple doesn't document that method and the folders change between macOS versions, so I don't rely on it.

Why does my Apple Mail signature look different in Outlook?

Apple Mail displays almost any HTML well, while classic Outlook for Windows uses a much stricter rendering engine. Layouts built with divs, CSS margins or background images can shift or break there. A table-based signature with inline styles, tested in Outlook before you roll it out, avoids the surprise.

Why doesn't "Undo Change Attributes" appear when I shake my iPhone?

Check that Shake to Undo is on in Settings > Accessibility > Touch, and shake right after pasting, before you tap anything else. If you still only see "Undo Paste", cancel and try copying and pasting once more. The behaviour varies between iOS versions, and on some the option doesn't appear at all.

Will recipients see the images in my signature?

Usually, as long as the images are hosted at https addresses. Some email apps and company settings hold back images until the reader allows them, so keep your name, phone number and website as real text, not inside an image.

Key takeaways

  • On a Mac, copy the signature from Safari and paste it into Mail > Settings > Signatures (Mail > Preferences on macOS 12 and earlier).
  • Untick "Always match my default message font" and keep Mail's message format on Rich Text.
  • On iPhone and iPad, paste into Settings > Apps > Mail > Signature (Settings > Mail on iOS 17 and earlier), and shake to undo if the formatting is lost.
  • Host every image at an https address; local paths and embedded images break for recipients.

Tags

  • Email Signatures
  • Tutorials
  • HTML Email

About Keshur Gojiya

Web developer and HTML email specialist with 6+ years of experience, building websites and emails for businesses, startups and agencies.

Get to know me
Keep Reading
View All Articles
  • Email Tips

    7 min read

    How to Create an HTML Email Signature (With Code)

    How to create an HTML email signature step by step: table layout, inline styles, hosted images and links, plus copyable code and how to install it.

    • Email Signatures
    • HTML Email
    Keshur Gojiya
  • Email Tips

    6 min read

    Email Signature Examples for Business, Teams and Mobile

    Email signature examples by type: simple, professional, small business, team, real estate, banner, booking and mobile, plus what to include and leave out.

    • Email Signatures
    • Design
    Keshur Gojiya
  • Email Tips

    7 min read

    Company-Wide Email Signature: 4 Ways to Set It Up

    How to set up a company-wide email signature: one template per person, Microsoft 365 rules, Google Workspace or a signature service, with honest trade-offs.

    • Email Signatures
    • Branding
    Keshur Gojiya

Need help with an email or website?

If an email is breaking in Outlook or dark mode, or you have a design that needs building, tell me about it and I’ll reply with next steps.

Email me