Convert Image to SVG Mosaic

Turn a raster into a bounded grid of colored SVG rectangles for a block-style illustration.

Free. No signup.

Drop your image here

Drag and drop, or choose a file below

JPG · PNG · WEBP
Up to 250 MB · One image at a time
Each image: up to 16 megapixels and 8192 px per side

Adjust the effect

This is a pixel mosaic, not contour tracing or a faithful vector conversion. Detail is lost and increasing the grid increases file size. RGB means use encoded channels; the result may differ from linear-light resampling.

Original

Choose an image or try the sample to see your preview here.

100% local processing

How to use

  1. 01

    Choose an image or try the local sample.

  2. 02

    Choose 8, 16, 32 or 64 cells on the longest side. Smaller grids simplify the image; preview the result before saving SVG.

  3. 03

    Review the result and download the file.

Details and tips

How it works

The grid follows the image aspect ratio and contains at most 4096 rectangles. Each cell uses alpha-weighted mean RGB and mean alpha; fully transparent cells are omitted. The generated SVG contains numeric rectangles and colors only, with no input markup or external references.

Made for everyday images

Create a scalable block illustration or simplified background from a photo. Use a fine grid for pixel art and a coarse grid when the overall color layout matters more than outlines.

Frequently asked questions

Are images uploaded?

No. Processing, previews and downloads stay on your device.

What are the limits?

JPG, PNG and WebP, up to 250 MB, 8192 pixels per side and 16 million pixels. Expanded output must also fit these limits. Animation uses one still frame.