IMAGE TOOLS · BFOTKIT

Pixel Sorting | BFOTKit

A glitch-art classic: pixels whose brightness falls in a chosen band are sorted along their row, smearing photos into flowing ribbons.

or drop an image here

All pixel processing happens locally in this browser tab. Nothing is uploaded to a server.

GUIDE

What pixel sorting does

Sort only a brightness band

The algorithm walks each row, collecting runs of pixels whose luminance sits between your thresholds, then sorts each run from darkest to lightest. Pixels outside the band stay put, anchoring the image.

Narrow bands, elegant streaks

Set a tight band around the highlights (say 180–255) and only bright areas stretch into light trails — the signature look. Sorting the midtones instead melts faces and structures more aggressively.

It is destructive by nature

The output rewrites pixel positions, so detail is genuinely rearranged, not blurred. Every render is deterministic — same settings, same result.

HELP / FAQ

Pixel sorting questions

Why does nothing change?

Your thresholds probably miss the image luminance range. Widen both ends, or check the histogram: a dark photo sorts nothing above 200.

Can I sort vertically?

This tool sorts rows, which is the classic horizontal smear. Rotate your image with the companion resizer if you want vertical trails.

Is it reversible?

No. Sorted pixels discard their original order, so keep your source file.

Where does it run?

Locally in this tab — pixel math on canvas, nothing uploaded.

EXPLORE BY CATEGORY · BFOTKIT

More tools like this

Pick a category to see every tool in it — then open one and discover related tools.

Browse all tools