OxyPages

SVG Optimizer: Smaller Files, Identical Drawing

Paste or drop an SVG and see how much smaller it gets, with the before and after side by side.

Free. No account. Live in seconds.

Waiting for a readable SVG.

Original SVG

Original, rendered

Optimized SVG

Optimized, rendered

Nothing to draw yet.

Both drawings render in a sandboxed frame, and the whole thing runs in your browser. Nothing is uploaded until you publish.

Free. No account. Live in seconds.

How It Works

How To Use The SVG Optimizer

  1. 1

    Paste Or Drop Your SVG

    Paste the source into the left pane, or drop a .svg file onto it. The optimized version appears on the right straight away, and both drawings render underneath.

  2. 2

    Check The Saving And The Picture

    The strip across the top shows the original size, the new size and the percentage saved. Compare the two previews to confirm the drawing is unchanged, and open Options to adjust precision, viewBox, IDs and dimensions.

  3. 3

    Copy, Download Or Publish

    Copy the optimized source, download it as optimized.svg, or publish a demo page showing the result on a free live link without creating an account.

About This Tool

Make SVG Files Smaller Without Changing The Drawing

SVGO, running in your browser, with the two settings that usually break a file turned the safe way round.

An SVG that comes out of Illustrator, Figma, Inkscape or Sketch is usually two to five times bigger than it needs to be. Not because of the artwork, but because of everything wrapped around it: an editor namespace, an <rdf:RDF> metadata block naming the person who drew it, layer groups that hold nothing but another layer group, hidden layers nobody deleted, and coordinates carried to eight decimal places when three is past the point any screen can show. This SVG optimizer runs SVGO, the standard tool for the job, and strips all of that out.

Who It Is For

Mostly people who have been handed a file rather than people who made one: a logo from a designer, an icon set bought from a marketplace, an illustration exported from a slide deck, a chart an AI assistant generated. You do not need to know what a plugin is. Paste the file in, read the number at the top, look at the two pictures, and take the smaller one if it still looks right.

How It Works

Everything happens in the tab you are already looking at. SVGO is loaded into your browser the first time you paste something, your file is never uploaded, and the Copy and Download buttons are local too. The two previews are the honest part: each one is a sandboxed frame with no access to this page, because an SVG is a live document that can carry scripts, so the safe way to show you a stranger's file is to keep it behind a wall.

The Settings That Matter

  • Keep viewBox is on. Strip the viewBox and the drawing stops scaling to its container, which is the complaint people bring to every online SVG minifier.
  • Remove IDs is off. An ID may be the hook a stylesheet, an animation or a <use> element depends on, and nothing warns you when that breaks.
  • Precision defaults to three decimals. Lower saves real bytes on path-heavy artwork, but below two you can watch curves flatten in the preview.

Limits

This tool rewrites the file, it does not redraw it. If your artwork is a traced photograph with fifty thousand path points, no optimizer will make it small - simplify it in a vector editor first. Gzipped .svgz files need unzipping before they can be read, and embedded raster images are left untouched. To compress SVG in a stylesheet instead, use the CSS Minifier; for PNG and JPG artwork, the Image Compressor is the right tool.

Then Put It Online

Publish builds a small page showing the optimized drawing and the bytes it saved, and puts it on a live OxyPages link with HTTPS in a few seconds - handy for sending a client the before and after. No account is needed; the link lasts 30 minutes unless you claim it, and claiming is free. From there you can pick your own address and, on a paid plan, connect a custom domain. See how it works for the rest.

Questions

Frequently Asked Questions

Yes. The optimizer runs entirely in your browser and the file is never uploaded, so nothing leaves your computer unless you press Publish. The two previews render inside sandboxed frames that cannot reach this page or the network.

Try It Now

Still Here? Drop It In.

The whole pitch fits in one sentence: your HTML, on a link, in seconds.

Drag and drop your HTML file(s), folders, or ZIP file

or ·

No account needed. Your unclaimed website stays live for 30 minutes on a free subdomain. Claim it to your account to keep it permanently.

  • No Account Needed
  • Free SSL
  • 30-Minute Unclaimed Link, Claim To Keep It