Paste or drop an SVG and see how much smaller it gets, with the before and after side by side.
Waiting for a readable SVG.
Original, rendered
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.
How It Works
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.
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.
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
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.
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.
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.
<use> element depends on, and nothing warns you when that breaks.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.
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
More Free Tools
Every tool here runs in your browser and ends the same way: one click and your HTML is on a live link.
Shrink any image in your browser: PNG palette compression like TinyPNG, quality control for JPG and WebP, optional resizing, and convert between formats on the way. Nothing is uploaded.
Minify CSS to cut bytes: strip comments and whitespace, keep every rule intact, see the savings. Runs in your browser. Copy or download the result.
Turn any image into a favicon.ico plus the PNG and Apple touch icon sizes browsers ask for, with the HTML to paste in your head. Made in your browser, no upload.
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.