Sticker & 9-Grid Image Splitter

Split an image into rows and columns with adjustable margins, gaps and grid offsets. Download individual PNG, JPEG or WebP tiles, or a ZIP archive.

Click to choose image or drag & drop here
Supports PNG, JPG, WebP · Runs 100% locally in browser memory
</> Embed this tool on your website / blog No code required · Copy and paste
HTML Embed Code (iframe):
<iframe src="https://lucentool.com/image-grid-splitter" width="100%" height="650" style="border:1px solid #e5e0d8;border-radius:12px;max-width:850px;width:100%;" frameborder="0"></iframe>
<div style="font-size:12px;color:#78716c;margin-top:6px;font-family:sans-serif;">Powered by <a href="https://lucentool.com/image-grid-splitter" target="_blank" style="color:#c85a32;text-decoration:none;">Lucentool - Emoji Sticker & 9-Grid Image Splitter</a></div>

Split a sheet into individual images

Upload a PNG, JPEG or WebP image, set the row and column counts, and align the grid using margins, gaps and offsets. Drag the grid or use the nudge controls when the artwork is not centered.

Example: six 200 × 200 tiles

Upload a 600 × 400px image. Set 2 rows, 3 columns, all margins and gaps to 0, and reset the offset. Choose PNG and the prefix tile. The result is six 200 × 200px files named tile_01.png through tile_06.png, ordered left to right, then top to bottom.

Check the grid before downloading

This is a geometric slicer, not automatic subject detection. Tile dimensions are rounded down to whole pixels when the usable size does not divide evenly, so a few edge pixels can remain unused. PNG preserves transparency; JPEG does not. Multiple individual downloads may require browser permission; ZIP keeps the tiles in one download.

Edge cases and hard limits

The slicer does exact pixel arithmetic rather than visual guessing. With width w, margins left/right and cols columns, each tile is floor((w − left − right − (cols − 1) × gapX) / cols) wide, and the same calculation runs vertically for rows. Offsets shift the whole grid by whole pixels, which is how you line the cuts up with artwork that is not perfectly centred; the preview overlay redraws those cut lines as you nudge. Each tile is then copied out with a nine-argument drawImage() crop and encoded with toDataURL() at 0.95 quality in PNG, JPEG or WebP, named prefix + zero-padded index. You can save the tiles one after another, or press the ZIP button, which loads JSZip only when needed and packages the tiles with DEFLATE compression.

Formats, sizes and other limits

Rows and columns are clamped to 1–30 each, so the maximum batch is 900 tiles — and every tile is kept in memory as a data URL until you download it. If the margins and gaps consume more space than the image provides, the calculated tile size reaches zero and the run stops without producing anything, so shrink the gaps first. JPEG and WebP output is lossy at a fixed 0.95 quality with no slider, while PNG is lossless but much larger; a transparent source only keeps its alpha in PNG. The grid is never detected automatically, offsets are integers, and the source image is left untouched. Sequential downloads can be blocked by your browser after the first few files, which is what the ZIP option avoids.

Privacy: processed in your browser

The image is drawn and cut inside this tab, and the tiles are encoded there too; the site has no backend, so no part of the original or the slices is ever transmitted. JSZip is fetched from a public CDN only when you choose the ZIP download, and the rest of the page needs no network at all.

Frequently asked questions

How do I line the grid up with artwork that is off-centre?

Use the offset nudges and watch the preview overlay: the grid lines move one pixel per press, and the X/Y labels tell you the current shift. For a sheet with uneven borders, set the four margins first and then fine-tune with the offsets.

Why did slicing produce nothing?

Because the tile size came out at zero or less. Margins and gaps are subtracted from the image before the division, so a 600-pixel-wide image with a 300-pixel margin on each side and eight columns leaves no room. Lower the column count or the gaps and try again.

Should I export PNG or JPEG for sprite sheets?

PNG when you need transparency or pixel-perfect lossless output; JPEG or WebP when file size matters more, remembering that both are encoded at a fixed 95% quality with no way to adjust it. WebP is usually the smaller of the two at the same quality.