▦

Image Grid Splitter

Split one image into equal rows and columns

No file selected.

Image Grid Splitter — what it does

Cut one image into an even grid of rows and columns, producing each cell as a separate image. It is the standard preparation for an Instagram carousel or a tiled wall post, and equally useful for slicing a sprite sheet or a scanned sheet of separate items back into individual files.

Worked example

A 1600 × 1200 image cut into 2 rows × 3 columns and downloaded as a ZIP of PNG tiles; the other rows apply the same arithmetic to the other fixtures.

InputRows × columnsZIP contents
photo-1600x1200.png (1600 × 1200)2 × 3photo-1600x1200-tiles.zip: 6 tiles r1-c1 … r2-c3, 533 × 600 px, third column 534 px wide
logo-400x400.png (400 × 400)3 × 3 (defaults)logo-400x400-tiles.zip: 9 tiles, 133 × 133 px, last row and column 134 px
banner-1200x300.png (1200 × 300)1 × 4banner-1200x300-tiles.zip: 4 tiles, 300 × 300 px

Tile width is the image width divided by the column count, rounded down; any remainder is added to the last column (and likewise the last row). Names are <file>-r<row>-c<column>.png, counted from 1, and the status reports the tile count.

When this tool helps

  • Splitting a panorama into a three-part Instagram grid that reassembles on the profile.
  • Cutting a scanned page of receipts or photos into separate image files.
  • Slicing a large design into tiles for a printed multi-sheet poster.

How to use it

  1. Choose the image.
  2. Set the number of rows and columns.
  3. Process the split.
  4. Download the resulting pieces.

Accuracy, limits, and good practice

  • Rows times columns must divide the image evenly to avoid a thin remainder strip at the right or bottom edge.
  • Design the source with the cut lines in mind — a face or a word landing on a boundary is what makes a split grid look accidental.
  • Pieces are named in order; keep those names so the reassembly sequence stays obvious to whoever posts them.

Frequently asked questions

What grid should I use for social media?

Three columns is the standard profile grid width; one row of three or three rows of three are the usual choices.

Does splitting reduce quality?

The pixels are copied as they are. Any change comes from the export format, not from the splitting itself.

Can I split into unequal pieces?

No, the grid is even. For an arbitrary region, use the crop tool with exact coordinates instead.

How many rows and columns can I set?

The fields are set up for 1 to 20 each, so 400 tiles with the spinner. The code itself has no upper limit, so a typed 50 still runs, but a blank, zero or negative value is treated as 1 — leaving columns empty gives one tile per row.

Are the tiles saved in the original format?

No. Every tile is drawn on a canvas and saved as PNG, so a JPEG input produces PNG tiles — larger files, but no second round of JPEG compression. Transparent areas of a PNG stay transparent.

Related tools on this site

Everything above runs inside this page. Image Grid Splitter needs no account, no upload, and no server round trip — close the tab and nothing is left behind.

圖片網格切割能做什麼

把一張圖片切成等分的行列網格,每個格子輸出成獨立圖片。這是 Instagram 輪播或九宮格貼文的標準前置作業,也同樣適合把 sprite sheet 或掃描成一張的多件物品切回個別檔案。

實際範例

把 1600 × 1200 的圖切成 2 列 × 3 欄,下載為一個裝著 PNG 小圖的 ZIP;其餘兩列以同樣的算法套在另外兩個範例檔上。

來源圖片列 × 欄ZIP 內容
photo-1600x1200.png(1600 × 1200)2 × 3photo-1600x1200-tiles.zip:6 張小圖 r1-c1 … r2-c3,533 × 600 px,第三欄寬 534 px
logo-400x400.png(400 × 400)3 × 3(預設值)logo-400x400-tiles.zip:9 張小圖,133 × 133 px,最後一列與最後一欄為 134 px
banner-1200x300.png(1200 × 300)1 × 4banner-1200x300-tiles.zip:4 張小圖,300 × 300 px

小圖寬度是圖片寬度 ÷ 欄數後無條件捨去,餘下的像素補到最後一欄(列的算法相同)。檔名為 <檔名>-r<列>-c<欄>.png,從 1 起算,狀態列會回報小圖張數。

什麼時候用得上

  • 把全景圖切成三格,在個人頁上重新拼成一張。
  • 把掃描成一頁的收據或照片切成獨立圖檔。
  • 把大型設計切成拼貼列印用的多張海報。

使用步驟

  1. 選擇圖片。
  2. 設定行數與欄數。
  3. 執行切割。
  4. 下載切好的各張圖片。

精確度、限制與實務建議

  • 行數乘欄數要能整除圖片尺寸,否則右側或底部會留下一條細長的餘料。
  • 設計來源圖時就要把切線納入考量——人臉或文字剛好被切線橫過,正是九宮格看起來很隨便的原因。
  • 切片依序命名,請保留這些名稱,發文的人才看得出拼回去的順序。

常見問題

社群媒體該切幾格?

個人頁一列是三欄,常見選擇是一列三格或三列九格。

切割會降低畫質嗎?

像素是原樣複製的,任何差異來自匯出格式,而不是切割本身。

可以切成不等分嗎?

不行,網格是等分的。要取任意區域請改用裁切工具輸入精確座標。

列數和欄數最多能設多少?

兩個欄位預設範圍是 1 到 20,以微調鈕最多 400 張小圖。程式碼本身沒有上限,手動填 50 仍會執行;但空白、0 或負數會被當成 1,所以欄數留空就是每列一張。

小圖會保留原本的格式嗎?

不會。每張小圖都是畫在 canvas 上再存成 PNG,JPEG 來源也會得到 PNG 小圖——檔案較大,但不會再壓縮一次 JPEG。PNG 的透明區域會保持透明。

本站相關工具

以上步驟全部在這個頁面內完成,圖片網格切割 不需要註冊、不上傳檔案、也不經過伺服器,關閉分頁後不會留下任何資料。