How to use this office tool
- Upload a spreadsheet and choose the target sheet.
- Select outer trimming, repeated-space cleanup, or all-sheet trimming.
- Review changed cells in the preview and download the cleaned XLSX copy.
Remove unwanted leading and trailing spaces from spreadsheet text cells and download a cleaned workbook with a change count.
Remove unwanted leading and trailing spaces from spreadsheet text cells and download a cleaned workbook with a change count.
Formula cells are left as formulas. Intentional spacing inside codes or fixed-width text should be reviewed before using collapse mode.
Supported inputs and outputs for Trim Spaces in Excel Cells.
| Format | Support |
|---|---|
| XLSX/XLS | Reads text cells and writes an XLSX copy. |
| CSV/TSV | Reads one table and writes XLSX. |
| Limits | Advanced Excel objects and formatting are not fully preserved. |
Outer mode does not. Collapse mode reduces repeated internal whitespace to a single space.
No. The cleanup targets parsed string cells only.
Formula expressions are preserved rather than treated as ordinary text.
Yes. Choose the all-sheets option to trim outer whitespace across the workbook.
No. A new XLSX file is created for download.
| Privacy | Local browser processing |
|---|---|
| Preview | Limited to 5–100 rows |
| Output | New file; source remains unchanged |