Expand compact markup
Format SVG/XML so elements, attributes, and paths are easier to inspect.
svg formatter
Make minified SVG readable before code review, security checks, or component work.
svg formatter tool
Paste SVG and make the XML readable without changing the rendered output.
Ready
Format SVG/XML so elements, attributes, and paths are easier to inspect.
Check that formatting did not change the rendered SVG.
Copy or download the formatted SVG for docs, code review, or handoff.
A one-line SVG becomes easier to review after formatting.
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 160 96" role="img"><title>Check badge</title><rect width="160" height="96" rx="14" fill="#0e7c66"/><path d="M39 55l18 18 64-64" fill="none" stroke="white" stroke-width="10" stroke-linecap="round" stroke-linejoin="round"/></svg>
Formatting only changes whitespace and indentation. Preview the result to verify rendering.
Yes. Icons, logos, and copied snippets can all be formatted for review.