XMLフォーマッター
XMLドキュメントを整形して読みやすくします。SOAP、サイトマップ、RSSフィード、設定ファイルに役立ちます。
このツールの使い方
- 1
Paste your XML into the text box (one line or many — minified XML works too).
- 2
Read the indented result that appears in the output panel below; it updates automatically as you type, with no button to press.
- 3
Select the formatted text in the output panel and copy it manually into your editor or file.
XMLフォーマッターとは何ですか?
XMLはJSONよりも古くからありますが、企業向けの連携、RSS/Atomフィード、サイトマップ、設定ファイルなどで今でも広く使われています。このフォーマッターは一貫したインデントと改行を追加するため、深くネストしたXMLも読みやすくなります。特定のXSDに対する検証には、専用のXMLバリデーターが必要です。
よくある活用例
Make a one-line SOAP response from a web service readable so you can trace which element holds a fault or value.
Re-indent a minified sitemap.xml or RSS/Atom feed before scanning it for missing or duplicated entries.
Tidy a hand-edited Maven pom.xml, Android layout, or Spring config so the nesting is obvious at a glance.
Pretty-print an XML API payload pulled from logs or a network capture for a quick visual review.
Turn an exported config blob (build files, .csproj, web.xml) into an indented form before diffing it against another version.
Format a snippet for a bug report or documentation so reviewers can follow the element hierarchy.
よくある質問
XSDに対して検証できますか?▼
名前空間付きのXMLはどうなりますか?▼
関連ツール
JWTデコーダー
JSON Web Token(JWT)を瞬時にデコードします。お使いのブラウザ内で実行されるため、トークンがデバイスの外に出ることはなく、本番環境のシークレットでも安全に利用できます。
JSONフォーマッター&バリデーター
JSONをオンラインで整形、検証、minify(圧縮)します。すべてお使いのブラウザ内で動作するため、データがデバイスから外に出ることはありません。
Base64エンコーダー&デコーダー
文字列をBase64にエンコードしたり、Base64をテキストにデコードしたりします。あなたのプライバシーを尊重し、すべてブラウザ内で実行されます。
URLエンコーダー&デコーダー
テキストをURLセーフなエンコード(パーセントエンコーディング)に変換したり、その逆を行ったりします。クエリ文字列、リダイレクト、OAuthフローに役立ちます。
HTMLエンティティエンコーダー&デコーダー
特殊文字をHTMLエンティティ(&、<など)に変換したり、その逆を行ったりします。テキストを安全にHTMLへ埋め込むのに役立ちます。
CSS圧縮ツール
CSSからコメント、空白、不要な文字を取り除いて、ファイルサイズを削減します。