CSS Gradient Generator
Build linear, radial or conic CSS gradients, or gradient text, and copy the CSS or HTML.
Minify CSS in your browser while preserving strings, URLs, comments and important spacing.
A CSS minifier compresses stylesheets by removing comments and unnecessary whitespace.
This tool runs in your browser. Inputs, files and generated values stay on this device. Favorites and recently used tools, if you use them, store only tool names in local storage — never passwords, documents or QR contents. See the privacy policy.
Drop CSS comments and spare spaces between tokens. Front-end work that ships a stylesheet can use it for a shorter file before a build step. Selectors are not merged, spaces inside strings and calc() stay, and vendor prefixes are not added.
/* note */ .hero { color: #2563eb; } becomes .hero{color:#2563eb;}
Spaces inside quoted strings and url() values are kept. calc() and custom properties keep the spaces they need.
The CSS minifier walks the source as tokens rather than applying a single naive regex. It removes comments, then drops whitespace that is not required between identifiers, braces and operators. Strings, data URLs and escaped characters stay intact. It is conservative: it will not perform advanced optimizations such as merging selectors.
Comments are deleted and spare spaces between tokens are dropped. Spaces inside strings, url() values, and calc() stay. Selectors are not merged, and vendor prefixes are not added. A stylesheet longer than 400,000 characters is refused.
See the disclaimer for what these tools do not cover.
Build linear, radial or conic CSS gradients, or gradient text, and copy the CSS or HTML.
Tune offset, blur, spread and color, then copy a CSS box-shadow value.
Minify HTML in your browser with a conservative pass that keeps pre, textarea, script and style content.
Pretty-print JSON, minify it, or check that it parses in the page. Comments, trailing commas, and single quotes fail. It does not turn the result into CSV.
Encode text to Base64 or decode it back, using UTF-8. Anyone can decode the result, so it is not a way to hide a password. A file drop is not accepted.
Generate one or many UUID v4 values in your browser using a secure random source.