How to batch compress large Excel files? A method to reduce the size of multiple XLSX spreadsheets at once
When an Excel workbook contains a large number of images, redundant styles, or other content, the file size can grow quickly. This not only takes up disk space, but also affects email delivery, network transfer, and document archiving. This article explains how to use the "Excel Optimization and Compression" feature in office software to import and process multiple XLSX files at once, reducing file size by adjusting image quality, shrinking images to their displayed size, and removing unused styles. In the example, the total size of five Excel files dropped from about 12 MB to about 3 MB, making it a useful reference for users who frequently organize reports, ledgers, and illustrated workbooks.
In daily office work, Excel reports, project ledgers, product lists, and data summary sheets often contain inserted screenshots, photos, charts, or other images. As content continues to grow, a previously small XLSX workbook can expand to several MB or even tens of MB. If you also need to organize dozens of similar files at the same time, opening each Excel file one by one, checking its contents, and saving it separately is not only repetitive but also prone to omissions.
Oversized Excel files bring many practical problems: email attachments exceed size limits, uploading to business systems takes longer, sending through chat tools becomes inconvenient, shared folders take up excessive space, and opening and saving workbooks may also slow down. This article explains how to use the "Excel Optimization and Compression" feature in HeSoft Doc Batch Tool to batch reduce the size of multiple Excel files. The product is positioned as batch office file processing software, suitable for centralizing operations that would otherwise need to be repeated for each file, thereby reducing manual processing costs.
Applicable scenarios: which Excel files are suitable for batch compression
This method is mainly intended for office scenarios that require batch optimization of XLSX workbooks, especially files containing many images or redundant styles. Common use cases include:
- Batch organizing illustrated reports: workbooks contain site photos, product images, project screenshots, or scanned materials, causing the Excel file size to increase significantly.
- Compressing before sending as email attachments: the total size of multiple XLSX files exceeds the email attachment limit, and the size needs to be reduced while maintaining readability as much as possible.
- Archiving historical ledgers: there are many annual reports, inspection records, financial auxiliary tables, or project materials, and you want to reduce long-term storage usage.
- Uploading to office systems or cloud drives: large file sizes prolong upload and synchronization time, and batch compression makes transfer and sharing more convenient.
- Uniformly optimizing the same batch of materials: multiple workbooks come from the same source and have similar structures, so consistent image quality and cleanup rules can be applied centrally.
It should be noted that the files actually imported in this example are Excel files with the .xlsx extension, so the following text uses batch compression of XLSX files as the example. Workbooks in different formats may differ in content structure, so it is recommended to test with a small number of copies before formal batch processing.
Result preview: 5 Excel files reduced from about 12 MB to about 3 MB
Before processing: multiple XLSX files total about 12 MB
The image below shows the 5 Excel workbooks to be processed, named 1.xlsx, 2.xlsx, 3.xlsx, 4.xlsx, and 5.xlsx. Before processing, the total size of these files was about 12 MB. Although any single file may not seem especially large, when similar files continue to accumulate, or when they need to be transferred at once through email and business platforms, the total size can significantly affect processing efficiency.

After processing: total size reduced to about 3 MB
After completing Excel optimization and compression, the same 5 XLSX files have a total size of about 3 MB. According to the example in the screenshot, the total file size was reduced by about 9 MB, with an overall compression ratio of about 75%. This means that archiving space, upload time, and the pressure of sending attachments can all be significantly relieved.

The actual compression result is not a fixed ratio. The number of images in the workbook, their original resolution, image quality, unused styles that can be cleaned up, and the selected processing parameters all affect the final file size. If an Excel file consists mainly of text, numbers, and formulas and is already relatively compact, the compressible space is usually smaller; if the workbook contains many high-resolution images, it is easier to achieve a noticeable reduction in size.
Operation steps: batch compress and reduce the size of multiple Excel files
Step 1: Enter the "Excel Optimization and Compression" feature
Open HeSoft Doc Batch Tool and select "Excel Tools" in the function category on the left. After entering the list of Excel-related tools, find and click "Excel Optimization and Compression". The function description in the interface is to batch optimize and compress Excel files and reduce file size, which is consistent with the goal of batch compressing XLSX workbooks in this case.

The purpose of this step is to enter the processing flow specifically designed for optimizing Excel file size, rather than an ordinary archive compression feature. After entering, the software guides the operation in the order of "Select records to process — Set processing options — Set save location — Start processing", making it convenient to complete multi-file processing at once.
Step 2: Add multiple Excel files at once
After entering the "Excel Optimization and Compression" interface, you first need to add the files to be processed. The upper right of the interface provides two entry points: "Add Files" and "Import Files from Folder". You can choose according to how the files are stored:
- If you only need to process a few specified workbooks, use "Add Files" to select the target files.
- If a large number of Excel files are stored together in the same folder, use "Import Files from Folder" to reduce the need for selecting files one by one.
In the example, 1.xlsx through 5.xlsx were imported at once, for a total of 5 records. The file list displays the sequence number, name, path, extension, creation time, and modification time, making it easy to check before execution. If a file was added by mistake, you can use the delete icon in the "Actions" column of that row to remove it from the current task; if you need to reselect, you can also use "Clear" to remove the current list.

After confirming that the file names, paths, and record count are correct, click "Next" at the bottom. The expected result of this stage is that all XLSX files to be compressed have appeared in the task list, and no files that do not need processing have been mixed in.
Step 3: Set image quality and optimization options
After entering "Set Processing Options", you can see three settings related to file size: "Image Quality (1-100)", "Shrink Images to Display Size", and "Remove Unused Styles". In the screenshot, image quality is set to 70%, and the interface provides the corresponding switches.

The options can be understood and set according to the following ideas:
- Image Quality (1-100): used to control the quality level of images after optimization inside the workbook. Lower values are usually more conducive to reducing file size, but image details may also be more affected; higher values make images look closer to the original, but the compression space may be relatively limited. The 70% shown in the screenshot can serve as a reference value that balances clarity and file size, but in formal processing, it should still be determined according to the purpose of the images.
- Shrink Images to Display Size: some images are displayed very small in the worksheet, but their original resolution is very high, and the Excel file still stores large image data. Enabling this option allows optimization based on the displayed size of the image in the worksheet, making it more suitable for workbooks containing many photos, screenshots, or product images.
- Remove Unused Styles: after long-term copying, pasting, and editing by multiple people, a workbook may accumulate formatting styles that are no longer used. Cleaning up this redundant content helps further optimize the file structure and may reduce file size.
There is no single standard for parameter settings. If the workbook is used for ordinary screen viewing, internal circulation, or data archiving, you can first refer to the screenshot and set image quality to 70%, then enable relevant optimization items according to actual needs. If the file is used for printing, high-definition display, or contains small text, dimension annotations, and important evidence in images, it is recommended to appropriately increase image quality and first process one or two copies to check the results.
After completing the settings, click "Next". The expected result is that the software remembers the current compression parameters and proceeds to the save location setting stage.
Step 4: Set the save location for processed files
According to the process prompt at the top of the interface, the next stage is "Set Save Location". Specify the output location here according to the actual prompts in the software interface. It is recommended to choose an easily identifiable separate folder, such as "Excel Compressed" or "Optimization Results". This can keep the processed files separate from the original files, making it convenient to compare file sizes and check content.
To prevent original materials from becoming unrecoverable due to misoperation, when using the feature for the first time or processing important workbooks, it is not recommended to rely solely on a single original file. A safer approach is to keep a backup of the original files and output the optimized files to another location. After completing the settings, continue to the next stage.
Step 5: Start batch processing and check the results
The final stage of the process is "Start Processing". After confirming that the file list, optimization parameters, and save location are all correct, start the task according to the interface prompts. The software will perform batch optimization on the added Excel workbooks, without requiring the user to open 1.xlsx, 2.xlsx, 3.xlsx, and other files one by one and repeat the settings.
After the task ends, open the output directory for inspection. It is recommended to check at least the following: whether all files have been generated, whether the file names are easy to match, whether the total size has decreased, whether the worksheets can be opened normally, whether image clarity meets the intended use, and whether formulas, charts, and layout are as expected. In the example, the 5 files were reduced from about 12 MB to about 3 MB, showing that a relatively obvious effect was achieved for this batch of XLSX files containing optimizable content.
Why batch optimization is more efficient than processing files individually
If you are processing only one Excel file, the time spent on manual operations may not be long, but when faced with dozens or even hundreds of workbooks, repeatedly opening, adjusting, saving, and closing will take up a great deal of time, and the parameters used for each file may be inconsistent. The value of batch office processing software lies in applying the same rules to a whole batch of files after configuring them once.
For example, if you need to compress 50 project reports containing images, the traditional approach means repeating similar operations 50 times. After using the "Excel Optimization and Compression" feature, you can import the files centrally, set image quality and optimization options uniformly, and then execute the task once. This not only reduces the number of clicks but also makes it easier to maintain consistent processing standards, especially suitable for high-frequency file processing scenarios such as administration, human resources, finance, project management, e-commerce operations, and archive organization.
Frequently asked questions and precautions
1. What should the image quality be set to?
The reference value in the screenshot is 70%, but that does not mean all files must use this value. For ordinary office browsing, you can start testing from a medium quality level; if the images in the table contain small-font text, receipt content, or fine drawings, readability should be prioritized and quality should be appropriately increased. It is recommended to first select one or two representative files for trial processing, and then decide whether to apply the same parameters to all files.
2. Why is the compression effect not obvious for some Excel files?
The compression space depends on the file content. If the XLSX workbook itself consists mainly of text, numbers, and formulas, with few images and not many unused styles, the original file may already be relatively compact. In contrast, workbooks containing a large number of high-resolution photos, screenshots, or redundant styles are usually more likely to show noticeable size changes after optimization.
3. Is "Shrink Images to Display Size" suitable for all files?
This option is suitable for scenarios where images in the worksheet only need to be viewed at the current size. If you later need to enlarge the images to check details, or if the workbook is used to store high-definition materials, this option should be used with caution. Before processing, you should clarify the intended later use of the file and keep the original version.
4. Why should I back up before batch processing?
File compression may essentially involve optimization of image data and workbook structure. Even if the goal is only to reduce file size, you should keep the originals of important reports, contract attachments, financial materials, and project archives. Saving the output files to a separate directory makes it easy to roll back quickly if display differences occur.
5. Is it enough to compare only file size after processing?
You cannot look only at the size figure. In addition to confirming that the file has become smaller, you should also spot-check whether the workbook can be opened normally, and check key worksheets, images, charts, formulas, and layout. In particular, files containing images with small text need to be enlarged to check clarity. A reduction in file size is meaningful only if the content remains usable.
6. Can files for different purposes be put into the same batch task?
Files can be added centrally, but whether it is appropriate to use the same set of parameters needs to be judged according to the content. Ordinary internal reports and high-definition product catalogs have different requirements for image quality, so it is recommended to process them in batches according to purpose or clarity requirements. This can produce more reasonable compression results and reduce the risk that uniform parameters are unsuitable for some files.
Summary
When multiple Excel or XLSX workbooks become too large because of many inserted images or accumulated redundant styles, optimizing them manually one by one creates a large amount of repetitive work. With the "Excel Optimization and Compression" feature in HeSoft Doc Batch Tool , you can import multiple files at once, uniformly set image quality, shrink images to display size, and clean up unused styles as needed, then output the optimized workbooks in batches.
In the example in this article, the total size of 5 XLSX files dropped from about 12 MB to about 3 MB, demonstrating the efficiency value of batch compression in storage, sending, and uploading. In actual use, it is recommended to back up the original files first, select a small number of samples to test parameters such as 70% image quality, confirm that image clarity and table content are normal, and then perform batch processing on the remaining files. You can now start by organizing the Excel files whose size needs to be reduced, placing similar workbooks into one folder, and then following the steps above to begin optimization.