Dimensions versus viewBox
Width and height set output pixels; viewBox defines the artwork coordinate range. Changing its origin changes the visible region. This does not automatically reposition artwork or detect empty margins.
SVG finisher
Web assets
Adjust dimensions and viewBox; save a sanitized SVG or PNG.
Files are processed in this browser.SVG · 2 MB
Choose a file to begin.
Choose an SVG or paste its source into the text area. Keep a separate original.
Change width, height and viewBox only when needed. Empty size fields use the SVG pixel dimensions or viewBox.
Generate the result, then review its preview and sanitized source. Download SVG or a PNG at the chosen dimensions.
Width and height set output pixels; viewBox defines the artwork coordinate range. Changing its origin changes the visible region. This does not automatically reposition artwork or detect empty margins.
Scripts, event attributes, external references, style, image, use, foreignObject, filters and animation are removed. Basic shapes, paths, text, gradients and internal clips/masks are supported. Unsupported artwork can change appearance.
The preview uses only sanitized SVG. Removed external images, CSS or unsupported elements can alter it.
Yes. This tool does not erase all titles, descriptions or visible text. Inspect the sanitized source before sharing.
No. This tool adjusts output dimensions and supported elements; it is not a path minimizer or advanced SVG compressor.