개발 도구

CSS 압축기

CSS의 불필요한 공백을 제거합니다.

CSS 압축기

UtilBrix 제공

Uses a CSS parser to remove formatting safely. Required spaces in expressions and string contents are preserved.

입력 내용은 브라우저에 보관됩니다. 계정이 필요하지 않습니다.

자세한 방법과 예시는 영어로 제공됩니다.

Step-by-step instructions (English)

  1. Paste plain CSS into the source field.
  2. Run the minifier to parse and serialize compact CSS.
  3. Compare the byte counts and review the output before applying it to your stylesheet.

공식 및 방법

A CSS syntax tree is parsed and serialized compactly. This removes optional formatting without naive substitutions that could damage strings, URLs, or calc expressions. File-size figures count UTF-8 bytes.

실용 예시

The rule .box { color: red; padding: 10px 20px; } becomes .box{color:red;padding:10px 20px}.

When this tool is useful

Remove formatting from a small stylesheet or check the size difference between a readable source and compact output. The parser-based approach handles CSS syntax more reliably than simply deleting every space.

Common mistakes and limitations

  • The tool is not a Sass or Less compiler. Compile those source languages to CSS first.
  • Minification does not remove every unused selector and is different from gzip or Brotli compression during delivery.

Practical questions about this tool (English)

Why are some spaces kept?

Certain spaces are required by CSS grammar or are meaningful inside values and strings. Deleting them could change the stylesheet behavior.

Will minification guarantee a faster page?

It can reduce text size, but loading performance also depends on delivery compression, caching, render-blocking styles, and the rest of the page. Compare the actual transferred output in your browser tools.

관련 도구

UtilBrix 설치

홈 화면에서 도구를 바로 여세요.

  1. 브라우저 메뉴(⋮)를 여세요.
  2. ‘앱 설치’ 또는 ‘홈 화면에 추가’를 선택하세요.
  3. 확인하여 UtilBrix을 홈 화면에 추가하세요.

옵션이 없으면 Android의 Chrome에서 페이지를 여세요.

도구 검색

↑ ↓ Navigate · Enter Open · Esc Close