Skip to content
uxTools
Developer

Code Minifier

Paste your source code, pick the language, and get a compact, production-ready minified version.

Original

--

Size of the source code you pasted in.

Minified

--

Size of the cleaned output.

Reduction

--

The overall payload reduction.

Language target

Minification rules differ by language, so start by choosing the correct one.

Source Code

Paste code, upload a file, or load a sample, then generate a tighter output.

Input lines

0

Input chars

0

Minified Output

The result stays readable enough to inspect, but compact enough to ship.

Paste code and pick a language to see the minified output.

Output lines

0

Output chars

0

Expected behavior

This tool is built for quick practical minification, not heavy parser-grade transformations.

- HTML comments and excess whitespace are removed.

- script, style, pre, and textarea blocks are intentionally preserved as much as possible.