フォーマッター&コード
XMLフォーマッター&バリデーター
無料のオンラインXMLフォーマッター、整形ツール、およびバリデーターです。乱雑なXMLをきれいに整形したり、コンパクトな一行にまとめたり、構文エラーをチェックできます。ブラウザ内で完全に実行されます。
編集者注
Understanding · Whitespace, with intent.
この詳細な解説章は現在、英語版のみで提供されています。上の変換ツールはあなたの言語で動作しますが、長文の解説記事はまだ翻訳されていません。
よくある質問
Quick answers.
›What XML features does this support?
Attributes, nested elements, mixed content, CDATA blocks, comments, processing instructions and the XML declaration are all preserved. The formatter uses the browser's native DOMParser so anything your browser accepts is accepted here.
›What's the difference between Beautify and Minify?
Beautify adds indentation and line breaks for readability. Minify strips whitespace between tags while keeping text-node content intact — good for reducing payload size before sending XML over the wire.
›Does Validate catch every XML error?
It catches well-formedness errors (unclosed tags, mismatched attributes, stray ampersands). It does not validate against a DTD or XSD — that's a separate schema-validation step.
›Is my XML sent anywhere?
No. Everything runs in your browser — the parser, the formatter, the minifier. Your payload never leaves the page.
他の人はこちらも検索しています
関連ツール