HTML 포매터
인라인 요소와 빈 요소를 올바르게 유지하면서 일관된 들여쓰기로 HTML을 정리합니다.
입력
결과
사용 방법
How to format HTML
Paste HTML and press Format. The tool indents nested tags and preserves inline text flow.
- Paste HTML into the input editor.
- Press Format.
- Copy the beautified markup.
자주 묻는 질문
Does it preserve my content?
Yes. Reformatting only changes whitespace and never alters tags or text values.
Are void elements handled?
Void elements such as br and img are kept self contained and not indented as containers.
관련 도구
HTML 압축기
공백을 합치고 불필요한 문자를 제거하여 HTML 크기를 줄입니다.
HTML 미리보기
이 사이트 내에서 스크립트를 실행하지 않고 샌드박스 미리보기 프레임에 HTML을 렌더링합니다.
CSS 포매터
한 줄에 하나의 속성과 일관된 들여쓰기로 CSS를 정리합니다.
JavaScript 포매터
적절한 들여쓰기, 간격, 줄바꿈으로 JavaScript를 정리합니다.
HTML 이스케이프 / 해제
안전한 HTML 출력을 위해 텍스트를 이스케이프하거나 HTML 엔티티를 읽을 수 있는 문자로 디코딩합니다.
CSS 압축기
주석과 불필요한 공백을 제거하여 CSS를 압축합니다.