SM World Optimizer is an open-source tool designed to improve the performance of large Scrap Mechanic worlds by removing unnecessary and scattered objects that accumulate over time.
The goal of the tool is to restore the world to a usable and stable state when save files grow excessively large and performance degrades — even on high-end PCs.
Available online: https://scrapoptimizer.gdlev.dev
Allows you to optimize your worlds directly in the browser.
Runs locally on your computer.
Works on the same principle as the web version, but all operations are performed locally on your save files.
- Clone the repository to your computer.
git clone https://github.com/GDLev/SMWorldOptimizer-CLI.git - Install the necessary libraries
npm install - Run the tool in your terminal according to the instructions below.
To get started, type node src/index.js --help
Example usage:

SM World Optimizer helps keep your Scrap Mechanic worlds fast and stable, no matter how large they grow.