XML 포매터
XML 정리
브라우저에서 실행 · 업로드 없음
이 도구와 페이지의 안내는 현재 영어로만 제공됩니다. 동작은 똑같으며, 모든 처리는 브라우저에서 이루어집니다.
브라우저가 너무 오래되어 이 도구를 실행할 수 없습니다. 브라우저를 업데이트하거나 최신 Chrome, Edge, Firefox, Safari를 사용해 주세요.
- 아무것도 기기 밖으로 나가지 않음
- 서버의 파일 크기 제한 없음
- 가입 불필요, 워터마크 없음
- 무료
How to format XML
- Paste your XML, open a file, or try the example.
- Choose readable or small, and the indentation.
- Copy or download the result. If the XML has a mistake, the exact line and column are shown.
What is checked
- Every tag is closed, in the right order, with one root element.
- Attribute values are quoted and not repeated, and contain no "<".
- Every "&" starts a valid entity such as & or ©.
- Comments, CDATA sections and the XML declaration are well-formed and in the right place.
Your content stays exactly the same
Only the whitespace between tags changes. Text inside an element is never touched, and elements that mix text and tags (like <p>Some <b>bold</b> text</p>) are kept exactly as written, because extra spaces there would change the content. This checks that XML is well-formed; it does not validate against a schema (XSD or DTD).
자주 묻는 질문
Can I format SVG files?
Yes. SVG is XML, so you can tidy it up here. For making SVGs smaller, the SVG Optimizer does more.
Is my XML uploaded?
No. Everything happens in your browser, and the page is blocked from uploading anything.