View, optimize, and format SVG files entirely in your browser. Optimize with SVGO presets, explore the element tree, and export as PNG. No upload needed.
A browser-based toolkit for inspecting, optimizing, and reformatting SVG files. Paste SVG code, upload a file, or load from a URL. All processing runs locally, nothing leaves your browser.
The View tab renders your SVG in a live preview with pan and zoom. Toggle to the tree explorer to see the full DOM hierarchy: every element, attribute, and child node. Hover over tree nodes to highlight the corresponding element in the preview. Switch to code view for syntax-highlighted source with line numbers.
The stats panel shows dimensions, file size, element count, path count, unique colors, and any external resource references. For quick exports, download as PNG at 2x resolution or grab the raw SVG. Need JPG or WebP? The “More formats” link sends you to the Image Converter.
Pick a preset and hit Optimize. SVGO runs entirely in your browser with four modes:
The before/after comparison shows original size, optimized size, percentage saved, and how many elements were removed.
Five formatting operations, each one click:
<style> rules to inline style attributes on each element. Useful for email HTML and embedding SVGs in HTML documents.<metadata> elements and data-* attributes.Design tools like Figma, Sketch, and Illustrator embed metadata that adds 10-40% overhead. Run your exports through the Conservative or Moderate optimizer before committing to a repo.
Email clients often strip <style> blocks from inline SVGs. Use the Inline CSS formatter to move all styles to inline attributes, then paste the result into your email template.
Downloaded an SVG from a client or open source project? Use the View tab’s tree explorer and stats panel to understand its structure, find hidden metadata, or locate specific elements by hovering over the tree.
Nothing you paste leaves this tab. Every tool runs entirely in your browser — no upload, no server, no account.