Home › Image Tools › JPG to SVG

JPG to SVG

Turn a JPG logo, drawing or photo into a true vector SVG made of filled shapes, not a bitmap wrapped in an SVG file. Choose a preset, adjust the number of colors and the detail level, compare the result side by side and download an SVG that scales to any size.

Last updated:

Original image
Original
Traced SVG preview
SVG
Advanced

Advertisement
Advertisement

How to use the JPG to SVG

  1. Add a JPG by dropping it on the box, pasting it or clicking Choose image. A sample logo is traced on load so you can try the controls.
  2. Pick a preset: Logo for flat graphics, Illustration for drawings, Photo for pictures and Black & white for line art, signatures or cutting files.
  3. Fine-tune the number of colors, the detail and the smoothing. The preview updates automatically.
  4. Compare the original and the SVG side by side and check the size and path count.
  5. Download the SVG or copy the code into your project.

How JPG to SVG tracing works

  1. Smoothing: a light blur removes JPG block artifacts and grain that would otherwise become thousands of tiny shapes.
  2. Color quantization: the millions of colors in the photo are reduced to the palette size you choose using k-means clustering, which picks the colors that best represent the picture.
  3. Cleanup: regions smaller than the speckle size are merged into the surrounding color.
  4. Tracing: the outline of every color region is followed pixel by pixel, then simplified into straight lines and curves. The detail setting controls how closely the curves follow the pixels.
  5. SVG output: each region becomes a filled <path>, ordered so large background shapes are drawn first.

Choosing settings

ImagePresetColorsTypical result
Logo, icon, flat graphicLogo2 to 8Clean shapes, small file, near-perfect match
Cartoon, illustration, clipartIllustration8 to 24Faithful look with smooth curves
Photo, portrait, landscapePhoto24 to 64Posterized, painted style; larger file
Signature, sketch, text, stencilBlack & white2Single-color shapes for cutting or engraving

Tips for better vectors

  • Start from the largest, sharpest version of the image you have. Tracing cannot invent detail a tiny or blurry JPG does not contain.
  • Crop away everything you do not need first, and remove busy backgrounds with the Background Remover.
  • Run the downloaded file through the SVG Optimizer to shave off extra bytes. Need a bitmap again? Use SVG to JPG.
  • For PNG images with transparency, the PNG to SVG Converter can keep the background transparent.

Frequently asked questions

How do I convert a JPG to SVG?

Drop the JPG into the converter above. It reduces the image to a set of flat colors, traces the outline of every color region and writes those outlines as SVG paths. Pick a preset, adjust colors and detail until the preview looks right, then download the SVG. It is free with no sign-up.

Is the result a real vector or just an embedded image?

It is a real vector. Many online converters simply wrap the JPG inside an SVG file, which is still a bitmap. This tool traces the picture into path elements, so you can scale it to any size, edit the shapes in Illustrator, Inkscape or Figma and cut it with a plotter.

What kind of images give the best SVG?

Logos, icons, cartoons, signatures, text and other graphics with flat colors and clear edges trace best. Photos can be traced too, but they turn into a posterized, painting-like look and need many colors and paths, which makes large files.

How many colors should I choose?

Use the number of colors that actually appear in the artwork: 2 for black and white line art, 3 to 8 for most logos, 12 to 24 for illustrations and 24 to 64 for photos. Fewer colors give smaller, cleaner files. JPG compression adds faint noise, so slight smoothing usually helps.

Why does my SVG have small specks or blotches?

JPG artifacts and photo grain create tiny regions of slightly different color. Increase Remove speckles to merge small regions into their neighbours, raise smoothing, or lower the color count.

Are my images uploaded?

No. Tracing runs in your browser, in a background thread on your own device. The image is never sent to a server. Only the open-source ImageTracer.js program is downloaded, and if it is unavailable the built-in tracer is used instead.

Can I use the SVG for a Cricut or laser cutter?

Yes. Choose the Black & white preset to get a single-color vector of the dark shapes, which most cutting and engraving software accepts. Check the preview for thin lines that may be too fine to cut.

Are all the tools on FreeToolCabin tested for quality and accuracy?

Yes! Every tool on our site undergoes automated Q/A testing in real browser environments to ensure high precision, correct output, and zero errors. If you happen to spot a bug or have a suggestion, please contact us at [email protected] and our team will review it right away.

Related tools

SVG to JPGConvert SVG vectors to sharp JPG images at 1x to 8x or any width, with a background color.PNG to SVG ConverterConvert PNG or JPG images to scalable SVG vectors with color and detail control.SVG OptimizerMinify SVG files: strip metadata, comments and editor junk, round numbers, compare sizes.Background RemoverRemove image backgrounds automatically with AI.PDF to SVGConvert PDF pages to scalable SVG vector files, with text kept as text or as paths.PSD to PNGConvert Photoshop PSD files to PNG and export every layer as its own PNG, no Photoshop needed.HEIC to JPGConvert iPhone HEIC photos to JPG.WEBP to JPGConvert WEBP images to JPG in bulk.PNG to JPGBatch convert PNG images to JPG with a background color.JPG to PNGBatch convert JPG images to PNG.WEBP to PNGConvert WEBP images to PNG, keeping transparency.SVG to PNGConvert SVG graphics to PNG or JPEG at any scale.PNG to ICOCreate multi-size favicon .ico files from PNG.AVIF to JPGConvert AVIF images to widely supported JPG.PNG & JPG to WEBPConvert PNG and JPG images to smaller WEBP files.Image ConverterConvert images between JPG, PNG, WEBP, AVIF, BMP, GIF and ICO in batches, right in your browser.HEIC to PNGConvert iPhone HEIC and HEIF photos to lossless PNG in batches, with ZIP download.GIF to MP4Convert animated GIFs to MP4 video with loops, scaling and background color, in your browser.ICO to PNGExtract every size from ICO and CUR icon files and save them as PNG images or a ZIP.BMP to JPGBatch convert BMP bitmaps to small JPG files with a quality slider and ZIP download.TIFF to JPGConvert TIFF and TIF images, including multi-page scans, to JPG with a quality slider.JFIF to JPGBatch convert .jfif images to standard .jpg files, re-encoded or lossless, with ZIP download.Camera Shutter Count CheckerFind your camera's shutter count from a JPG or RAW photo. Nikon, Pentax, some Sony and Canon.Film Negative to Positive ConverterTurn scanned color or B&W film negatives into positives with orange mask removal and auto balance.HTML to ImagePaste HTML and CSS, see it rendered live and export a PNG, JPG, WebP or SVG at 1x to 4x.Convert Image to AVIFConvert JPG, PNG and WebP to AVIF with quality and speed control, size comparison and ZIP.Online Image ViewerOpen HEIC, TIFF, PSD, RAW, AVIF, WebP, ICO and more in your browser with zoom, pixel inspector and EXIF.Paste Image to FilePaste a clipboard image with Ctrl+V and save it as PNG, JPG or WebP, or copy images to the clipboard.RAW to JPGConvert camera RAW files (CR2, CR3, NEF, ARW, DNG, ORF, RAF, RW2) to JPG in batch, privately.Convert Image to CMYKConvert an RGB image to a CMYK TIFF or PDF for print, with ink limit, black generation and preview.Text to SVG PathTurn text in any Google or uploaded font into SVG path outlines for Cricut, laser and logos.AI to PNGConvert Adobe Illustrator .ai files to PNG at any DPI, with a transparent background, no Illustrator.CR2 to JPGConvert Canon CR2 RAW photos to JPG in batch: camera preview or developed sensor data.Image Format ComparisonCompress one image as JPG, WebP, AVIF and JPEG XL at the same quality and compare size and detail.PSD ViewerOpen Photoshop PSD files without Photoshop: browse layers, toggle visibility and export layers as PNG.Multi-Page TIFF ViewerView multi-page TIFF scans and fax files page by page, zoom, rotate and export pages as PNG or PDF.WEBP to GIFConvert animated or still WebP images to GIF, keeping every frame delay, with loop and size options.WEBP to MP4Turn animated WebP images into MP4 videos for sharing, with frame timing, length and size options.NEF to JPGConvert Nikon NEF RAW photos to JPG in batch: camera preview or developed sensor data.
See all 37 Image Converters →