Skip to content
ChromaBrew

JPG to SVG converter

Convert JPG, PNG or any raster image to SVG using color quantization. Adjust the color count for quality vs file size. Free, no sign-up, runs in your browser.

Convert a JPG, PNG or any raster image to SVG by color quantization, right in the browser. Fewer colors mean smaller files with clean flat shapes — ideal for logos and icons; more colors preserve photo detail.

Adjacent same-color pixels merge into rectangles, which keeps the SVG lightweight and editable in any vector tool.

Drag and drop one or more JPG, PNG or image files, or

16
Smaller fileBetter quality

Upload many images and convert them all at once. Uses color quantization to reduce each image to N colors, then outputs an SVG with optimized run-length rectangles. Best for logos, icons and illustrations — photos will produce large files.

Want the full design system from a color? Open the color palette generator to create accessible palettes, semantic tokens, light and dark themes, and production-ready CSS — all from a single color.

How to use this tool

  1. Upload one or more JPG, PNG or raster images.
  2. Adjust the color count to balance quality and file size.
  3. Convert them all at once and download each SVG or all as a .zip.

Frequently asked questions

How does JPG to SVG conversion work?
The image is read pixel-by-pixel on a canvas, then quantized to reduce the color palette. Adjacent pixels of the same color are merged into run-length rectangles, producing an optimized SVG.
Why would I convert a JPG to SVG?
SVGs scale infinitely without losing quality, load faster for simple graphics, and can be edited in design tools. Logos and icons benefit most — photos produce large files.
How many colors should I use?
Fewer colors (4–16) produce smaller files with visible banding — great for logos. More colors (32–128) preserve detail but create larger SVGs. Start with 16 and adjust.

JPG to SVG converter runs entirely in your browser — nothing you enter is sent to a server.