Media Tools

Image & SVG Conversion Utilities

Three utilities for when file size starts to matter. A favicon that needs several sizes, a photo that should be WebP, a screenshot that is 4 MB too big. Everything is processed on-device, so large assets never get uploaded anywhere.

Each tool follows the same privacy model. Your file is read into the browser's memory, processed by the platform's own image pipeline, and returned to you as a download. No pixels leave your machine, and no copy is kept on any server.

Why these tools run in your browser

All three utilities share one architectural decision: the browser does the image work itself. The SVG converter hands your document to the browser's own layout and rendering engine and reads back the pixels it draws, so the output matches what you would actually see on screen. The WebP converter and the compressor re-encode through the canvas element, the drawing surface that scripts read and serialize into standard image formats. This is why the site has no backend. The platform already ships a complete image pipeline, so the only thing served remotely is a static HTML file, and the conversion happens between your input and your download button.

Vector describes shapes. Raster describes pixels. Every tool here crosses that line on purpose.

SVG → PNG / ICO, without the guesswork

The converter rasterizes SVG at the size you specify using the browser's own renderer, so the PNG you download is what Chrome would actually draw: not what a server-side librsvg build decided to do. For a favicon, render at 16, 32 and 48 and bundle them into one ICO; browsers pick the right size. A single 32px PNG stretched up looks blurry on a retina display.

Two knobs matter most: export the largest size first and let the browser scale down (a 512px source exported straight to 16px loses fine detail), and keep transparency unless your SVG actually has a background: forcing a white fill bakes a visible box into the corners of dark-mode browser tabs.

Once shapes become pixels, the original vector data is gone. Export every size you need in one pass.

WebP: when it wins, when it doesn’t

WebP is a web image format with both lossy and lossless modes, and it supports an alpha channel where plain JPEG has none. For photographs, a lossy WebP at a comparable quality setting generally produces a smaller file than JPEG, which is why photographic content on the web has largely moved to it. The converter's lossy/lossless toggle mirrors those two modes, and its size preview shows the result per image so you can decide before you download. Google maintains the format and publishes the technical documentation behind it.

It is not a universal answer. Flat UI graphics and logos usually compress better as a well-optimized PNG or just stay as SVG, and some encoders smear hard edges in lossy WebP. Safari did not ship WebP until 14 (2020), so if you still support older iOS you need a fallback source. The converter's lossy/lossless toggle and size preview let you compare before you download instead of after you commit the file.

Transparency often decides the format for you. JPEG carries no alpha channel at all.

Compressing without wrecking the image

The compressor re-encodes in the browser, so nothing is uploaded. For photographs, stay in a moderate quality range around 75 to 85: below that, block artifacts show up first on faces and smooth gradients. For screenshots with text and flat UI, keep them as PNG, because re-compressing that content to lossy JPEG blurs the lettering and the pixels you save are spent on visible noise. When in doubt, zoom into the preview before you download.

Two habits that save you from a bad export: compare before/after at 100% zoom (artifacts hide in the thumbnail), and never re-compress a file that has already been through a lossy pass: a social-media screenshot or an email attachment. Re-encoding it compounds the damage. Start from the original export when you can.

Compare at full zoom, not in the thumbnail. That is where artifacts hide.

Choosing a format for the job

The practical rule is to match the format to the content. Vector artwork, logos, icons and anything that must scale without limit belong in SVG, which the SVG 2 specification defines as an XML-based format for describing two-dimensional graphics. Photographs and other continuous-tone images belong in a lossy raster format such as WebP or JPEG, where the compression matches how the eye perceives detail. Screenshots, diagrams and images with large flat color areas are usually best as PNG, because lossy compression smears the sharp edges that make that content readable. There is no single best format, only a best fit for the content and the context.

Favicons are the exception. Browsers ask for several sizes, so one ICO bundles them all.

Common format mistakes

A few mistakes repeat across projects. The first is assuming that converting a file is free of loss: turning an already compressed JPEG into WebP simply re-encodes degraded data, and the original artifacts survive the trip. The second is shipping one favicon size and letting the browser stretch it, which looks soft on high-density displays. The third is treating transparency as decoration: an alpha channel is part of the image data, and flattening it onto white changes how the asset looks in dark mode tabs, menus and overlays.

Check the format before you commit to it. The preview exists for that reason.

The raster and vector standards behind these media utilities

SVG 2, W3C Recommendation defines SVG as an XML-based vector format, which is why the converter can rasterize shapes at any export size without losing detail.

MDN SVG documentation covers the elements and attributes the converter reads when it renders your document.

MDN Canvas API documents the drawing surface that the WebP converter and the compressor use to re-encode pixels locally.

Google WebP documentation explains the format's lossy, lossless and alpha support, which the converter's mode toggle is built around.

Can I use: WebP tracks browser support, including Safari 14, which is why an older iOS fallback is still worth planning for.