How to Disable AutoFit and AutoWrap in Excel for the Web
Question details
The user wants to permanently disable the automatic adjusting of column widths (AutoFit) and automatic text wrapping (AutoWrap) in Excel for the Web.

- Product
- Excel for the Web
- Device & OS
- not provided
- Scenario
- Pasting links or entering data triggers an automatic formatting feature that alters column widths and wraps text to the next line.
- Observed behavior
- Excel for the Web forces AutoFit and AutoWrap features automatically. Turning them off only applies to the current workbook, and the behavior often returns because there is no permanent, workbook-independent switch.
Note that Excel for the Web has limited global settings compared to the desktop version, meaning formatting changes like disabling AutoWrap must be applied on a per-workbook basis.
Turn Off Wrap Text for the Current Workbook
Since Excel for the Web lacks a global disable switch for AutoWrap, you need to manually turn off the Wrap Text feature for affected cells or columns.
While you cannot disable this feature globally for all future workbooks in the web version, you can correct the behavior in your active worksheet. When you paste long text or links and Excel automatically wraps it, you must override it manually.
Click and drag to select the cells, rows, or columns where text is automatically wrapping.
Go to the 'Home' tab on the top ribbon and find the 'Alignment' group.
Click the 'Wrap Text' button to disable it. The text will no longer wrap to the next line.
Hover between the column headers at the top of the sheet and drag the boundary to restore your desired column width manually.

Use Paste as Values to Prevent Auto-Formatting
Pasting content normally often triggers the AutoFit and AutoWrap behaviors. Pasting as plain text prevents Excel for the Web from applying automatic formatting.
Open in Desktop App to Access Advanced Options
If you have the desktop version of Excel installed, you can open the web workbook in the desktop app where you have more control over automatic formatting.
Use WPS Spreadsheet for Better Control Over Formatting
Tired of web-based spreadsheets forcing automatic formatting? WPS Office offers a full-featured desktop spreadsheet application completely free. You can easily control AutoFit, Wrap Text, and other cell formatting options permanently without being overridden by web updates. It is highly compatible with Microsoft Excel formats.
- 1. Download and Install: Download WPS Office for free from the official website and install it on your computer.
- 2. Open your Excel files: Launch WPS Spreadsheet and open your existing .xlsx or .xls files seamlessly.
- 3. Customize formatting globally: Use the desktop settings to control AutoFit and AutoWrap behaviors without worrying about web-based feature updates resetting your preferences.

Frequently Asked Questions
Why does Excel for the Web keep turning Wrap Text back on?
Excel for the Web is continually updated by Microsoft 365. Sometimes these feature updates force default behaviors like AutoWrap when pasting links or long text. Because the web version lacks a permanent, workbook-independent switch, the behavior can return when creating new files or applying updates.
Can I disable AutoFit permanently in Excel online?
Currently, Excel for the Web does not offer a global setting to permanently disable AutoFit for all new and existing workbooks. Adjustments must be made on a per-workbook basis.
How do I stop pasted links from expanding the column width?
To prevent this in the web version, paste the link as 'Values' (using Ctrl+Shift+V) or right-click and choose 'Paste Options > Values'. This strips the formatting and often prevents the automatic AutoFit and AutoWrap trigger.




