Sort PNG Pixels by Hue
Pixel-sort a PNG by hue: runs of pixels along each row or column are reordered around the color wheel. Runs entirely in your browser, so your data never leaves your device.
Runs on your device, nothing uploaded
Drop images anywhere on this page
or paste with Ctrl / ⌘ + V ·
Accepts PNG · several at once
Your PNG files never leave this tab
Sort PNG Pixels by Hue 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 Sort PNG Pixels by Hue
- 1. Add the PNG. Drop in a colorful PNG. Sorting happens in your browser and keeps the picture size and transparency.
- 2. Set the brightness window. Runs of pixels inside the brightness window are sorted and the rest stay in place. Use 0 to 100 to sort complete rows or columns.
- 3. Pick direction and order, then run. Sort along rows or columns. Ascending goes red, yellow, green, cyan, blue, magenta; descending runs the wheel the other way.
When to use Sort PNG Pixels by Hue
Sort PNG Pixels by Hue is a pixel sorter that orders pixels around the color wheel instead of by brightness. Runs of pixels turn into rainbow bands, making it the most colorful variant of the pixel sort glitch.
- Rainbow glitch effects. Sorting a flower field or a neon street by hue turns every row into a band of colors running from red through to violet.
- Visualizing a palette. Sorting whole rows shows which hues a picture is made of and in what proportion, a quick way to read its color scheme.
- Backgrounds and textures. Hue-sorted photos make abstract striped backgrounds that keep the original colors of the source image.
Examples
Pixel-sort a photo
Input
flowers.png, columns, brightness 0-100%
Output
flowers.png with every column ordered red to yellow to green to blue
About the Sort PNG Pixels by Hue tool
Sort PNG Pixels by Hue is a free online tool that works entirely inside your web browser. Pixel-sort a PNG by hue: runs of pixels along each row or column are reordered around the color wheel. Because the processing happens on your own device, nothing you enter is uploaded, logged or stored anywhere.
This page is one of 292 PNG utilities on EditSafely. Each one does a single job well, and all of them follow the same rule: your input stays on your machine.
You can shape the output with 4 settings, including Sort along, Order, Sort pixels brighter than (%) and and darker than (%); the result is redone automatically when you change one. The finished file is put together in browser memory and saved with the Download button, so it never touches a server on the way to your disk. A worked example further down the page shows exactly what the tool produces for a real input.
Because nothing leaves your device, the tool is suitable for sensitive images such as ID scans, screenshots of internal systems or personal photos. It is also quick, since the pixels are processed on your own machine rather than by a remote API.
Frequently asked questions
Does Sort PNG Pixels by Hue cost anything?
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?
No data leaves your device. The whole tool is JavaScript that runs inside your browser tab, so there is no upload, no server-side processing and no log of what you did. If you disconnect from the internet after the page loads, it keeps working.
Which files does Sort PNG Pixels by Hue 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?
Nothing to install and no account needed. Open the page in any up-to-date browser, including on a phone or tablet, and the tool is ready.
How do I save the output?
Click the Download button once the result is ready. The file is built in your browser's memory and handed straight to your downloads folder, without passing through a server.
Related tools
All PNG Tools →Sort PNG Pixels by Brightness
Pixel-sort a PNG: runs of pixels along each row or column are rearranged from dark to light, the classic glitch look.
Sort PNG Pixels by Saturation
Pixel-sort a PNG by saturation: runs of pixels along each row or column go from grey to vivid.
Shift Pixels by Offset Value
Slide each row or column sideways by its own offset, following a wave, random bands or random lines, for a glitch effect.
Convert PNG to Glitch Art
Slice, shift and channel-split a PNG into corrupted-datamosh glitch art.