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.

Limit Value
Maximum length of a Visualforce page name (the text in the URL that uniquely identifies the Visualforce page)

40 characters

Page names can’t be longer than 40 characters.

Maximum length for source code of a Visualforce page (the source code, not the rendered response)

1 MB of text

A single page can hold up to 1 MB of text, or approximately 1,000,000 characters.

Maximum length for source code of a Visualforce component (the source code)

1 MB of text

A single component can hold up to 1 MB of text, or approximately 1,000,000 characters.

Maximum width of a Visualforce page displayed on a profile tab

750 pixels

A single page displayed on a profile tab can’t be wider than 750 pixels.