Skip to content
Aback Tools Logo

Code Minifiers

Minify code by removing whitespace, comments, and unnecessary characters to reduce file size. All processing happens in your browser — fast, secure, and free.

Minifiers

14 tools

Lua Minifier
Minify Lua code by removing comments, whitespace, and blank lines - Free online Lua minifier
JavaScript Minifier
Minify JavaScript source files by removing whitespace, comments, and blank lines — Free online JavaScript minifier
HTML Compressor
Compress HTML by removing comments, whitespace, optional closing tags, and redundant attributes — shows exact byte savings. Free online HTML compressor.
Python Compressor
Strip comments, docstrings, blank lines, and trailing whitespace from Python scripts while preserving indentation — ideal for embedded and edge deployments. Free online Python compressor.
Java Compressor
Remove comments, Javadoc, blank lines, and trailing whitespace from Java source files — useful for reducing code shared via API or config. Free online Java compressor.
Shell Script Compressor
Remove comments and excess whitespace from bash/sh/zsh scripts — preserves shebang, heredocs, and string literals. Free online shell script compressor.
Protobuf Compressor
Strip comments and blank lines from .proto schema files — useful for schema registry storage and gRPC distribution. Free online Protobuf compressor.
ENV File Compressor
Strip comments and blank lines from .env files — useful for containerized deployment config slimming. Preserves all KEY=VALUE assignments and quoted values. Free online ENV file compressor.
JavaScript Compressor
Compress JavaScript by removing comments, collapsing whitespace, and eliminating dead code — shows exact size savings. Free online JavaScript compressor, no signup required.
JSON Compressor with GZIP Size
Minify JSON and show both minified size and GZIP wire size — shows true wire-transfer savings for API payload planning. Free online JSON compressor with GZIP size.
SQL Compressor
Remove whitespace, comments, and redundant tokens from SQL queries — shows size savings and keeps the query executable. Free online SQL compressor, no signup required.
Ruby Compressor
Remove comments and blank lines from Ruby scripts — shows size savings and preserves heredoc and string content. Free online Ruby compressor, no signup required.
Lua Compressor
Minify Lua scripts by removing comments, whitespace, and blank lines — shows size savings and preserves strings. Free online Lua compressor, no signup required.
INI Compressor
Strip comments and blank lines from INI/CFG config files — shows byte savings. Supports ; and # comments. Free online INI compressor, no signup required.