Pretty Lush

XML Formatter

Paste XML or SVG and Prettier's XML plugin expands it one element per line with consistent indentation, which makes minified files readable again.

FAQ

How do I format XML online?
Paste your XML into the input pane and press Format (⌘/Ctrl + Enter). Pretty Lush formats it with Prettier with @prettier/plugin-xml in your browser and shows the result side by side, ready to copy, download or share.
Is my code uploaded anywhere?
No. Formatting runs entirely in your browser; the code you paste is not sent to a server. The only feature that talks to a backend is the optional encrypted share link, which encrypts the snippet in your browser first.