JR Trove
Free · Browser-only · No signup

XML Formatter & Minifier

Pretty-print or minify any well-formed XML — sitemaps, RSS feeds, SOAP envelopes, SVG, Maven pom.xml, Android manifests. Configurable indent (2 / 4 spaces or tab).

Leaderboard 728×90 • Ad slot
Formatted
<?xml version="1.0" encoding="UTF-8"?>
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
  <url>
    <loc>https://example.com/
    </loc>
    <lastmod>2026-05-18
    </lastmod>
    <changefreq>daily
    </changefreq>
    <priority>1.0
    </priority>
  </url>
  <url>
    <loc>https://example.com/about
    </loc>
    <lastmod>2026-05-18
    </lastmod>
    <changefreq>monthly
    </changefreq>
    <priority>0.8
    </priority>
  </url>
</urlset>
Pretty-prints any well-formed XML (sitemaps, RSS feeds, SOAP envelopes, SVG, Maven pom.xml, Android manifests). Minify strips whitespace between tags to reduce file size for production.
Medium Rectangle 336×280 • Ad slot
Inside the tool

What powers the XML Formatter & Minifier

Pretty-print any well-formed XML

Minify to single-line for production

2 / 4 space or tab indent options

Preserves XML comments, processing instructions, CDATA

Inline text-content optimization

Instant

Built differently

Why the XML Formatter & Minifier is different

Browser-native

The XML Formatter & Minifier runs entirely in your browser. Input is processed locally — never uploaded, never logged, never cached anywhere outside your device.

No artificial limits

No daily quotas, no character ceilings, no "upgrade for more" walls. Every feature is the complete feature — the same on the first use as the thousandth.

Production-grade quality

Built to the same engineering bar as paid SaaS tools — accurate algorithms, audited logic, responsive design and accessibility-tested interactions.

Use Contexts

Common use contexts

  • Reading auto-generated sitemap.xml or RSS feed output
  • Debugging SOAP request / response payloads
  • Inspecting SVG source after export from a design tool
  • Reviewing Android AndroidManifest.xml
Privacy by design

Private and secure

Zero upload

All processing happens in your browser. Input is never transmitted, logged or cached.

Works offline

Once the page loads, the tool runs without an internet connection. No network calls happen during use.

No tracking

No accounts, no cookies for tool state. Only aggregate analytics count visits at the page level.

Leaderboard 728×90 • Ad slot
FAQ

XML Formatter & Minifier questions

No — only formats. For validation against a DTD / XSD schema, use a dedicated XML validator. Malformed XML (missing closing tags, unescaped angle brackets) may produce unexpected output.