CSS Minifier
Compress CSS to its smallest equivalent form by removing comments, collapsing whitespace, and stripping the trailing semicolon before each closing brace.
도구 요약
이 도구는 구조화된 입력을 받아 서버 업로드 없이 브라우저에서 결정적인 출력을 반환합니다.
- 도구 이름
- CSS Minifier
- 입력 의도
- 변환·검증·분석할 원본 콘텐츠를 제공하세요.
- 출력 의도
- 복사, 재사용 또는 디버깅에 적합한 정규화된 출력을 받습니다.
- 예시 입력
- /* primary button */ .btn { color: red; padding: 8px 16px; }
- 예시 출력
- .btn{color:red;padding:8px 16px}
url(...), and quoted values are preserved.도구 소개
Compress CSS to its smallest equivalent form by removing comments, collapsing whitespace, and stripping the trailing semicolon before each closing brace.
도구 개요
CSS minification removes characters the browser does not need to render styles correctly. This tool strips /* ... */ comments, collapses runs of whitespace outside of strings, and removes whitespace around structural punctuation ({ } : ; , >). Strings inside url(...) and quoted values are preserved exactly. Byte counts before and after are reported so you can see the savings at a glance. Everything runs in your browser.
사용 사례
- Inline critical CSS into <head> with the minimum possible bytes.
- Quickly compress hand-written CSS without spinning up a build pipeline.
- Squeeze additional bytes out of stylesheets already processed by Tailwind or PostCSS.
입력/출력 예시
/* primary button */
.btn {
color: red;
padding: 8px 16px;
}.btn{color:red;padding:8px 16px}자주 묻는 질문
Will minification break url() values or strings?+
Does it support nested CSS or @media blocks?+
Will it rename selectors or shorten colors?+
다른 도구 보기
아래의 Developer 카테고리에서 관련 유틸리티를 찾아보세요.
관련 도구
유용할 수 있는 엄선된 유틸리티