How to Add an HTML Email Signature in Gmail
A complete guide to adding rich HTML signatures with images, social icons, and professional formatting to your Gmail account. Works for personal Gmail and Google Workspace.
Why Use an HTML Email Signature in Gmail?
Gmail's built-in signature editor is functional but limited. While you can add basic formatting, images, and links, creating a truly professional signature with precise layouts, custom colors, and branded design requires HTML. An HTML email signature gives you complete control over:
- Layout: Create multi-column designs with images alongside text
- Branding: Use exact brand colors, fonts, and spacing
- Social icons: Add clickable social media icons that match your brand
- Professional appearance: Achieve consistent rendering across email clients
- Call-to-action: Include banners, buttons, or promotional content
Can Gmail Handle HTML Signatures?
Yes, Gmail supports HTML signatures, but with some important caveats. Gmail doesn't allow you to paste raw HTML code directly into the signature editor. Instead, you need to paste the rendered HTML (the visual output) from a browser or use Google's Chrome extension for advanced formatting.
The good news is that Gmail preserves most HTML formatting when you paste from a browser, including:
- Tables and layout structures
- Images (hosted externally)
- Links and clickable elements
- Colors and basic styling
- Font sizes and basic formatting
HTML Limitations in Gmail
Gmail strips certain HTML elements for security reasons, including JavaScript, forms, and some CSS properties. Custom fonts may not render correctly—stick to web-safe fonts like Arial, Georgia, or Verdana for best results.
Method 1: Copy and Paste from a Signature Generator (Recommended)
The easiest way to add an HTML signature to Gmail is using a signature generator like SigGen. This method requires no coding knowledge and produces signatures that are optimized for email clients.
Create Your HTML Signature
Use a signature generator like SigGen to create a professional HTML signature, or design your own using HTML code.
Open the Signature in a Browser
If using a generator, preview your signature. If coding manually, save your HTML file and open it in a web browser.
Select and Copy the Signature
Click and drag to select the entire signature, then press Ctrl+C (Windows) or Cmd+C (Mac) to copy it.
Open Gmail Settings
Click the gear icon in Gmail's top right corner, then click 'See all settings'.
Navigate to Signature Section
Scroll down to the 'Signature' section in the General tab and click '+ Create new'.
Paste Your Signature
Click inside the signature editor and press Ctrl+V (Windows) or Cmd+V (Mac) to paste. The formatting should be preserved.
Set as Default and Save
Choose your new signature for new emails and replies, then scroll down and click 'Save Changes'.
Pro Tip: Use the Right Copy Method
When copying your signature, select it visually in the browser (click and drag), not from source code. This ensures Gmail receives the rendered HTML with proper formatting. Right-click > "Copy" or Ctrl/Cmd+C both work.
Method 2: Create Your Own HTML Signature
If you have HTML knowledge and want complete control over your signature, you can write custom HTML code. Here's the basic structure of an email signature:
Basic HTML Signature Template
<table cellpadding="0" cellspacing="0" border="0" style="font-family: Arial, sans-serif;">
<tr>
<td style="padding-right: 15px; vertical-align: top;">
<img src="YOUR_IMAGE_URL" width="80" height="80" alt="Photo" style="border-radius: 50%;">
</td>
<td style="vertical-align: top;">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td style="font-size: 16px; font-weight: bold; color: #333;">
Your Name
</td>
</tr>
<tr>
<td style="font-size: 14px; color: #666; padding-top: 4px;">
Job Title | Company Name
</td>
</tr>
<tr>
<td style="padding-top: 10px;">
<a href="tel:+1234567890" style="color: #0066cc; text-decoration: none; font-size: 13px;">
+1 234 567 890
</a>
</td>
</tr>
<tr>
<td>
<a href="mailto:[email protected]" style="color: #0066cc; text-decoration: none; font-size: 13px;">
[email protected]
</a>
</td>
</tr>
<tr>
<td style="padding-top: 10px;">
<a href="https://linkedin.com/in/yourprofile">
<img src="LINKEDIN_ICON_URL" width="20" height="20" alt="LinkedIn">
</a>
</td>
</tr>
</table>
</td>
</tr>
</table>Key HTML Guidelines for Gmail Signatures
- Use tables for layout: Table-based layouts render most consistently across email clients
- Inline CSS only: Gmail strips external stylesheets and <style> tags, so all styling must be inline
- Host images externally: Use publicly accessible URLs for all images (HTTPS required)
- Web-safe fonts: Stick to Arial, Verdana, Georgia, Times New Roman, or Courier
- Set explicit dimensions: Always specify width and height for images
- Use cellpadding and cellspacing: Set these to 0 on tables and control spacing with CSS padding
How to Test Your Custom HTML
- Save your HTML code as a .html file
- Open the file in Google Chrome or another browser
- Verify the layout looks correct
- Select all (Ctrl/Cmd+A) and copy (Ctrl/Cmd+C)
- Paste into Gmail's signature editor
- Send a test email to yourself and check multiple email clients
Adding Images to Your Gmail HTML Signature
Images are essential for professional signatures—profile photos, logos, and social icons all enhance your brand. Here's how to handle images in Gmail:
Image Hosting Options
- Google Drive: Upload to Drive, right-click > Share > Anyone with link, then use the direct image URL
- Your website: Upload to your company website's media folder
- Image hosting services: Use Imgur, Cloudinary, or similar services
- Gmail's built-in uploader: In the signature editor, click the image icon to upload directly
Image Size Recommendations
Keep profile photos between 80-120px and logos under 200px wide. Optimize images to under 50KB each for fast loading. Total signature should be under 100KB. Use PNG for logos with transparency, JPG for photos.
Adding Social Media Icons
Social icons connect recipients to your professional profiles. For an HTML signature, you'll need icon images and proper linking:
Social Icons HTML Example
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td style="padding-right: 8px;">
<a href="https://linkedin.com/in/yourprofile">
<img src="LINKEDIN_ICON_URL" width="24" height="24" alt="LinkedIn" style="display: block;">
</a>
</td>
<td style="padding-right: 8px;">
<a href="https://twitter.com/yourhandle">
<img src="TWITTER_ICON_URL" width="24" height="24" alt="Twitter" style="display: block;">
</a>
</td>
<td>
<a href="https://yourwebsite.com">
<img src="WEBSITE_ICON_URL" width="24" height="24" alt="Website" style="display: block;">
</a>
</td>
</tr>
</table>You can find free social media icons at:
- Font Awesome (as images)
- Simple Icons
- Icons8
- Flaticon
Troubleshooting Common Issues
Signature Formatting Gets Corrupted
- Don't edit the signature in Gmail after pasting—this can break the HTML
- If changes are needed, edit the source HTML and paste again
- Make sure you're copying the rendered signature, not the HTML code
Images Not Displaying
- Verify all image URLs are publicly accessible (test in incognito mode)
- Ensure URLs use HTTPS, not HTTP
- Check that image hosting service hasn't rate-limited your links
- Some recipients' email clients block images by default
Signature Looks Different in Different Email Clients
- Use table-based layouts instead of CSS flexbox or grid
- Add explicit width and height to all images
- Use inline CSS only—no external stylesheets
- Test in Gmail, Outlook, and Apple Mail before finalizing
Links Not Working
- Ensure all URLs include the full path (https://www.example.com)
- For phone numbers, use href="tel:+1234567890"
- For email links, use href="mailto:[email protected]"
Gmail HTML Signature Best Practices
- Keep your signature under 10,000 characters (Gmail's limit)
- Use no more than 2-3 colors for a clean, professional look
- Limit signature height to 150-200 pixels
- Include only essential contact information
- Make phone numbers and emails clickable
- Test on mobile devices—Gmail app renders signatures
- Avoid complex animations or interactive elements
- Include alt text for all images for accessibility
Mobile Considerations
Your HTML signature from Gmail's web interface will appear when sending from the Gmail mobile app. However, keep these mobile-specific concerns in mind:
- Signatures may appear larger on mobile screens—keep layouts simple
- Touch targets for links should be at least 44x44 pixels
- Avoid tiny text that's hard to read on small screens
- Test your signature by sending from the Gmail app to yourself
Using Google Workspace? Additional Options
If you're using Google Workspace (formerly G Suite) for business, administrators have additional signature management options:
- Admin-managed signatures: Set company-wide signatures through the Admin Console
- Signature templates: Create standardized signatures for all employees
- Legal disclaimers: Automatically append compliance text to all emails
- Third-party integrations: Use tools like Exclaimer or WiseStamp for advanced management
The Easy Way: Use a Signature Generator
Creating HTML signatures from scratch requires technical knowledge and extensive testing across email clients. For most users, a signature generator offers a faster, more reliable solution.
Our free Email Signature Generator at SigGen creates Gmail-optimized HTML signatures with:
- 15 professional templates to choose from
- Custom colors, fonts, and layouts
- Built-in image handling
- Social media icons included
- One-click copy to Gmail
- Mobile-responsive designs
- No coding required
Create Your HTML Gmail Signature
Skip the coding and use our free Email Signature Generator. Create a professional HTML signature for Gmail in minutes.
Create Signature Now