# Pixel Sorting

> Melt photos into light streaks: pixels within a chosen brightness band get sorted along their row — the classic glitch effect, computed locally.

[bfotkit](/) Runs in your browserCategories ▾[All tools 307](/en/tools/)[Text tools9](/en/tools/text-tools/)[Image tools27](/en/tools/image-tools/)[PDF tools20](/en/tools/pdf-tools/)[Social media tools97](/en/tools/social-media-tools/)[Security tools8](/en/tools/security-tools/)[Coding tools25](/en/tools/coding-tools/)[CSS tools12](/en/tools/css-tools/)[Color tools6](/en/tools/color-tools/)[Miscellaneous tools103](/en/tools/miscellaneous-tools/)

[All tools ↗](/en/tools/)[EN](/en/tools/pixel-sorting/)[PT](/pt-br/ferramentas/pixel-sorting/)[DE](/de/werkzeuge/pixel-sortierung/)[ID](/id/alat/pengurutan-piksel/)[RU](/ru/instrumenty/sortirovka-pikselej/)

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.

Choose an imageDownload PNG

or drop an image here

Wide thresholds melt almost everything; narrow bands isolate highlights or shadows for subtle streaks.

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.

[All tools 307](/en/tools/)[Text tools 9](/en/tools/text-tools/)[Image tools 27](/en/tools/image-tools/)[PDF tools 20](/en/tools/pdf-tools/)[Social media tools 97](/en/tools/social-media-tools/)[Security tools 8](/en/tools/security-tools/)[Coding tools 25](/en/tools/coding-tools/)[CSS tools 12](/en/tools/css-tools/)[Color tools 6](/en/tools/color-tools/)[Miscellaneous tools 103](/en/tools/miscellaneous-tools/)

[Image toolsImage Color Extractor↗](/en/tools/image-color-extractor/)[Image toolsImage Average Color Finder↗](/en/tools/image-average-color-finder/)[Image toolsImage Background Remover↗](/en/tools/image-background-remover/)[Image toolsImage Color Picker↗](/en/tools/image-color-picker/)[Image toolsImage Resizer↗](/en/tools/image-resizer/)[Image toolsImage Cropper↗](/en/tools/image-cropper/)[Image toolsImage Filters↗](/en/tools/image-filters/)[Image toolsSVG Blob Generator↗](/en/tools/svg-blob-generator/)

[Browse all tools →](/en/tools/)

[bfotkit](/)[All tools](/en/tools/)[Privacy Policy](/en/privacy-policy/)[Terms & Conditions](/en/terms-and-conditions/)[About Us](/en/about-us/)[Contact Us](/en/contact-us/)

Useful tools. No fuss. © 2026 BFOTKit[bfotkit.com ↗](https://bfotkit.com/)
