Utilia

Glitch Effect Generator

Add a glitch effect to any image online - pixel sorting, RGB split, VHS scanlines and JPEG corruption, with a reproducible seed and no upload.

How to glitch an image

  1. Drop an image on the drop zone, or click it to choose one. The picture is decoded in your browser; nothing is uploaded.
  2. Pick a starting point in Presets: Subtle, VHS, Datamosh, Pixel sort or Chaos. A preset changes the effect settings but keeps your current Seed.
  3. Adjust the effects: RGB channel shift (Shift distance and Shift angle), Pixel sorting (Sort by, Direction and the two brightness thresholds), Corruption (Shifted bands, Band shift, JPEG byte corruption) and Texture (Scanlines, Scanline spacing, Noise).
  4. Click New random seed until the random parts (band positions, corrupted bytes, grain) fall where you like. Tick Animate preview (cycles seeds) to see many variations flicker past.
  5. Click Download PNG. Reset settings brings back the default values.

The preview is computed on a copy of at most 900 px on the longer side. Distances are defined for a 1000 px wide image and scaled to the real width, so the full-size export looks like the preview. The export keeps the original size up to 4096 px on the longer side; larger images are scaled down to that limit.

How the effects are built

The effects are always applied in the same order:

  1. JPEG byte corruption encodes the image as a JPEG at quality 75, changes random bytes inside the compressed image data (never creating the 0xFF marker bytes, so the file structure survives), then decodes the damaged file. This produces the smeared blocks and colour shifts of a broken download. If the browser refuses to open the damaged file, the tool retries with fewer changed bytes.
  2. Shifted bands slide horizontal strips sideways with wrap-around, and swap two colour channels in some of them. It imitates the look of data-moshing; it is not real video datamoshing, which removes key frames from a compressed video.
  3. Pixel sorting works along each row or column. Runs of consecutive pixels whose brightness lies between the Lower brightness threshold and the Upper brightness threshold are sorted by Brightness or Hue; pixels outside the range stay put. A wide range melts the whole picture, a narrow one only streaks the mid-tones.
  4. RGB channel shift moves the red channel one way and the blue channel the opposite way along the chosen angle, while green stays in place: the chromatic aberration look of cheap lenses and misaligned CRTs.
  5. Scanlines darken every Nth row, like an old TV screen, and Noise adds monochrome grain.

Every random choice comes from the seed. The same image, the same settings and the same seed always give an identical result, so write the seed down if you want to reproduce an image later.

A short history of glitch art

Glitch art turns digital errors into an aesthetic. In the 2000s artists practised “databending”: opening image files in text or audio editors and changing raw bytes to see what the decoder would make of them. Pixel sorting was popularised around 2010 by the artist Kim Asendorf, whose script sorted stretches of pixels between brightness limits, the same principle used here. Since then, RGB splits, VHS scanlines and corrupted JPEGs have become standard visuals for album covers, posters and social media.

Tips

  • Pixel sorting shines on skies, gradients and portraits: vertical sorting on a sunset gives dripping colour, horizontal sorting on a face gives wind-swept streaks.
  • Tighten the thresholds (for example 30 % to 70 %) to keep highlights and shadows intact.
  • Combine a strong effect with low Noise (5–15) to hide banding without muddying the image.
  • The export is PNG, which is lossless and keeps the glitch crisp. It is a still image: this tool does not create GIFs or videos.

Frequently asked questions

Are my images uploaded?

No. Decoding, the effects and the PNG encoding all run in your browser. The image never leaves your device.

How can I get exactly the same glitch again?

Note the Seed and your settings. With the same image, the same settings and the same seed, the result is identical, pixel for pixel.

Why do the thresholds change the pixel sort so much?

Only pixels whose brightness is between the two thresholds are sorted. A range of 0 % to 100 % sorts entire rows; a narrow range sorts short runs and leaves the rest of the photo recognisable.

Is the animated preview safe for people sensitive to flashing?

The animation flickers quickly, so leave it off if flashing images bother you. When your operating system asks for reduced motion, the option is disabled automatically.

Can I export an animated GIF?

No. Download PNG saves one still image. To make a sequence, export several seeds and assemble them in another program.