
Compress JPG, PNG and WebP images — or hit an exact target size in KB/MB.
Convert SVG to raster at any size, or genuinely vectorise raster images into SVG.
Runs in your browser. Some processing engines (e.g. ffmpeg.wasm) download on first use — your files never leave this device.
SVG ↔ PNG converts vector SVGs into raster images at any size, and turns raster images into SVG files through colour tracing. The first direction is precise and lossless-by-design: choose dimensions, background and format, and the SVG is rendered exactly. The second direction does its best to approximate — tracing is ideal for flat logos, icons and line art, not photographs.
SVG input is sanitised before rendering: scripts, event handlers and external references are removed, while embedded data URLs and internal CSS are kept. That makes it safe to rasterise SVG files from emails or downloads you were not expecting.
Tracing runs in a worker with controls for colour count, threshold, detail, smoothing, noise removal and corner rounding, and a comparison slider helps you judge the result against the original.
For flat artwork, close. Tracing approximates shapes with vector paths, which works well for logos, icons and line drawings, but photographs and gradients become thousands of shapes rather than a faithful vector replica. Embed raster mode does not vectorise at all — it simply wraps the bitmap in an SVG.
Some SVG files depend on external fonts, remote images or scripts. Sanitisation removes external references for safety, and the rendering browser may substitute fonts. Check the result and, for text-heavy SVGs, consider converting text to paths in your design tool first.
The converter sanitises the file before rendering by removing scripts, event handlers and external references. That covers the common attack surface, but as with any file from an unknown source, prefer not to open what you do not need.
Use Colour mode, start with 8 colours, and raise the detail only if edges look too angular. Smoothing helps round curves, noise removal drops stray specks in scanned artwork, and corner rounding softens sharp artefacts.
Dimensions are clamped between 16 and 8192 pixels. SVG files without a declared size default to 512×512, which you can change before exporting.
Related image tools: Image Compressor, Image Converter, Image Resizer.
Both conversions run in your browser. SVG files are sanitised and rendered locally, and no file is uploaded.