Converting PSD File to HTML Email Template

Use a PSD template to create a technical specification for an HTML developer. Photoshop provides all required data: element sizes and colors, font names, and layers with different email components. The developer uses this layout to build an email in HTML format.

The quality of the PSD-to-HTML conversion affects how the email is displayed on laptops, tablets, and mobile devices. This step-by-step guide explains how to convert the template correctly.

Advantages of HTML Template Over Email as an Image

First, understand why you should prepare emails in HTML format.

  1. Correct email rendering. There are over 50 email clients, so your campaign must display correctly in each of them. HTML supports most email client features. In addition, contacts may have issues downloading images—for example, when using a weak internet connection. Some email clients also block images by default.
  2. Blocking image-only emails. Many spam filters block messages that consist only of images.
  3. Responsive design. Many contacts read emails on mobile devices. HTML allows you to create emails that are easy to read on screens of any size.
  4. Detailed performance analysis. When emails contain text and buttons instead of images only, you can track campaign performance by measuring clicks on individual links.
  5. Enhanced personalization. Personalized emails engage contacts more effectively. HTML emails support variables and dynamic content, which is not possible with image-only emails.

Basic Requirements for an Email Layout in PSD Format

Start by creating a properly structured Photoshop email template.

  1. Limit the email width to 600 pixels. This width applies to the content area of the email. Use a background to fill empty space on wide screens.
  2. Create the template using a table-based layout. Email clients do not follow unified standards for rendering HTML emails. Contacts may open emails in clients or browsers that do not support modern HTML and CSS. A table-based layout ensures consistent rendering across all platforms.
  3. Use standard fonts in the layout. Email clients support a limited set of fonts. Use the following fonts.
List of standard email-safe fonts including Arial, Comic Sans MS, Courier New, Tahoma, Times New Roman, and Verdana

Divide text into meaningful paragraphs. Use different font sizes, headings, and subheadings to structure the content.

  1. Balance text and images. Image loading may be blocked in email clients for various reasons. In this case, contacts see only the text content. Do not create image-only emails. Add text and buttons instead. Aim for a text-to-image ratio of 50:50 or 60:40.
Communicate with your audience instantly via 8 efficient chennels.

Adaptation of the PSD Template for Email Campaign

Learn how to properly convert a PSD file into an HTML email template.

Layout characteristics

The template meets the following requirements:

  • the content width is 600 px;
  • standard Arial font is used;
  • images and text are placed on separate layers.
Email preview showing a header with logo and heading, and a content section with a summer-themed banner and article list

The standard layout consists of the following sections:

  • Header
  • Content
  • Footer
Email layout labeled with Header, Content, and Footer sections on the right side

You can view information about individual layout objects by using the Move Tool with the Auto-Select option enabled.

Photoshop Move tool selected in the toolbar with the Auto-Select option checked in the options bar

Click any layout element to select it in the layers panel. You can use auto-selection to get font information.

Text layer selected in Photoshop showing its font set to Arial, Regular, 14 pt in the options bar

You can view the color value in the Color Picker window.

Photoshop Color Picker window with a text color's hex value shown as 484a43

Find the color of other elements by using the Eyedropper tool.

Eyedropper tool selected in Photoshop with the Color Picker open showing a sampled background hex value

Use the Ruler tool to define padding between layout elements.

Photoshop Ruler tool selected, measuring a 30 px width between layout elements

So, the layout has the following parameters:

  • the text font is Arial;
  • the font size for the text is 14 px, for the heading it is 24 px;
  • the color of the heading is #484a43;
  • the background color of the header and the whole email: #f0f2ea;
  • content font color is #333333;
  • links color is #6d7e44;
  • the padding from the edge of the email to the content part is 30 px.

The Image Set feature saves multiple images from a template at once. Find a detailed description in the Photoshop User Guide.

Once you have the basic data from the layout, proceed to forming the HTML template for the campaign in Reteno’s editor.

Communicate with your audience instantly via 8 efficient chennels.

Transfer layout to the editor

  1. Go to Messages → Messages → Email and click New Email.
Reteno Messages menu open with the New Email button highlighted on the Email messages page
  1. Open the Gallery tab and select Empty from the Lifecycle emails templates. It contains various empty structures to fill with content, copy, or delete as needed.
Create new Email screen with the Gallery tab and Empty template selected under Lifecycle emails

Use any other template similar to your PSD layout to reduce email creation time.

Design creation

Start by configuring the General Styles panel.

  1. Go to the Global Styles & Layout tab and specify these parameters according to the PSD layout:
  • General Background Color
Global Styles & Layout panel with the General Background Color field set to #f0f2ea
  • Default Structure Padding on Desktop
Global Styles & Layout panel with the Default Structure Padding on Desktop values highlighted
  1. In Heading Styles, specify the font parameters for each heading type in your email.
Heading Styles tab with H1 selected and its font size, line height, and font color settings highlighted
  1. In the Stripe Styles tab, specify the type, size, and color for each corresponding email part:
  • Header
  • Content
  • Footer
Stripe Styles tab with the Header stripe's background color, font size, and font color settings highlighted
  1. Configure the mobile version of your email. Specify font sizes for header, content, and footer sections.
Mobile preview of the email with the Content stripe's Font Size on Mobile setting highlighted at 16
šŸ“˜

Important

Don't make your content or footer background transparent—some devices may display it in white instead of the background color.

You can adjust your email display on mobile devices directly during the email creation process.

All information you add to General Styles displays in the CSS section of your email code:

Code editor's Custom CSS panel open, showing the header stripe background color reflected in the generated CSS

After you fill in all the information in the Global Styles & Layout panel, go to the Stripe settings.

Creating the content part of the email

Your emails in the editor consist of strips, structures, and containers. Set the appropriate stripe type for your design style to apply correctly:

Stripe settings panel with the Message Area dropdown open, showing Header, Content, and Footer options
šŸ“˜

Important

The number of stripes increases your email code weight, affecting display (for example, in Gmail). Use only necessary strips — separate the header, content, and footer, but avoid separating the content part into multiple strips.

Fill your email with content by using the buttons to add basic blocks, or drag the required blocks from the side panel.

Empty container in the email editor with image, text, and button block buttons highlighted, and the side panel block icons highlighted
  1. Create your email header by adding your logo and text. Don't forget to add alternative text and a link to your site in the logo:
Logo image block selected in the header with the Image block panel open, showing the Alternate Text field
  1. In the Дontent stripe, create a structure with the banner.
Content stripe with the sheep field banner image selected and the Structure block icon highlighted in the side panel
  1. Use another structure with a text block for the heading:
Structure block added below the banner image, labeled Structure, ready for the heading text
  1. Apply formatting to your text by selecting H2:
Text block panel with the H2 paragraph style selected for the Best Articles in This Month heading
  1. Use a two-block structure for the next part of your email. Then add containers to the structure for the image and text.
Two-column container structure with placeholder image and text blocks added below the heading
  1. Fill in the data:
Two-column structure filled with article images, titles, and body text under the Best Articles heading
  1. For the next part of the email, add a new structure with an image and text.
Wooden dock photo with a heading and body text added below it as a new full-width article structure
  1. Visually separate your content part and footer by using the spacer block.
Article structure with the Spacer icon highlighted in the side panel and an arrow pointing to a thin spacer line added below it
  1. Create a footer with your contacts and social networks using a two-part structure: the left part contains text blocks only, and the right part contains the Social block and text.
Footer with company name and address on the left, and social media icons with Visit website and Mobile version links on the right
  1. Create your unsubscribe text using a structure with a single container. Set the background color to match your entire email.
Unsubscribe text container highlighted below the footer, with its padding and margin settings shown on the right
  1. Check your email display on desktop and mobile using the preview button.
Email editor toolbar with the Preview button highlighted next to the desktop and mobile view toggle

Your email layout should look like this:

Preview panel showing the finished email side by side in desktop and mobile views

Test your email display on various devices and email clients using specialized services.

Email rendering comparison across Apple Mail and Outlook Office 365 in light and dark modes

Did this page help you?