PrivTab

HTML 포매터

HTML 정리

브라우저에서 실행 · 업로드 없음

이 도구와 페이지의 안내는 현재 영어로만 제공됩니다. 동작은 똑같으며, 모든 처리는 브라우저에서 이루어집니다.

  • 아무것도 기기 밖으로 나가지 않음
  • 서버의 파일 크기 제한 없음
  • 가입 불필요, 워터마크 없음
  • 무료

How to format HTML

  1. Paste your HTML, open a file, or try the example.
  2. Pick the indentation and where long lines wrap.
  3. Copy or download the tidy HTML.

Good to know

  • Only spacing and line breaks change. The content inside <pre> and <textarea> is kept exactly.
  • Inline <script> and <style> blocks are formatted too.
  • Formatting doesn't check for mistakes such as unclosed tags; the result follows the structure the code has.
  • Formatting is done by js-beautify, a widely used open-source formatter.

자주 묻는 질문

Will formatting change how my page looks?

Usually not. In rare cases, whitespace between inline elements (such as two links side by side) can add or remove a small gap.

Is my code uploaded?

No. Everything happens in your browser, and the page is blocked from uploading anything.