Export SVG
safe · secure · no server · works offline · fast
…or paste a file you copied in Finder, or just start typing at the cursor.
↓ scroll for about & FAQsafe · secure · no server · works offline · fast
…or paste a file you copied in Finder, or just start typing at the cursor.
↓ scroll for about & FAQChoose a format, its options, and the maximum size of the download.
It’s one lens on OmniViewer’s SVG Viewer & Optimizer — Render & Minify .svg: drop a file and every tab is one click away. OmniViewer opens every file format, entirely in your browser — no upload, no server.
No. OmniViewer is a static page with no server-side processing: your .svg file is read directly by your browser, and every tab — preview, optimize, formatted, tree and stats — runs locally in a Web Worker. The file never leaves your computer.
The OPTIMIZE tab is a dependency-free, SVGO-style minifier. It removes the XML declaration and DOCTYPE, comments and <metadata>, editor namespaces such as Inkscape and Sodipodi, collapses whitespace between elements and rounds coordinate numbers to a few decimals — then reports the exact bytes saved and what it changed. It is conservative on purpose: it never renames ids, merges paths or rewrites shapes, so the rendered image is identical. On a typical design-tool export it shrinks the file by a third to a half.
Yes. An SVG can contain scripts and external references, so OmniViewer renders it through an <img> element, which puts the file in SVG’s secure static mode — no scripts run and no external resources load. The STATS tab also flags whether a file contains a <script> element or external URLs, so you know what you are looking at.
Yes. The PREVIEW tab has a “download PNG” action that rasterizes the rendered SVG to a PNG image entirely in your browser. A plain SVG exports cleanly; a file that embeds a foreignObject or an external image cannot be rasterized by the browser, and the tool says so instead of producing a broken file.
The raw and hex views are windowed — they read only the bytes needed to paint the screen — so they open files of effectively unlimited size. The preview, optimize, formatted, tree and stats tabs parse the document in memory, so on very large files they work on a bounded prefix (or, for preview and optimize, ask you to use the raw view) and tell you when they do. In practice SVGs are small, so this rarely matters.
SVG is a vector format: it describes shapes and paths with coordinates, as XML text, so it scales to any size without blur and can be edited in a text editor. PNG and JPEG are raster formats — grids of pixels — so they have a fixed resolution and get blurry when enlarged. SVG is ideal for icons, logos and charts; PNG for screenshots and lossless UI images; JPEG for photographs.