Skip to content

Salesforce long text area character limit and field length

See the Salesforce long text area character limit and text field length, and which field type holds your text before you import.

CRM Field Limits

Check if your text fits a Salesforce field

Type a field, a number or an error, or paste a column. See the Salesforce or HubSpot limit, whether it fits and what to do.

Try:

Runs in your browser. Nothing is sent or stored.

Salesforce text field limits

Open a row for what fails past the limit, what to do and the source.

  • Text Area (Long)Salesforceup to 131,072 characters (default 32,768)
    Limit
    Characters per value
    Value
    Up to 131,072 characters; you set any length from 256
    Applies to
    Each value
    Default
    32,768 characters
    Past the limit
    Fails with STRING_TOO_LONG: "The specified string exceeds the maximum allowed length."
    What to do
    Raise the field's length up to 131,072. Past that, store the text as a file or note and keep a summary in the field.
    Watch out
    • Every Enter adds a line break and a return character, and both count toward the limit.
    • Standard Description fields hold 32,000 characters, not 131,072.
    • Reports show only the first 255 characters of a custom long text field; a Details Only export has it all.
    • Long text area fields can't be used in formulas.
    • Field history records only that a long text field changed, not the old and new values.
    • All long and rich text area fields on one object share 1,638,400 characters.
    • Through the API, Salesforce can count bytes rather than characters in multi-line text fields, so accented letters, emoji and HTML entities take more room than they look.
    • Not available for activities or for products on opportunities.
    Who can change it
    An admin with the Customize Application permission.

    Source: Salesforce Help: custom field types (opens in a new tab); more: Salesforce Help: custom field allocations (opens in a new tab), Salesforce Help: formula field limits (opens in a new tab), Salesforce Help: tracking field history (opens in a new tab), Salesforce knowledge article 000382141 (opens in a new tab), Salesforce Object Reference: Opportunity (opens in a new tab) ยท Checked Nov 15, 2026

  • TextSalesforceup to 255 characters
    Limit
    Characters per value
    Value
    Up to 255 characters (you set the length)
    Applies to
    Each value
    Past the limit
    Fails with STRING_TOO_LONG. Data Loader cuts the value instead, with no error, while its Allow field truncation option is on (on by default when the Bulk API is off).
    What to do
    For longer values, use a Text Area (Long) field, which holds up to 131,072 characters.
    Watch out
    • Data Loader's Allow field truncation option cuts too-long Text values without an error; it's on by default when the Bulk API is off.
    Who can change it
    An admin with the Customize Application permission.

    Source: Salesforce Help: custom field types (opens in a new tab); more: Salesforce Help: custom field attributes (opens in a new tab), Salesforce API status codes (opens in a new tab), Salesforce Data Loader Guide (PDF) (opens in a new tab), Salesforce Help: adding fields (opens in a new tab) ยท Checked Nov 15, 2026

  • Text AreaSalesforceup to 255 characters
    Limit
    Characters per value
    Value
    Up to 255 characters, shown on separate lines
    Applies to
    Each value
    Past the limit
    Fails with STRING_TOO_LONG: "The specified string exceeds the maximum allowed length."
    What to do
    For longer values, use a Text Area (Long) field, which holds up to 131,072 characters.
    Watch out
    • Through the API, Salesforce can count bytes rather than characters in multi-line text fields, so accented letters, emoji and HTML entities take more room than they look.
    Who can change it
    An admin with the Customize Application permission.

    Source: Salesforce Help: custom field types (opens in a new tab); more: Salesforce API status codes (opens in a new tab), Salesforce knowledge article 000382141 (opens in a new tab) ยท Checked Nov 15, 2026

  • Text Area (Rich)Salesforceup to 131,072 characters, HTML included
    Limit
    Characters per value, formatting included
    Value
    Up to 131,072 characters, counting every HTML tag
    Applies to
    Each value
    Default
    32,768 characters
    Past the limit
    Fails with STRING_TOO_LONG: "The specified string exceeds the maximum allowed length."
    What to do
    Count the HTML, not just the words, before you import. Strip styling you don't need, or move images out of the field.
    Watch out
    • The limit counts all formatting and HTML tags, so pasted HTML fills it faster than plain text.
    • Uploaded images can be at most 1 MB each, and only GIF, JPEG and PNG.
    • Reports show only the first 255 characters of a custom rich text field.
    • All long and rich text area fields on one object share 1,638,400 characters.
    • Not available for external objects.
    Who can change it
    An admin with the Customize Application permission.

    Source: Salesforce Help: custom field types (opens in a new tab); more: Salesforce Help: custom field allocations (opens in a new tab) ยท Checked Nov 15, 2026

  • Long and rich text areas on one objectSalesforce1,638,400 characters in total
    Limit
    Characters across all of them
    Value
    1,638,400 characters in total per object
    Applies to
    Each object (sum of every long and rich text area field's set length)
    What to do
    Lower the set length of long text fields that never get near it, so the object has room.
    Watch out
    • There is no separate cap on how many long or rich text area fields an object has; your edition's total custom field limit still applies.
    Who can change it
    An admin with the Customize Application permission.

    Source: Salesforce Help: custom field allocations (opens in a new tab); more: Salesforce API status codes (opens in a new tab) ยท Checked Nov 15, 2026

  • Text (Encrypted)Salesforceup to 175 characters
    Limit
    Characters per value
    Value
    Up to 175 characters
    Applies to
    Each value
    Past the limit
    Fails with STRING_TOO_LONG. Data Loader cuts the value instead, with no error, while its Allow field truncation option is on (on by default when the Bulk API is off).
    What to do
    With Shield Platform Encryption, use an encrypted Text field instead (up to 255 characters).
    Watch out
    • Can't be used in formulas.
    • Not available for external objects.
    • Data Loader's Allow field truncation option cuts too-long values without an error.
    Who can change it
    An admin with the Customize Application permission.

    Source: Salesforce Help: custom field types (opens in a new tab); more: Salesforce Help: formula field limits (opens in a new tab), Salesforce Data Loader Guide (PDF) (opens in a new tab) ยท Checked Nov 15, 2026

  • EmailSalesforceup to 80 characters
    Limit
    Characters per address
    Value
    Up to 80 characters, checked for a valid format
    Applies to
    Each value
    Past the limit
    Fails with STRING_TOO_LONG. Data Loader cuts the value instead, with no error, while its Allow field truncation option is on (on by default when the Bulk API is off). A badly formed address fails with INVALID_EMAIL_ADDRESS.
    What to do
    Check that each address is one address, trimmed, before import. A longer value is rarely a real address.
    Watch out
    • You can't use custom email fields for mass or list emails.
    • Emails sent to a record's custom email field aren't logged against that record.
    • Data Loader's Allow field truncation option cuts too-long values without an error.
    Who can change it
    An admin with the Customize Application permission.

    Source: Salesforce Help: custom field types (opens in a new tab); more: Salesforce API status codes (opens in a new tab), Salesforce Data Loader Guide (PDF) (opens in a new tab) ยท Checked Nov 15, 2026

  • PhoneSalesforceup to 40 characters
    Limit
    Characters per number
    Value
    Up to 40 characters
    Applies to
    Each value
    Past the limit
    Fails with STRING_TOO_LONG. Data Loader cuts the value instead, with no error, while its Allow field truncation option is on (on by default when the Bulk API is off).
    What to do
    Put one number per field. Extensions and notes that push a value past 40 belong in their own field.
    Watch out
    • Salesforce formats the value as a phone number.
    • Data Loader's Allow field truncation option cuts too-long values without an error.
    Who can change it
    An admin with the Customize Application permission.

    Source: Salesforce Help: custom field types (opens in a new tab); more: Salesforce Data Loader Guide (PDF) (opens in a new tab) ยท Checked Nov 15, 2026

Browse all 70 limits

Pick a group, or open a row for its details and source.

How we built this list

How the limits were read and checked

Every limit comes from the platform's own help, API, knowledge or plan pages, quoted and dated per row. Where two of a platform's pages disagree, both are shown and the check uses the lower number. Limits Support can raise say so, with the most they can be. Nothing you type or paste leaves your browser.

Photo of Utku Zihnioglu

By

ยท CEO & co-founder

Published Nov 16, 2026

New page: text field lengths, with a check that names the smallest field for your text.

The Salesforce long text area character limit is 131,072, with 32,768 as the default; a Text field holds 255 characters and standard Description fields 32,000. Type a length, paste the text itself, or paste the STRING_TOO_LONG error, and the tool above names the smallest field type that holds it.

How to read the result

The verdict names the smallest field type that holds your length, and the one just below it that doesn't. The rows under it show the other field types and the standard fields, such as Description, Account Name or Lead Title, your value would or wouldn't fit.

Paste the text rather than typing a length when it has line breaks or accents. Salesforce counts line breaks too, and through the API it can count bytes instead of characters, so the tool counts the way Salesforce does and tells you when the two differ.

A long text area has costs. Reports show only the start of a custom long text field, formulas can't use it, field history records that it changed but not the old and new values, and all long and rich text fields on one object share a single character budget. Pick it when the text needs it, not by default.

When text won't fit

Raise the field's length first, up to the type's maximum. If the text is longer than any field holds, keep it as a file or note and store a summary in the field. Clean values before the load too: phone numbers in E.164 stay well inside the Phone field, and plain text takes less room than pasted HTML in a rich text field.

Check Data Loader before a big load. Its Allow field truncation setting is on by default while the Bulk API is off, and it cuts too-long Text, Email, Phone and picklist values without an error, so a load can look clean and still lose the end of every long value. With the Bulk API on, the row fails instead; the Bulk API limits apply to that load as well.

An error from an API load names the field and its max length. Paste it whole and the tool reads both, counts the value without showing it, and names the field type that would hold it.

Salesforce text field limits: questions

What is the max length of a text field in Salesforce?

255 characters for a Text field and for a Text Area. For longer values, a Text Area (Long) holds up to 131,072 characters.

What is the long text area character limit in Salesforce?

131,072 characters. The default length is 32,768, and you can set any length from 256 up to the maximum.

How long can a standard description field be in Salesforce?

32,000 characters. The Object Reference gives 32,000 characters on Opportunity, Event and Quote and 32 KB on Case, Contact and Task. A standard Description isn't a custom long text area, so it doesn't reach 131,072.

Do line breaks count toward the character limit?

Yes, twice. Each line break in a long text area adds a new line and a return character, and Salesforce counts both toward the limit.

Why was my text cut off without an error?

Data Loader's Allow field truncation setting was on. It's on by default when the Bulk API is off, and it cuts too-long Text, Email, Phone and picklist values instead of failing the row.

About this article

Photo of Utku Zihnioglu

Utku Zihnioglu

CEO & co-founder

Serial entrepreneur who built infrastructure companies handling billions of requests. Now leads engineering at Oneprofile, which finds the people worth talking to, researches each one, and follows up until they reply.

Drafted with AI from our product docs and code. Utku Zihnioglu answers for what it says.

Enrich records, then write them to your CRM

Find the missing details in a table, shape each column to your field, and write it to the Salesforce or HubSpot field you pick.

Free plan: 200 credits a month, 3 integrations, no card

Enrich records, then write them to your CRM

Find the missing details in a table, shape each column to your field, and write it to the Salesforce or HubSpot field you pick.

Free plan: 200 credits a month, 3 integrations, no card