{"$schema":"https://toolsly.tools/schemas/tool-manifest-v1.json","generated":"2026-05-20T20:47:38.323Z","discovery":{"catalog":"https://toolsly.tools/tools.json","llmsTxt":"https://toolsly.tools/llms.txt","sitemap":"https://toolsly.tools/sitemap.xml"},"relatedTools":[{"slug":"url-parser","name":"URL Parser","url":"https://toolsly.tools/url-parser"},{"slug":"user-agent-parser","name":"User-Agent Parser","url":"https://toolsly.tools/user-agent-parser"},{"slug":"http-status-code","name":"HTTP Status Code Lookup","url":"https://toolsly.tools/http-status-code"},{"slug":"mime-type-lookup","name":"MIME Type Lookup","url":"https://toolsly.tools/mime-type-lookup"},{"slug":"subnet-calculator","name":"IPv4 Subnet Calculator","url":"https://toolsly.tools/subnet-calculator"},{"slug":"css-minifier","name":"CSS Minifier","url":"https://toolsly.tools/css-minifier"},{"slug":"css-beautifier","name":"CSS Beautifier","url":"https://toolsly.tools/css-beautifier"},{"slug":"html-minifier","name":"HTML Minifier","url":"https://toolsly.tools/html-minifier"}],"kind":"utility","slug":"xml-formatter","name":"XML Formatter","description":"Pretty-print XML documents — indent nested tags with 2 or 4 spaces for readable markup.","longDescription":"Paste minified or single-line XML and get a cleanly indented version with each element on its own line. Declarations, comments, CDATA blocks and attributes are preserved exactly. Pick 2 or 4 spaces of indentation. Powered by xml-js. Runs entirely in your browser — your document never leaves this page.","category":"dev","categoryName":"Dev","keywords":["xml formatter","xml formatter online","format xml online","pretty print xml","xml beautifier","xml prettifier","online xml formatter","xml indent","xml formatter free","format xml document","xml pretty","reformat xml"],"badge":"Formatter","url":"https://toolsly.tools/xml-formatter","inputs":[{"type":"text","key":"xml","label":"XML","placeholder":"<root><item id=\"1\">Hello</item></root>","multiline":true,"monospace":true},{"type":"select","key":"indent","label":"Indent","defaultValue":"2","choices":[{"value":"2","label":"2 spaces"},{"value":"4","label":"4 spaces"}]}],"outputs":[{"key":"formatted","label":"Formatted XML","multiline":true},{"key":"originalSize","label":"Original size (chars)"},{"key":"formattedSize","label":"Formatted size (chars)"}],"invocation":{"webUi":"https://toolsly.tools/xml-formatter","api":null,"notes":"Currently invoked via the web UI at `webUi`. Inputs are form fields; outputs are structured text values. A remote MCP/REST API is planned."}}