What is a threshold filter?
A threshold filter turns a photo into pure black and white: every pixel becomes either black or white, with no grey in between. A pixel brighter than the threshold becomes white; a pixel darker than it becomes black. The tool runs entirely in your browser — you choose a photo, the threshold is applied on your device, and nothing is uploaded.
The result is a stencil: bold black shapes on white, with hard edges and no shading. It is the look of a photocopy set too dark, a rubber stamp, or a black-and-white logo. The effect throws away most of the photo's information — all the grey tones — and keeps only the shapes. That is why it suits logos, stamps, and graphic art rather than portraits.
Threshold is the simplest possible image effect. Where most filters adjust colours or tones, threshold makes one decision per pixel: light or dark. The whole photo becomes a two-tone image, which is why the result is so stark and so easy to read at a glance.
How threshold works: brightness and the cut-off
Each pixel's brightness is measured with the standard luminance formula: 0.299 times red plus 0.587 times green plus 0.114 times blue. Green counts most because the human eye is most sensitive to green light; blue counts least. A pixel with red 100, green 150, blue 200 has a brightness of 29.9 plus 88.05 plus 22.8, which is 140.75, or 141 when rounded.
The threshold is the cut-off, from 0 to 255, with a default of 128, the middle. A pixel whose brightness is at or above the threshold becomes white, 255, 255, 255. A pixel below it becomes black, 0, 0, 0. At the default of 128, the pixel above, at 141, becomes white; if the threshold were 150, the same pixel would become black. One number decides the whole picture.
Because the decision is per pixel and absolute, the result has no soft edges. A smooth gradient from dark to light becomes a hard line where it crosses the threshold. A face becomes black patches where the shadows were and white patches where the light was. The effect is honest about what it does: it keeps the shapes and drops the shading.
The threshold slider, and what it does
The threshold slider sets the cut-off from 0 to 255. At 0, every pixel is at or above the threshold, so the whole photo becomes white. At 255, only pixels at full brightness stay white and everything else becomes black, so the photo is almost entirely black. Between the two, the slider controls how much of the photo is white and how much is black.
Low thresholds, from 60 to 100, keep most of the photo white and only the darkest shadows black: the result is light and airy, good for line art and sketches. The default of 128 splits the photo roughly in half. High thresholds, from 160 to 200, keep only the brightest parts white: the result is dark and bold, good for a stamp or a silhouette. The slider is live, so you can drag it and watch the shapes shift until the picture reads clearly.
The threshold also controls the download. The file you save is the photo at the threshold shown, at the original size, in the same format it arrived in. The preview on the page is the same image, so what you see is what you download.
A worked example: one pixel, then a whole photo
Take one pixel with the colour red 100, green 150, blue 200. Its brightness is 0.299 times 100 plus 0.587 times 150 plus 0.114 times 200, which is 29.9 plus 88.05 plus 22.8, or 140.75, rounded to 141. At the default threshold of 128, 141 is above the cut-off, so the pixel becomes white, 255, 255, 255. At a threshold of 150, 141 is below the cut-off, so the same pixel becomes black, 0, 0, 0. The same pixel can be white or black depending on one number.
Now take a mid-grey pixel, 128, 128, 128. Its brightness is 0.299 plus 0.587 plus 0.114 times 128, which is exactly 128. At a threshold of 128, it is at the cut-off, so it becomes white. At a threshold of 129, it becomes black. Pixels near the threshold flip with a single step of the slider, which is why dragging the slider feels so sensitive near the middle: many pixels sit close to the cut-off.
Take a whole photo, 1920 by 1080 pixels. The tool reports its size as 1920 × 1080, an aspect ratio of 16:9, 2.1 megapixels, and an uncompressed size of 5.93 MB. Those numbers describe the photo itself: threshold changes the pixel values, not the dimensions. A smaller photo, 800 by 600, is 4:3, 0.5 megapixels, and 1.37 MB uncompressed.
Who uses a threshold filter, and why
Logo and stamp makers are the biggest users. A logo needs to work in one colour, and a threshold pass turns a photo into a one-colour shape that can be printed, cut, or stamped. A rubber stamp, a screen print, and a vinyl cut all need pure black and white with no grey, and threshold is the fastest way to get there from a photo.
Artists use it for high-contrast black-and-white art. A threshold portrait has a woodcut quality: bold black shapes, white highlights, and no middle ground. The effect suits posters, zines, and album covers where the image must read from across a room. It also suits stencils: a threshold image is already a cutting pattern, black where the paint goes.
Teachers and document makers use it for clarity. A scanned document, a whiteboard photo, or a hand-drawn diagram becomes easier to read after threshold, because the grey smudges and shadows drop to white or black. A signature scanned at threshold is clean enough to place on a letterhead. The effect is a quick clean-up, not just an art style.
Threshold vs posterize vs grayscale
Threshold, posterize, and grayscale all simplify a photo, but they keep different amounts. A grayscale converter keeps all 256 brightness levels and drops the colour: the result is a full grey photo. Posterize keeps a few levels per channel: the result has flat colours but keeps the hues. Threshold keeps two levels only: black and white, with nothing in between.
If you want a photo that still looks like a photo, use grayscale. If you want a bold graphic with flat colours, use posterize. If you want a stencil, a stamp, or a pure black-and-white shape, use threshold. The three sit on a scale from most information kept to least, and threshold is the extreme end: it keeps the shapes and nothing else.
Some people combine them: threshold after a contrast tool gives cleaner edges, because contrast pushes the tones apart before the cut-off is applied. Or posterize at 2 levels first, then threshold, which gives a similar result with a slightly different feel. The threshold slider makes these combinations easy to try.
Common threshold mistakes
The most common mistake is threshold on a photo with a busy background. Every leaf, every brick, every fold of cloth becomes a black or white blob, and the subject disappears into the noise. Threshold works best on photos with a plain background and a clear subject. If the background is busy, crop it first or use a blur tool to simplify it before threshold.
Second: the wrong threshold for the subject. A dark-skinned person at a high threshold can lose their face to black; a light object at a low threshold can vanish into white. There is no universal right value — drag the slider and watch the subject, not the whole photo. The right threshold is the one where the subject reads clearly.
Third: expecting threshold to keep detail. It cannot: a pixel is black or white, and the grey tones that carry texture are gone. A threshold photo of a face has no skin texture, no soft shadow, no hair detail — only shapes. If the detail matters, use grayscale or posterize instead, which keep more of it.
How to use this image threshold tool
Choose an image — JPEG, PNG, or WebP. The tool reads its size and shows it above the result: dimensions, aspect ratio, megapixels, and uncompressed size. Then set the threshold. The default is 128, the middle. Drag the slider down for a lighter result with more white, or up for a darker result with more black. The preview updates as you drag.
When the preview looks right, press the download button under it. The file is the threshold image at the photo's original size, in the same format it arrived in. You can run the tool again on the downloaded file, but a second threshold changes nothing — the pixels are already black or white. To start over, use the original file. There is no sign-up, no account, and no upload.
Everything runs in your browser. No sign-up, no account, no data sent anywhere — the photo never leaves your device, and the page works offline once it has loaded. For a softer black-and-white instead of a stark one, blur the photo first with a blur tool to soften the edges before the cut-off; for a full grey photo, an image grayscale converter does the job.