ClearCode
runs entirely in your browser
Comment remover

Strip comments.
Keep the code.

Drop in a single file or a whole .zip. ClearCode removes comments from any source language — HTML, JS, CSS, Python, Java, C and more — and hands back exactly what you uploaded, cleaned.

Upload
Drop a file or .zip here
or click to browse — any language, any file, up to a full project archive
Supported syntax
HTML / XML JS / TS / JSX CSS / SCSS Python Java / Kotlin C / C++ / C# PHP Go / Rust Ruby Shell / Bash YAML JSON / JSONC SQL Swift Lua