CSS Gradient Generator
Build linear and radial gradients with multiple color stops and copy the CSS.
Minify text, JSON, CSS, HTML and JavaScript, with automatic language detection.
Processed locally in your browser. Max 1 MB.
Nothing to minify yet
Paste something above, or try the sample.
It removes characters that aren't needed — whitespace, line breaks and comments — and, for JavaScript and CSS, rewrites code into a shorter equivalent. The result behaves the same but loads faster.
JavaScript is minified with Terser and CSS with CSSO, the same tools used by many build pipelines. JSON is re-serialized without whitespace, and HTML uses a conservative whitespace and comment remover.
It keeps the content of <pre> and <textarea> intact, preserves conditional comments and only removes whitespace where it cannot affect layout. Always check the result for pages that rely on CSS white-space rules.
No. Minification happens entirely in your browser.
Build linear and radial gradients with multiple color stops and copy the CSS.
Design layered box shadows with offset, blur, spread, opacity and inset controls.
Compress and convert PNG, JPG, WebP, AVIF, GIF and SVG images in your browser.
Compare two texts and see added, removed and changed lines with word-level highlights.
Extract text from screenshots, photos and scanned images with OCR, right in your browser.