No Login Data Private Local Save

Pixel Sorter Effect - Online Glitch Art Generator

9
0
0
0
Pixel Sorter

Glitch art generator — sort pixels by color properties for stunning datamosh effects.

Drop image here or click to upload

JPG, PNG, WebP, GIF — Max 20MB

to
30 200
Every row/col Every 20th
Precise Chaotic
Preview

Upload an image to begin

Drag & drop, click the upload area, or paste from clipboard

Frequently Asked Questions

Pixel sorting is a glitch art technique that rearranges pixels within an image based on a specific property like brightness, hue, or color channel value. It originated from datamoshing and circuit-bending aesthetics. The algorithm scans rows or columns of pixels, identifies contiguous segments that fall within a defined threshold range, and sorts those pixels by the chosen property. The result is a mesmerizing, fluid-like distortion that reveals hidden structures in the image while creating something entirely new.

No — everything happens locally in your browser. Your image never leaves your device. The entire pixel sorting process runs client-side using JavaScript and the HTML5 Canvas API. We do not upload, store, or transmit your images to any server. This means your privacy is fully protected, and the tool works even when you're offline after the page has loaded. You can use it with complete confidence for sensitive or personal photos.

Images with strong contrast and gradients yield the most dramatic results. Landscapes with bright skies and dark foregrounds, cityscapes with neon lights, portraits with rim lighting, and abstract compositions all work exceptionally well. Images with large smooth gradients (like sunsets or foggy scenes) create beautiful flowing effects. Flat, uniformly-lit images may produce subtle or barely noticeable changes. Experiment with different threshold ranges to isolate specific brightness or color zones for the most striking glitch art.

  • Luminance: Sorts by perceived brightness (0.299R + 0.587G + 0.114B). Best for creating smooth brightness gradients.
  • Hue: Sorts by color hue angle (0–360°). Creates rainbow-like spectral arrangements.
  • Saturation: Sorts by color intensity. Vivid pixels get grouped together.
  • Red/Green/Blue Channel: Sorts by individual color channel intensity. Creates channel-specific distortion effects.
  • Threshold Range: Only pixels whose sort-value falls within this range are affected. Pixels outside the range stay in place.
  • Interval: Skips rows/columns to create stripe patterns.
  • Jitter: Adds randomness to the sort order for organic, chaotic results.

Click the green "Download PNG" button after processing your image. The download is a high-quality PNG file at the processed resolution (up to 1200px on the longest side). You can also right-click the preview canvas and select "Save image as..." in most browsers. For the highest quality, use a high-resolution source image — the tool processes at up to 1200px to ensure smooth real-time previews while maintaining excellent output quality for social media, prints, and digital art projects.

Yes! The images you create with this tool are yours. Since the processing happens entirely in your browser and uses your own source images, you retain full ownership of the output. There are no watermarks, attribution requirements, or usage restrictions. Feel free to use your glitch art for album covers, social media posts, NFT projects, merchandise, or any commercial purpose. If you're using someone else's photograph as the source, make sure you have the appropriate rights to that image.

Horizontal sorting processes each row independently, scanning left-to-right and sorting pixel segments within rows. This creates horizontal streaks and a "wind-blown" look. Vertical sorting processes columns top-to-bottom, producing vertical drips and melting effects reminiscent of heavy datamoshing. The Both Directions mode applies horizontal sorting first, then vertical sorting on the result — creating complex, woven distortions that are especially striking on detailed images. Try all three on the same image to see how dramatically the effect changes!

  • Start with the Classic Glitch preset and fine-tune from there.
  • Use a narrow threshold range (e.g., 80–150) to target midtones while leaving shadows and highlights untouched.
  • Increase interval to 3–5 for rhythmic stripe patterns.
  • Add jitter (10–25) for a more organic, less mechanical look.
  • Try Hue sorting on colorful images for psychedelic rainbow effects.
  • Use the Show Original toggle to compare before/after while tweaking parameters.
  • Process the same image multiple times with different settings and layer them in photo editing software for complex compositions.