Salesforce Dictionary - Free Salesforce GlossarySalesforce Dictionary
Full Long Text Area entry
How-to guide

Configure a Long Text Area field correctly

Creating a Long Text Area takes a minute; configuring it correctly for the use case takes thought.

By Dipojjal Chakrabarti · Founder & Editor, Salesforce DictionaryLast updated May 21, 2026

Creating a Long Text Area takes a minute; configuring it correctly for the use case takes thought.

  1. Pick the field type carefully

    Setup, Object Manager, pick the object, Fields & Relationships, New. Choose Long Text Area or Rich Text Area depending on whether formatted content is needed.

  2. Set the length and visible lines

    Pick the length (up to 131,072). Set the number of visible lines (3-25) for the rendering height.

  3. Decide whether to enable indexing

    If users need to search the content, enable Long Text Area indexing on the object. Be aware of storage and performance trade-offs.

  4. Add to page layouts

    Place the field on the relevant page layouts. Position it where users naturally enter content (often below the standard fields).

  5. Configure field-level security

    Set FLS per profile. Sensitive content in Long Text Areas should not be readable by all users.

  6. Plan storage growth

    Estimate the average and maximum content size. Build cleanup workflows for fields that grow indefinitely.

Mandatory fields
Field typerequired

Long Text Area or Rich Text Area.

Lengthrequired

Up to 131,072 characters; pick deliberately.

Visible linesrequired

3-25; controls the rendering height.

Indexing flagrequired

Decides whether the field is searchable.

Field-level securityrequired

Controls per-profile read and write access.

Gotchas
  • Long Text Area is not searchable by default. Enable indexing if users will search the content.
  • List view and report filters do not support Long Text Area by default. Filterable text should go in a regular Text field.
  • Storage adds up. Multiply 131,072 bytes by row count to estimate the worst-case storage impact.
  • Rich Text Area stores HTML. Display layers must escape it correctly to avoid script injection.

See the full Long Text Area entry

Long Text Area includes the definition, worked example, deep dive, related terms, and a quiz.