---
title: "CSS Minifier: Strip comments and whitespace from stylesheets"
canonical: "https://openvibe.tools/tool/cssminify"
updated: null
---

# CSS Minifier: Strip comments and whitespace from stylesheets

HTML: [CSS Minifier: Strip comments and whitespace from stylesheets](https://openvibe.tools/tool/cssminify)

# CSS Minifier

Paste a stylesheet and get a compact version for production: comments and whitespace removed, trailing semicolons dropped, zero units and long hex colours shortened. Strings and url() values are left untouched.

- **Limits** No daily limit on the page
- **Where it runs** Runs in your browser; nothing is uploaded.
- **Cost** Free, with the limits above. No account needed.

 [Open CSS Minifier](https://css-minifier.openvibe.tools/) 

## Where to find it

Every address below opens the same tool. The first address is the one to bookmark and share.

- [cssminify.openvibe.tools](https://cssminify.openvibe.tools/)Easiest to remember
- [css-minifier.openvibe.tools](https://css-minifier.openvibe.tools/)Search-friendly address
- [minifycss.openvibe.tools](https://minifycss.openvibe.tools/)Redirects here
- [cssmin.openvibe.tools](https://cssmin.openvibe.tools/)Redirects here
- [css-compressor.openvibe.tools](https://css-compressor.openvibe.tools/)Redirects here

## People also call this

**What it's for:** Strip comments and whitespace from stylesheets. Paste a stylesheet and get a compact version for production: comments and whitespace removed, trailing semicolons dropped, zero units and long hex colours shortened.

- css minifier
- minify css
- css compressor online
- compress css
- minify stylesheet

## Use it from code

- `POST https://openvibe.tools/api/v1/tools/cssminify/run`
- No account needed: anonymous calls run on the lowest quota tier; a token with `tools.tool.run` raises it.
- It answers with the result.

~~~~
curl -X POST https://openvibe.tools/api/v1/tools/cssminify/run \
  -H 'Content-Type: application/json' \
  -d '{"input":{"text":".a { color: #aabbcc; margin: 0px; }"}}'
~~~~

Inputs: [JSON Schema](/api/v1/tools/cssminify/schema) · [OpenAPI](/api/v1/openapi.json) · from JavaScript: `tools.run("cssminify", …)` in [openvibe-sdk](https://github.com/OpenVibers/OpenVibe.SDK) · [How the API works](/developers)

## Similar tools

[All Developer Tools](/developer-tools)

[ **YAML to JSON Converter** Convert YAML to JSON and JSON to YAML online, and validate *yaml.openvibe.tools*](https://yaml.openvibe.tools/) [ **XML Formatter** Format, validate and minify XML online *xml.openvibe.tools*](https://xml.openvibe.tools/) [ **CSV to JSON Converter** Convert CSV to JSON and view CSV as a sortable table online *csv.openvibe.tools*](https://csv.openvibe.tools/) [ **SQL Formatter** Format and beautify SQL queries online *sql.openvibe.tools*](https://sql.openvibe.tools/) [ **HTML Formatter** Format, minify and escape HTML online *html.openvibe.tools*](https://html.openvibe.tools/) [ **Base64 Encoder & Decoder** Encode text to Base64 and decode Base64 back to text online *base64.openvibe.tools*](https://base64.openvibe.tools/)

## The rest of OpenVibe

5 links

One account works on every site. Open source and community-run.

[**OpenVibe.Live** Live streams, clips and chat](https://openvibe.live/) [**OpenVibe.Community** Pastes, posts and people](https://openvibe.community/) [**OpenVibe.Games** Browser games](https://openvibe.games/) [**OpenVibe.Media** VODs, clips and files](https://openvibe.media/) [**OpenVibe.Network** One account for every site](https://openvibe.network/)
