HTML 압축기
주석과 불필요한 공백을 제거해 HTML을 압축하세요.
브라우저에서 실행됩니다. 파일은 기기 밖으로 나가지 않습니다. 확인하는 방법 보기
…
사용 방법
- 1항목 입력
숫자를 입력하거나 필요한 옵션을 고르세요.
- 2결과 보기
값을 바꾸면 답이 즉시 업데이트됩니다.
- 3활용하기
결과를 복사하거나 적어 두세요. 아무것도 어디로도 전송되지 않습니다.
About this tool
Paste your HTML to remove comments and collapse extra spaces and line breaks. Content inside pre, textarea, script and style blocks is kept as it is. Tick the aggressive option to also remove the spaces between tags, which makes the file smaller but can close the gap between inline words.
When to use it
Compress HTML by removing comments and extra spaces.
Tips
Check pre blocks, which keep spacing.
Privacy
Everything runs in your browser, so your data is not uploaded or stored.
Notes
Minifying removes comments and extra spaces, but not required spaces between inline elements. Keep a readable source and publish the minified copy.
최상의 결과를 위한 팁
결과를 믿기 전에 모든 항목을 확인하세요. 숫자 하나만 틀려도 전체 답이 바뀝니다. 급여명세서, 청구서, 증명서, 계약서에 있는 정확한 숫자를 사용하고 계산한 날짜를 기록해 두세요. 세율, 기준, 규정은 수시로 바뀌므로 세금, 수수료, 법률 관련 사항은 결과를 추정치로 보고 이 페이지에 명시된 공식 출처와 대조하세요. 시나리오는 얼마든지 시도할 수 있습니다. 아무것도 저장되거나 전송되지 않으며 페이지를 새로 고치면 입력이 지워집니다.
한눈에 보기
- 카테고리: 문서
- 브라우저에서 실행되며 가입도 업로드도 필요 없습니다.
- 입력한 정보는 기기에 머뭅니다.
- 여러 언어로 제공됩니다.
- 콘텐츠 최종 검토일:
자주 묻는 질문
Is it safe to use?
Yes with the default settings. Check the page after using the aggressive option, because spaces between inline tags can matter.
Are conditional comments kept?
Yes. Conditional comments for old versions of Internet Explorer are left alone.
Are pre blocks kept?
Yes.
How much does it save?
Often 10 to 30 percent.
Does it minify inline CSS and JS?
This tool handles the HTML only. Use the CSS and JS minifiers for those.