ImgPivot
Skip to main content

Drag & drop, paste (Ctrl+V) or click to choose images

Supports JPG, PNG and WEBP. Works best on logos, icons and flat-color graphics

Key benefits

  • •Get the <svg>...</svg> code itself to paste into JSX, HTML or Vue, with no file to download and reopen
  • •Real vector paths traced from the image's color areas, not an embedded Base64 bitmap, so the code stays compact and scales cleanly
  • •Compare the original and the vector result side by side before you copy
  • •Download an .svg file too if you need one; uploaded images are deleted after processing

Common uses

  • •Inline logos and icons in React or Vue components and recolor them with CSS (fill, currentColor)
  • •Turn screenshots of icons or stickers into vector paths to refine in Figma or Illustrator
  • •Cut HTTP requests by inlining icons instead of loading separate image files

Frequently asked questions

How is Image to SVG Code different from Image to SVG?

Both use the same tracing, but return the result differently. Image to SVG gives you an .svg file to download, which suits archiving or importing into design software. This page shows the SVG source so you can copy and paste it straight into your code.

Can I edit the SVG code?

Yes. The result is made of real <path> elements, so you can change fill and stroke, add classes, or use currentColor so the icon follows your CSS color.

Which images give the best SVG code?

Logos, icons and flat-color shapes with little detail trace most accurately and produce short code. Detailed photos get simplified into color regions (like Illustrator's Image Trace) and produce very long code.

Why is the SVG code thousands of lines long?

Every color region becomes its own path, so more detail and more gradients mean more paths. For shorter code, use a simpler image with fewer colors, or shrink the image before converting.

Are uploaded images stored?

No. The image is only processed to trace it and is deleted right afterwards. The resulting SVG code exists only in your browser.

All tools →
PNGWEBP

PNG to WEBP

Convert heavy PNG images to lightweight WEBP files that keep their transparent backgrounds.

JPGWEBP

JPG to WEBP

Convert JPG photos to WEBP to cut file size and speed up your web pages.

HEICJPG

HEIC (iPhone) to JPG

Turn iPhone HEIC photos into JPG files that open on Windows, Android and in any app.

PDFJPG

PDF to JPG

Turn each page of a PDF into a sharp JPG image at 300 DPI.

COMPRESS

Compress images

Shrink JPG, PNG and WEBP images for faster websites and easier sharing, without visible quality loss.

IMAGESPDF

Merge images into one PDF

Combine several images into a single multi-page PDF, one image per page, in the order you choose.

SVGPNG

SVG to PNG

Turn SVG vector files into high-resolution PNG images that keep their transparent background.

EXIF

Remove metadata (EXIF)

Remove GPS location, camera details and other hidden metadata from photos before you share them.

IMAGEJPG

Convert images to JPG

Convert PNG, WEBP, AVIF and other images to JPG, the format every device and app can open.

IMAGEJPEG

Convert images to JPEG

Convert PNG, WEBP and AVIF images to high-quality JPEG files with the .jpeg extension.

IMAGEWEBP

Convert images to WEBP

Convert JPG and PNG images to WEBP, the modern format that makes web pages load faster.

IMAGEPDF

Convert images to PDF

Turn JPG, PNG and other images into PDF files, one page per image, with nothing cropped.

IMAGESVG

Convert images to vector SVG

Trace PNG and JPG images into real vector SVG paths that scale to any size without blurring.

IMAGEAVIF

Convert images to AVIF

Convert JPG, PNG and WEBP images to AVIF, one of the most efficient image formats on the web.

IMAGEICO

Create an ICO favicon

Create a multi-size favicon.ico file from a PNG, JPG or SVG image.

IMAGETIFF

Convert images to TIFF

Convert JPG, PNG and WEBP images to lossless TIFF files for printing, scanning workflows and archives.

IMAGEGIF

Convert images to GIF

Convert JPG, PNG and WEBP images to GIF for apps and platforms that only accept GIF.

PDF

Compress PDF

Shrink PDF files by compressing the images inside them, while keeping text and layout intact.

IMAGEPNG

Convert images to PNG

Convert JPG, WEBP, AVIF and other images to lossless PNG files, with transparency preserved.

PNGJPG

PNG to JPG

Convert PNG images to JPG to cut file size for photos and screenshots.

JPGPNG

JPG to PNG

Convert JPG photos to PNG for lossless editing and wider app compatibility.

WEBPJPG

WEBP to JPG

Convert WEBP images saved from websites into JPG files that open in any app.

WEBPPNG

WEBP to PNG

Convert WEBP images to PNG so you can edit them in any app, with transparent backgrounds preserved.

RESIZE

Crop & resize images

Drag to crop right on the image, then resize to the exact width and height you need.

PDFPNG

PDF to PNG

Turn each PDF page into a lossless 300 DPI PNG, keeping transparent backgrounds.

AVIFPNG

AVIF to PNG

Convert AVIF images to PNG for editing and compatibility, with transparency preserved.

AVIFJPG

AVIF to JPG

Convert AVIF images into JPG files that every app, device and website accepts.

REMOVE BGPNG

Remove image background

Remove the background from photos automatically with AI and get a transparent PNG.

BMPJPG

BMP to JPG

Convert large, uncompressed BMP files into compact JPGs that are easy to share.

WATERMARK

Add a watermark to images

Add a text or logo watermark to several images at once, placed exactly where you want it, right in your browser.

SVG CODEPNG

SVG code to image

Paste SVG code, export a PNG/JPG/WEBP image

IMAGEBASE64

Image to Base64

Upload an image, get a Base64 string for HTML/CSS/JSON