🧹

SQF / HPP Cleaner

Client-side only — your files never leave your machine

Web version of SQF_Comment_Remover ↗ — updated & improved

GitHub ↗
🔒
100% Private & Local — All processing happens entirely in your browser. Your files are never uploaded to any server. No accounts, no tracking, no cloud. Open DevTools → Network tab to verify for yourself.

Why clean your mission files?

Comments and whitespace are invaluable during development — they help you navigate your own code, leave notes for yourself, and make working with others easier. But once your mission is live, that context becomes a liability on two fronts.

First, every byte of your mission folder is downloaded fresh by every client on each server connect. Bloated files mean slower loads and a worse first impression. Second, and more importantly, well-commented code is essentially a guided tour of your work — it tells a would-be thief exactly what each script does, how your custom systems are wired together, and where to find the interesting parts. Stripping that commentary out makes your mission significantly harder to read, copy, and redistribute without permission.

💡

Keep comments in your dev environment

Writing comments is a good habit — they help you understand your own code weeks later, make onboarding collaborators easier, and are invaluable when tracking down bugs. Don't stop writing them.

The right workflow is: develop with comments → clean before deploying. Use this tool as the final step when pushing your mission files from your local dev folder to your hosted production server.

1 Select Folder

Select your mission folder (e.g. DayZ_Epoch_11.Chernarus). All .sqf, .hpp, and .ext files will be detected automatically.

No mission handy? Load the example DayZ_Epoch_11.Chernarus mission to try it out.

2 Cleaning Options

Choose what to strip. Hover each option for details.

3 Clean & Download