SVG Studio
Optimize SVGs, adjust colors, 64 icons at once.
SVG Studio makes your SVG files smaller and cleaner. Drop in a file or paste your code, pick your optimizations, adjust the colors and take the result in whatever form you need: as a file, as code, as a data URL or ready for CSS. Free and runs entirely in your browser: your SVGs are never uploaded or stored.
Further information
Why, how, and a couple of technical details.
Why we built SVG Studio
Icons, logos, illustrations: SVGs show up in practically every project we work on. And almost every SVG that comes out of a design tool carries extra baggage. Editor metadata, comments, groups that do nothing, coordinates with six decimal places. Good optimization tools have been around for years, and we’ve used them a lot. But each one was missing some small thing: sometimes you couldn’t change the colors, sometimes you could only edit one file at a time, sometimes we still had to rework the code by hand for CSS.
At some point we stopped getting annoyed and built the tool we actually wanted. The goal wasn’t yet another SVG tool, but a faster workflow: fewer steps, less switching between browser tabs, less manual work in the code. Building tools like this ourselves is part of the craft for us. When you work with code every day, you quickly notice where things get stuck.
And you can fix it right away.
Why clean SVGs are worth it
A single icon with a few unnecessary bytes doesn’t make much of a difference. But a website rarely has just one icon. It has dozens: in the navigation, in buttons, in lists, in the footer. When they’re embedded inline, every byte ends up in the HTML, on every single page. Smaller files mean shorter load times and less data going over the network.
Clean code matters just as much to us. A tidy SVG is readable, can be styled reliably with CSS and won’t cause surprises further down the line. That said, not every optimization fits every case: if you need the “title” element for screen readers, simply leave that option switched off. That’s exactly why in SVG Studio, you decide what happens to your SVG.
How SVG Studio works
Drag one or more SVG files into the window or paste the SVG code directly. You then have 44 optimizations to choose from, grouped into four categories: Cleanup, Removal, Conversion and Optimization. We’ve preselected the tried-and-tested ones, and you can switch any of the others on or off individually. You see every change immediately: in the preview, in the code and in the before-and-after file size, including the percentage saved. Under the hood, SVG Studio runs on SVGO, the established open-source standard for SVG optimization.
Your SVGs stay with you
SVG Studio runs entirely in your browser. Your files are never uploaded to a server or stored anywhere, and all optimization happens locally on your device. That matters to us, because these are often logos and icons from ongoing projects that aren’t public yet. Files like that don’t belong on someone else’s server, and with SVG Studio they never end up there. A nice side effect: no upload also means it’s faster.
Detect colors, adjust them or hand them over to CSS
This is where SVG Studio differs from most other tools. When it reads your SVG, it detects every color used and shows you how often each one appears. You can edit any color directly, and the live preview shows the result instantly. Switching an icon set from the gray in the design file to your brand color? A few clicks instead of a round trip to your graphics software.
currentColor is especially handy for single-color icons. It makes the icon inherit the text color of its surrounding element. If a link changes color on hover, the icon changes right along with it, without extra CSS for every single icon. And if you click the wrong thing: all changes can be reset at any time.
Up to 64 icons at once
An icon rarely comes alone. That’s why you can add more files at any point while editing and process up to 64 SVGs at the same time. Your optimizations and color changes apply to all loaded files. Switch once from gray to your brand color or to currentColor, and the whole icon set follows. What would otherwise mean clicking through file after file is done in a single pass. Especially with larger icon sets, this is what saves us the most work in our day-to-day projects.
Export it the way you need it
Depending on where it’s going, an SVG needs a different format. SVG Studio gives you four:
- Download SVG: as a file, for example for the media library, a presentation, or other documents.
- Copy SVG code: to embed directly as inline SVG, in HTML or in a WordPress block.
- Copy as data URL: when the SVG needs to sit as a URL in an attribute or in CSS.
- Copy for CSS: encoded and ready for
background-imageormask-imagein your stylesheet
A few settings
To make the tool feel right, there’s a small settings area. Switch between light and dark mode, set your own primary color for the interface and decide whether file names stay unchanged on download or get the suffix “optimized”. Small things, sure. But small things like these are exactly why we built SVG Studio in the first place.
Missing something? Then you know how we felt back then. Get in touch, we’re continuously developing SVG Studio.
Further tools
We like small and practical tools. That’s why we naturally have several of them. Here is a selection of our favorites.
Charcopy
Special characters by mouse click or fingertap.
Local Google Fonts
Host Google Fonts on your own web server.
Fluidity
Dynamic font sizes and spacing for a better multi-device experience.