---
schema_version: "1"
id: 1281bf8a3960b340f5eea7c4ba6218014a6b60eafabc11311dacfcfa5729f533
title: Visualforce Component Limits
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/platform/264-0-0/pages_limits.md
canonical_url: https://help.salesforce.com/s/articleView?id=platform.pages_limits.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: 7a67a400604da94e7973472fde519be3279d0a048eb3988970008a79d58bfab2
description: Limits for Visualforce components and pages.
products:
  - Salesforce Platform
release: "264"
---
# Visualforce Component Limits

Limits for Visualforce components and pages.

Visualforce uses a tag-based markup language for building applications and customize the Salesforce user interface.

<table class="slds-table slds-table_bordered slds-max-medium-table_stacked slds-m-bottom_small ">
        <colgroup>
          <col style="width:50%">
          <col style="width:50%">
        </colgroup>
        <thead class="slds-text-title_caps ">
          <tr class="">
            <th scope="col" class="slds-cell-wrap" style="vertical-align:top;" id="d3247e41">Limit</th>
            <th scope="col" class="slds-cell-wrap" style="vertical-align:top;" id="d3247e44">Value</th>
          </tr>
        </thead>
        <tbody>
          <tr class="">
            <td data-label="Limit" class="slds-cell-wrap" style="vertical-align:top;" headers="d3247e41 ">Maximum length of a Visualforce page name (the text in the URL that uniquely
              identifies the Visualforce page)</td>

            <td data-label="Value" class="slds-cell-wrap" style="vertical-align:top;" headers="d3247e44 ">
              <p>40 characters</p>
              <p style="margin-bottom:0;">Page names can’t be longer than 40 characters.</p>
            </td>

          </tr>
          <tr class="">
            <td data-label="Limit" class="slds-cell-wrap" style="vertical-align:top;" headers="d3247e41 ">Maximum length for source code of a Visualforce page (the source code, not the
              rendered response)</td>

            <td data-label="Value" class="slds-cell-wrap" style="vertical-align:top;" headers="d3247e44 ">
              <p>1 MB of text</p>
              <p style="margin-bottom:0;">A single page can hold up to 1 MB of text, or approximately 1,000,000
                characters.</p>
            </td>

          </tr>
          <tr class="">
            <td data-label="Limit" class="slds-cell-wrap" style="vertical-align:top;" headers="d3247e41 ">Maximum length for source code of a Visualforce component (the source code)</td>

            <td data-label="Value" class="slds-cell-wrap" style="vertical-align:top;" headers="d3247e44 ">
              <p>1 MB of text</p>
              <p style="margin-bottom:0;">A single component can hold up to 1 MB of text, or approximately
                1,000,000 characters.</p>
            </td>

          </tr>
          <tr class="">
            <td data-label="Limit" class="slds-cell-wrap" style="vertical-align:top;" headers="d3247e41 ">Maximum width of a Visualforce page displayed on a profile tab</td>

            <td data-label="Value" class="slds-cell-wrap" style="vertical-align:top;" headers="d3247e44 ">
              <p>750 pixels</p>
              <p style="margin-bottom:0;">A single page displayed on a profile tab can’t be wider than 750
                pixels.</p>
            </td>

          </tr>
        </tbody>
      </table>