Wrap and Limit Multiple Lines of Text in SharePoint Lists
Question details
The user wants a SharePoint multiple-lines-of-text column to wrap and display within a limited height.

- Product
- Microsoft SharePoint Lists
- Device & OS
- not provided
- Scenario
- A list contains a multiple-lines-of-text column, and the user wants to control how much text appears in each row.
- Observed behavior
- Plain text, rich text, or enhanced rich text does not wrap or stay within the desired display height.
Check whether the list uses the classic or modern experience and whether the column contains plain text or rich text. A Return to classic SharePoint link opens the classic experience; Exit classic experience returns to modern SharePoint.
Use Column Formatting in a Modern SharePoint List
Use JSON column formatting to wrap and limit the displayed height of a plain-text column in a modern list.
In the modern list, select the column header, then choose Column settings > Format this column.
Select Advanced mode and enter: {"$schema":"https://developer.microsoft.com/json-schemas/sp/v2/column-formatting.schema.json","elmType":"div","txtContent":"@currentField","style":{"white-space":"normal","overflow":"hidden","max-height":"4.5em","word-break":"break-word"}}
Select Preview to check the wrapping and height, adjust max-height if needed, and select Save.
Open the list item to read or edit the complete value; the formatting only changes its display in the list.

Apply Approved CSS in a Classic SharePoint List
Use site-approved custom styling when the list is in the classic experience and custom script is permitted.
Show Text in a Custom Power Apps Form
Use a customized form when users need a controlled text display while viewing an item, rather than directly in the list row.
Work With Office Documents in WPS Office
WPS Office is a free, lightweight alternative for working with documents and spreadsheets. Its familiar interface and Microsoft Office format compatibility make it easy to move existing files, though it does not change SharePoint list column formatting.

Frequently Asked Questions
How can I tell whether my SharePoint list is classic or modern?
Check the list interface for experience-switching links. Return to classic SharePoint opens classic mode, while Exit classic experience returns to modern mode. The available links can vary by site.
Does column formatting delete text that exceeds the height limit?
No. The JSON formatting changes the list display, not the stored value. Open the item to read the complete text.
Can I use a Script Editor web part in a modern SharePoint list?
Modern SharePoint generally does not support the classic Script Editor approach. Use Column settings > Format this column or an approved modern solution instead.
Will a Power Apps form change how text appears in list rows?
No. A customized Power Apps form controls the item form display. To change the list-row display, use a supported list or column formatting option.
What if my multiple-lines-of-text column contains rich text?
Column formatting has limitations for rich-text fields. Check the column's settings and test the format; if it is unsupported, consider an approved Power Apps form or another modern solution.




