HTML 압축기

주석과 불필요한 공백을 제거해 HTML을 압축하세요.

브라우저에서 실행됩니다. 파일은 기기 밖으로 나가지 않습니다. 확인하는 방법 보기

…

사용 방법

  1. 1
    항목 입력

    숫자를 입력하거나 필요한 옵션을 고르세요.

  2. 2
    결과 보기

    값을 바꾸면 답이 즉시 업데이트됩니다.

  3. 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.

최상의 결과를 위한 팁

결과를 믿기 전에 모든 항목을 확인하세요. 숫자 하나만 틀려도 전체 답이 바뀝니다. 급여명세서, 청구서, 증명서, 계약서에 있는 정확한 숫자를 사용하고 계산한 날짜를 기록해 두세요. 세율, 기준, 규정은 수시로 바뀌므로 세금, 수수료, 법률 관련 사항은 결과를 추정치로 보고 이 페이지에 명시된 공식 출처와 대조하세요. 시나리오는 얼마든지 시도할 수 있습니다. 아무것도 저장되거나 전송되지 않으며 페이지를 새로 고치면 입력이 지워집니다.

한눈에 보기

이 계산기를 내 사이트에 삽입

이 코드를 복사해 내 페이지에 계산기를 표시하세요. shobfree.com 링크가 포함됩니다.

자주 묻는 질문

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.

완전 무료요금 없음, 가입 없음
파일은 비공개로 유지됩니다모든 작업이 브라우저 안에서 이루어집니다
내 언어로 쉽게여러 언어로 제공