EditSafely

Find Pixel Group Coordinates

Find every connected group of pixels and list its position, bounding box, size and centre.

Runs on your device, nothing uploaded

Drop an image anywhere on this page

or paste with Ctrl / ⌘ + V ·

Accepts PNG

Your PNG files never leave this tab

Find Pixel Group Coordinates is JavaScript that your browser has already downloaded, and it does the whole job on your own machine. On a normal site, 200 photos straight off a camera means 1.6 GB uploaded, a wait in somebody's queue, and 240 MB downloaded again. Here it means 0 bytes up and 0 bytes down.

  • No upload
  • No file size limit
  • Works offline once loaded
  • Nothing stored or logged

How to use Find Pixel Group Coordinates

  1. 1. Add the PNG. Drop in a PNG such as a sprite sheet, a mask or a scanned form. It is analysed in your browser and never uploaded.
  2. 2. Choose what forms a group. Pick non-transparent pixels, dark or light pixels, or a color with a tolerance. Touching pixels, including diagonal ones, belong to one group.
  3. 3. Read the boxes and coordinates. Each group is boxed and numbered on the picture. The panel lists its left and top position, width, height, pixel count and centre point.

When to use Find Pixel Group Coordinates

Find Pixel Group Coordinates labels every connected group of pixels in a PNG and reports where it is. You get numbered bounding boxes drawn over the picture plus a list of positions, sizes and centres that you can use in code, CSS or a spreadsheet.

  • Slicing an irregular sprite sheet. Sprites packed without a grid are separated by transparency. Each sprite becomes one group, so its x, y, width and height are ready for a sprite map.
  • Counting marks on a scan. Dark pixels on a scanned sheet form one group per mark or blot, giving a count and a position for each, with a minimum size to skip dust.
  • Locating colored markers. Picking the color of the markers in a test image returns the centre of each marker, which is useful for checking alignment or calibration.

Examples

Locate sprites on a sheet

Input

spritesheet.png with transparent gaps

Output

Numbered boxes on each sprite plus x, y, width and height for each

Count marks on a scan

Input

form.png, dark pixels, ignore groups under 20 px

Output

Every ink mark boxed and listed with its centre point

About the Find Pixel Group Coordinates tool

Find Pixel Group Coordinates does its work locally, right in the browser. Find every connected group of pixels and list its position, bounding box, size and centre. There is no upload step, no queue and no account, and your data never travels over the network.

It belongs to the PNG Tools collection on EditSafely, a set of 292 small, focused PNG utilities that share the same instant, private workspace.

You can shape the output with 5 settings, including Pixels that form groups, Color, Color tolerance (%) and Brightness cut-off (%); the result is redone automatically when you change one. 2 worked examples further down the page show exactly what the tool produces for real inputs.

Running locally also makes the tool fast and dependable: the image is read straight from your device the moment you drop it, there is no server outage that can take it down mid-task, and private pictures stay private.

Frequently asked questions

Is Find Pixel Group Coordinates free to use?

Yes, it is completely free. All 2,943 tools on EditSafely work without an account, a subscription or usage limits.

Are my files uploaded to a server?

Everything happens locally. Your browser downloads the tool's code once, then does all the processing itself; nothing you enter is transmitted, stored or logged. You can even go offline after the page loads and it will still work.

Which files does Find Pixel Group Coordinates accept?

It accepts PNG images. There is no file size cap imposed by a server; very large files are limited only by your device's memory.

Do I need to sign up or install anything?

No. The tool works in any modern browser on desktop, tablet or phone. There is no account to create, no extension to add and no software to install.

Can I save what the tool produces?

Yes. Use the download or copy controls in the output panel to keep the rendered result once it looks the way you want.

Related tools

All PNG Tools →