CSS Minifier
Compress CSS to reduce file size and improve page load speed. Removes comments, whitespace, and redundant rules — 100% in your browser.
CSS Input
Minified Output
100% Private
All processing happens in your browser. Your CSS is never sent to any server — paste confidently.
Minify & Beautify
파일 크기를 줄이기 위해 프로덕션을 위해 축소하거나 압축된 CSS를 디버깅을 위해 읽을 수 있는 형식으로 다시 확장하기 위해 축소합니다.
Faster Page Load
CSS를 축소하면 렌더링 차단 시간이 단축되어 FCP (First Contentful Paint) 및 전체 페이지 속도 점수가 향상됩니다.
What is CSS Minification?
CSS minification removes all unnecessary characters from a CSS stylesheet without affecting how the page looks. This includes whitespace, line breaks, comments, and the last semicolon before a closing brace. The output is a single-line stylesheet that is functionally identical to the original but significantly smaller — typically 20–40% smaller before compression.
CSS는 렌더링 차단 리소스입니다. 브라우저는 페이지를 렌더링하기 전에 모든 CSS를 다운로드하고 구문 분석해야 합니다. 즉, 크거나 축소되지 않은 CSS 파일이 FCP (First Contentful Paint) 및 LCP (Largest Contentful Paint) 를 지연시킵니다. Google PageSpeed Insights는 축소되지 않은 CSS를 "CSS 최소화" 기회로 플래그하고 Lighthouse와 같은 도구는 성능 감사에서 렌더링 차단 스타일시트에 페널티를 부과합니다.
이 도구는 사용자 정의 축소 알고리즘을 사용하여 브라우저에서 전적으로 CSS를 처리합니다. 주석을 제거하고 공백을 축소하며 CSS 구문 문자 ({,},:,;,,) 주변의 공백을 제거하고 중괄호를 닫기 전에 후행 세미콜론을 삭제합니다. Beautify 함수는 이 프로세스를 뒤집어 가독성을 위해 규칙을 다시 삽입합니다. 타사로부터 축소된 CSS를 받아 읽거나 수정해야 할 때 유용합니다.
When to Minify CSS
다음과 같은 경우 CSS를 축소합니다.
- ✓ 모든 웹사이트를 프로덕션에 배포하기
- ✓ PageSpeed Insights에 "CSS 최소화" 기회 표시
- ✓ 워드프레스, 쇼피파이 또는 웹플로우를 위한 사용자 정의 테마 구축
- ✓ 렌더링 차단 시간을 단축하여 FCP 점수 향상
- ✓ Compressing large CSS frameworks before use
- ✓ 이메일 템플릿 스타일시트 최적화
Beautify CSS when:
- ✓ Debugging styles in a production stylesheet
- ✓ 타사 CSS 라이브러리 검사
- ✓ 브라우저 DevTools에서 축소된 CSS 읽기
- ✓ 축소되어 전달된 CSS 테마 수정
- ✓ 자동 생성된 스타일시트의 코드 검토