📰 XML 格式化XML Formatter & Validator
在线 XML 格式化、压缩和语法校验,自动缩进美化。Format, minify and validate XML with automatic indentation.
使用说明与常见问题How-to & FAQ
「XML 格式化」是什么?What is the XML Formatter & Validator tool?
在线 XML 格式化、压缩和语法校验,自动缩进美化。Format, minify and validate XML with automatic indentation.
如何使用「XML 格式化」?How do I use the XML Formatter & Validator tool?
在「XML 格式化」中,把内容粘贴或输入到上方输入框,结果会实时显示在下方,点击「复制结果」即可复制。例如输入「<?xml version="1.0"?><a x="1"><b>t</b><c/></a>」,得到「<?xml version="1.0"?> ⏎ <a x="1"> ⏎ <b>t</b> ⏎ <c/> ⏎ </a>」。In the XML Formatter & Validator: Paste or type into the input box; the result appears below instantly — click "Copy result" to copy it. Example: "<?xml version="1.0"?><a x="1"><b>t</b><c/></a>" → "<?xml version="1.0"?> ⏎ <a x="1"> ⏎ <b>t</b> ⏎ <c/> ⏎ </a>".
代码或数据会被上传吗?Is my code or data uploaded?
不会。「XML 格式化」完全用 JavaScript 在本地运行,适合处理含有密钥、内部接口等敏感内容的数据。No. The XML Formatter & Validator runs entirely in local JavaScript, so it is safe for data containing keys or internal endpoints.
「XML 格式化」免费吗?需要注册吗?Is the XML Formatter & Validator free? Do I need an account?
「XML 格式化」完全免费,无需注册或安装,打开网页即可使用,手机和电脑都能用;输入的内容只在你的浏览器本地处理。The XML Formatter & Validator is completely free with no sign-up or install and works on phones and desktops; what you enter is processed only in your browser.