Minify your Shopify CSS and JavaScript to load pages faster

Automatically remove unnecessary code without affecting its functionality to improve site performance. Pick a theme, choose CSS, JavaScript, or both, select the assets to minify, and restore any asset you need.

Built for Shopify badge

Built for Shopify

5.0 star rating from (2,500+) reviews Free to install
TinySEO CSS/JS minification screen with theme, file type, and asset selects, an Activate button, and a table of three themes, two of them with their CSS and JS files minified.
CSS/JS minification completed58 CSS and 24 JS files in Dawn
Minify CSS/JS theme resourcesActive
How it works

Pick what to minify and reduce your theme file size

Back up your theme, pick what to minify, and click Activate.

Open TinySEO and go to Improve speed > Minify CSS/JS theme resources.

Go to the Online store section, click the three dots next to your theme, and click Duplicate. Then click Unlock and confirm with Yes, unlock.

Pick your theme, choose CSS, JavaScript, or both, select your assets, and then click Activate.

TinySEO Improve speed screen listing Optimize images, Set up asset preloading, Manage third-party scripts, Set up lazy loading, Minify CSS/JS theme resources, each with its own button.
What you get

Remove unnecessary code and restore any file

Choose what to minify, see how many files changed on each theme, and restore any asset in one click.

Reduce code size without changing how it works

TinySEO deletes unnecessary characters such as whitespace, semicolons, and comments from your CSS and JavaScript, so these files download faster. You can safely navigate away while it runs and come back later.

Pick any theme

Minify your active theme or any other theme in your store.

Choose CSS, JavaScript, or both

Minify CSS only, JavaScript only, or both at once.

Choose your assets

Minify all of your assets or pick one specific file.

Restore any asset

Click Restore next to any file that causes an issue with your theme.

Track every theme

See how many files were minified on each theme and the date of the last update.

Find any file

Filter minified assets by theme or search for a file by name.

What is code minification?

Code minification is the process of deleting unnecessary characters from CSS or JavaScript source code without changing how it works. It makes the code more compact by removing such characters as whitespace, semicolons, and comments.

Why do I need this feature?

Code minification helps reduce the file size, meaning the scripts can be downloaded faster. This results in faster page load times and helps improve the overall user experience.

Frequently asked questions

No. Code minification deletes unnecessary characters from your CSS and JavaScript without changing how the code works. If an asset ever causes an issue with your theme, you can restore it under Minified assets.

Yes, you need to create a theme backup before minifying files to prevent issues. In Shopify admin, go to the Online store section, click the three dots next to your theme, and click Duplicate.

Yes, to restore files minified by TinySEO, click Restore next to any file under Minified assets. The fastest way to restore all minifications is to publish a theme backup.

Yes, TinySEO lets you choose which files to minify. Pick a theme, choose CSS only, JavaScript only, or both, and then minify all assets or one specific file.

It may take up to a few minutes. You can safely navigate away and come back later.