Free HTML Email Templates

Verification Code Email

A contemporary authentication email featuring a prominent one-time code and a minimal security-focused layout.

← All templates

Email preview

Open in MailViewer →

How to customize this template

  1. Replace the sample code with a randomly generated server-side code.
  2. Apply appropriate expiration and attempt limits.
  3. Never reuse the demonstration verification code.
  4. Keep authentication messages separate from marketing content.
  5. Make sure the expiration notice reflects the actual verification policy.

HTML source code

<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta name="viewport"
    content="width=device-width,initial-scale=1.0">
  <meta name="x-apple-disable-message-reformatting">
  <title>Verification Code Email</title>

  <style>
    body, table, td, a {
      -webkit-text-size-adjust:100%;
      -ms-text-size-adjust:100%;
    }

    table, td {
      mso-table-lspace:0pt;
      mso-table-rspace:0pt;
    }

    table {
      border-spacing:0;
    }

    img {
      border:0;
      height:auto;
      line-height:100%;
      outline:none;
    }

    @media only screen and (max-width:620px) {
      .email-container {
        width:100% !important;
        max-width:100% !important;
      }

      .mobile-padding {
        padding-left:24px !important;
        padding-right:24px !important;
      }

      .mobile-heading {
        font-size:32px !important;
        line-height:1.15 !important;
      }

      .stack-column {
        display:block !important;
        width:100% !important;
        max-width:100% !important;
      }
    }
  </style>
</head>

<body style="margin:0;padding:0;background:#111113;
  font-family:Arial,Helvetica,sans-serif;
  color:#18181b;">

  <div style="display:none;max-height:0;max-width:0;
    opacity:0;overflow:hidden;mso-hide:all;">
    Your example verification code is ready.
  </div>

  <table role="presentation" width="100%"
    cellpadding="0" cellspacing="0" border="0"
    bgcolor="#111113">
    <tr>
      <td align="center" style="padding:32px 12px;">

        <!--[if mso]>
        <table role="presentation" width="600"
          cellpadding="0" cellspacing="0" border="0">
        <tr><td>
        <![endif]-->

        <table role="presentation"
          class="email-container"
          width="100%" cellpadding="0"
          cellspacing="0" border="0"
          style="width:100%;max-width:600px;">

          
    <tr>
      <td align="center"
        style="padding:26px;color:#ffffff;
        font-size:28px;font-weight:bold;
        letter-spacing:-1px;">
        orbit<span style="color:#a78bfa;">.</span>
      </td>
    </tr>

    <tr>
      <td bgcolor="#ffffff"
        class="mobile-padding"
        style="padding:44px;border-radius:20px;
        text-align:center;">

        <p style="margin:0;color:#7c3aed;
          font-size:11px;font-weight:bold;
          letter-spacing:3px;">
          ACCOUNT VERIFICATION
        </p>

        <h1 class="mobile-heading"
          style="margin:26px 0 15px;font-size:40px;
          line-height:1.1;letter-spacing:-2px;">
          One last step.
        </h1>

        <p style="margin:0 0 30px;color:#71717a;
          font-size:15px;line-height:26px;">
          Enter the verification code below to confirm
          your email address and continue to your account.
        </p>

        <table role="presentation" width="100%"
          cellpadding="0" cellspacing="0">
          <tr>
            <td bgcolor="#f4f4f5"
              style="padding:30px 12px;border-radius:12px;
              border:1px solid #e4e4e7;">

              <p style="font-size:10px;letter-spacing:3px;
                color:#71717a;margin:0 0 14px;">
                VERIFICATION CODE
              </p>

              <p style="font-family:monospace;
                font-size:34px;line-height:1.2;
                letter-spacing:6px;font-weight:bold;
                color:#18181b;margin:0;">
                482 719
              </p>
            </td>
          </tr>
        </table>

        <p style="margin:20px 0 30px;
          color:#71717a;font-size:12px;">
          This example code expires in 10 minutes.
        </p>

        <table role="presentation" align="center"
          cellpadding="0" cellspacing="0">
          <tr>
            <td>
              
    <table role="presentation" cellpadding="0"
      cellspacing="0" border="0">
      <tr>
        <td bgcolor="#18181b"
          style="background:#18181b;border-radius:8px;">
          <a href="https://example.com/verify"
            style="display:inline-block;padding:16px 26px;
            font-family:Arial,Helvetica,sans-serif;
            font-size:14px;font-weight:bold;
            line-height:20px;color:#ffffff;
            text-decoration:none;">
            Return to Orbit
          </a>
        </td>
      </tr>
    </table>
  
            </td>
          </tr>
        </table>

        
    <table role="presentation" width="100%"
      cellpadding="0" cellspacing="0">
      <tr>
        <td height="34"
          style="height:34px;font-size:1px;
          line-height:1px;">&nbsp;</td>
      </tr>
    </table>
  
        
    <table role="presentation" width="100%"
      cellpadding="0" cellspacing="0">
      <tr>
        <td style="border-bottom:1px solid #e4e4e7;
          font-size:1px;line-height:1px;">&nbsp;</td>
      </tr>
    </table>
  

        <p style="margin:24px 0 0;
          font-size:12px;line-height:21px;color:#71717a;">
          Never share your verification code.
          If you did not request this message,
          you can safely ignore it.
        </p>
      </td>
    </tr>

    <tr>
      <td align="center"
        style="padding:28px;color:#a1a1aa;
        font-size:11px;">
        Orbit &middot; Secure account access
      </td>
    </tr>
  

        </table>

        <!--[if mso]>
        </td></tr></table>
        <![endif]-->

      </td>
    </tr>
  </table>

</body>
</html>

Usage and compatibility

You may copy, modify and use this example template in personal or commercial email projects. All demonstration values and URLs must be replaced before sending.

This template uses a table-based layout and inline styles as a compatibility-conscious starting point. Rendering may differ across email clients. Always send a real test message before using a template in production.

Read our email testing checklist →

Explore more templates