Fix the busy background
How to blur the background of a photo for a thumbnail or cover

Short answer
The shot is good and the desk behind it is not. Run it through the free Koldflux Blur background tool and leave the slider at 40: it finds the main subject, blurs everything else and runs in your browser, so nothing is uploaded. Download the PNG, then zoom in on the outline before you use it. In four test photos, strength 40 left 0.1 to 4.8% of the background's fine detail, and the subject boxes kept 95.8 to 99.6% of their own. The tool keeps one subject, so crop first if something big should stay blurred.
Key takeaways
- Strength 40 is a safe start. On our 2000 px photos it means a 40 px blur radius, and on each of four test photos the background kept 4.8% of its fine detail or less (cat on grass 4.8%, sleeping dog 3.4%, plant 0.6%, two cats 0.1%).
- Grass and leaves need more than the minimum. The cat photo with a grass background kept 12.2% of its background detail at strength 20 but 4.8% at 40 and 1.4% at 80; the other three photos were already under 4% at 20.
- The part the model takes as the subject stays sharp: 95.8 to 99.7% of the detail inside our subject boxes survived at every strength from 20 to 100. This holds only for the part the model takes as the subject: in the cat photo the figure shows the body and the whiskers going soft, and the 96.5% is for a box we placed around the head. The strength changes how smooth the background looks, not how sharp the subject is.
- Look at the outline at 100% zoom. The plant photo got a light glow around the leaf tips, and the dog photo a pale rim. The tool's own page says faint traces stay next to fine patterns.
- The tool keeps one main subject. With two cats side by side it kept the tabby sharp and blurred the black cat (1.2 to 1.4% of its detail left). Crop to the one you want first.
- On our four 2000 px photos the file kept its pixel size (the plant: 1500 × 2000 in, 1500 × 2000 out), and you can save a PNG or a JPG. The tool scales any picture over 16 megapixels down (a 24 MP photo came out at 4921 × 3250 px). Nothing here says what a platform does to your picture after you upload it.
How do you get from a busy snapshot to a clean cover?
You have a good shot with a messy background: a cluttered desk, a street, a lawn. Here is the whole route, and it takes about a minute.
- Open the Koldflux Blur background tool (button above). Choose your photo. It stays on your device.
- Wait for the subject to be found. On 2000 px photos the tool reported 3.5 to 5.7 seconds for that step (tool-run-raw.txt).
- Leave the slider at 40, the default. Move it only after you have seen the result (the next section says which way).
- Open the downloaded file at 100% zoom and look at the outline of the subject: ears, hair, leaf tips, anything thin.
- Download the PNG if you will keep editing (add text, resize), or the JPG for a quick upload. The tool's code saves the JPG at quality 0.92.
Run in headless Chromium on November 24, 2026: four photos at five strengths each (20 downloads), logged in tool-run-raw.txt. The default of 40 and the PNG and JPG buttons are what the live page shows. The page says the model runs in your browser and nothing is uploaded; we did not inspect network traffic.

What does the slider really do?
The strength is a share of the picture's size. On the live page: "Strength 100 blurs with a radius of 5% of the picture's longer side, so the same setting looks the same on a thumbnail and on a full photo." (Koldflux tool page, read November 24, 2026). On 2000 px photos that made the radius equal to the strength in pixels: 20, 40, 80 and 100 px, which is what the tool printed next to the slider.
That is the tool page's promise that one setting looks the same on a small copy and on a full photo. We did not test it: all four of our photos are 2000 px on the long side, so the percentages on this page are for 2000 px photos only.
Which strength should you pick?
More blur is not always more hidden. Even a small radius removes most fine detail, so the numbers stop moving early. The exception is a textured background right behind the subject, like grass.
| Photo | Strength 20 | Strength 40 | Strength 80 | Strength 100 | Subject kept at 40 |
|---|---|---|---|---|---|
| Cat on grass | 12.2% | 4.8% | 1.4% | 1.1% | 96.5% |
| Sleeping dog | 3.9% | 3.4% | 2.7% | 2.7% | 99.1% |
| Plant on granite | 1.4% | 0.6% | 0.2% | 0.2% | 95.8% |
| Two cats on a chair (wall and pillow) | 0.2% | 0.1% | 0.0% | 0.0% | 99.6% |
Measured on November 24, 2026 (test-results.txt). The number is the variance of the Laplacian of the grayscale picture inside a rectangle we placed by hand, output divided by input for the same rectangle. 100% would mean no change, 0% a perfectly flat area. The subject box is a rectangle around the subject, so it also holds a little background at its corners. In the cat photo it is a box around the head only: a box on the cat's body (0,400 600x700) kept 11.4% at strength 40, and one on the chin and whiskers (400,750 400x300) kept 17.1%, so only what the model takes as the subject stays sharp.
How to read it: if the background still shows texture at 40 (grass, gravel, foliage), go to 60 or 80 (we measured 80; 60 is untested). If you only want a gentle depth effect, 20 gives a visibly softer but still recognisable background. The sleeping dog barely moves between 20 and 100 (3.9% to 2.7%), so a higher setting buys you nothing there. This is our suggestion from four photos, not a rule.


When will it fail, and what then?
Two patterns are worth knowing: one we saw (the black cat), one the tool page describes and we did not reproduce. First, the tool keeps one main subject. In the two-cat photo it kept the tabby sharp and blurred the black cat sitting right beside it (the black cat kept 1.2% of its detail at 20, 1.4% at 100). The tool page puts it this way: "The subject is whatever the model finds most prominent; if it picks the wrong thing, crop closer to the one you want." (Koldflux tool page, read November 24, 2026)
Second, the tool page says a big object behind the subject can stay sharp. None of our four photos showed this. The page lists that as its failure case: "a second large subject in the background, which the model keeps sharp. Crop it out first." Its own test reports that the background kept 34% of its detail in that case. That figure is from the tool page, from its own 48 composites; we did not reproduce it. The fix is the one the page gives: crop out the extra subject or crop closer, then run it again.
Cluttered edges are the third thing to watch: a subject standing in tall grass or in front of text and fine patterns. The cat on grass kept 96.5% of its subject detail, but the tool page warns about faint traces there, and the check above is how you find them.

Is the outline clean?
The blur is easy. The edge is where a cutout shows. Two kinds of edge effect showed up in the files.
On the plant photo, a light green and pink glow sits around the leaf tips at strength 40 (bottom row of the figure above, in the section on failures). On the dog photo the screenshot at the top of this page shows a pale rim along the back and ears. The tool page says the same: "Handwriting, foliage and other fine patterns right next to the subject leave faint traces at the outline." (Koldflux tool page, read November 24, 2026).
Measured the same day: inside the plant's subject box the share of pixels that changed by more than 2 levels (out of 255) grew with the strength: 15.8% at 20, 19.2% at 40, 21.3% at 100. The cat went from 10.1% to 11.4% over the same range, the dog from 1.9% to 2.0%. We measured the share over the whole box, not the outline alone, so we cannot say how much of it is the outline; the tool page says the mask is soft there, which is the likely cause.
Our suggestion, from that trend: use the lowest strength that makes the background look smooth, then zoom in. If the rim still bothers you at a thumbnail's final size, it probably will not be visible there, but check at that size.
How do you use the result in a thumbnail or cover?
A blurred background gives text and a face room to read. Put your headline on the smooth side and keep the subject away from the edges of the frame. The guide on making a thumbnail covers sizes, text and contrast, and it is the next step after this one.
If your picture is a video, not a still, the video route is different: see the guide on removing a video background in CapCut. This page is for one photo, and the measurements here are for stills.
How do you check your own result with a number?
Do not trust your eyes alone on a small screen. Save the script, then run it on the same rectangle of the original and of the blurred file. A rectangle that held texture should drop to a few percent of the original number. The rectangle must cover the same area in both files, so first check that both pictures have the same width and height. The script ignores the orientation tag of a phone JPEG, and the tool applies it (and scales photos over 16 megapixels), so a file that came out rotated or smaller needs the original rotated or resized to match first. On a test file with orientation 6, the script stopped with "the rectangle leaves the picture" (commands.log).
Run on November 24, 2026 (python 3.10.18, Pillow, numpy). On the sleeping dog it printed 24.41 for the original patch and 0.83 for the strength 40 file, which is 3.4%. Controls: strength 0 gave exactly the input number (ratio 1.000), a flat grey patch gave 0.0, and a one-pixel black and white checkerboard gave 1040400.0. Edge cases (missing file, empty file, text file named .jpg, a rectangle under 3 × 3 or outside the picture, a coordinate that is not a number) each stop with a reason and exit 1; they are in commands.log. The script needs Pillow and numpy installed; without them it exits with a message.
#!/usr/bin/env python3
"""Sharpness of one rectangle of a picture: variance of the Laplacian of its grayscale.
Usage: python3 region-sharpness.py <image> <x> <y> <width> <height>
Higher = more fine detail, 0 = perfectly flat. Compare the SAME rectangle before and after blurring.
Needs: pip install pillow numpy"""
import os
import sys
try:
import numpy as np
from PIL import Image
except ImportError:
sys.exit("error: needs Pillow and numpy (pip install pillow numpy)")
def fail(msg):
sys.exit("error: " + msg)
if len(sys.argv) != 6:
fail("usage: region-sharpness.py <image> <x> <y> <width> <height>")
path = sys.argv[1]
if not os.path.isfile(path):
fail("file not found: " + path)
if os.path.getsize(path) == 0:
fail("file is empty: " + path)
try:
x, y, w, h = (int(v) for v in sys.argv[2:6])
except ValueError:
fail("x, y, width and height must be whole numbers of pixels")
try:
img = Image.open(path)
img.load()
except Exception:
fail("not a picture Pillow can read: " + path)
if w < 3 or h < 3:
fail("the rectangle must be at least 3 x 3 pixels")
if x < 0 or y < 0 or x + w > img.width or y + h > img.height:
fail("the rectangle leaves the picture (%d x %d px)" % (img.width, img.height))
g = np.asarray(img.convert("RGB"), dtype=np.float64)[y:y + h, x:x + w]
g = g @ np.array([0.299, 0.587, 0.114])
lap = g[:-2, 1:-1] + g[2:, 1:-1] + g[1:-1, :-2] + g[1:-1, 2:] - 4 * g[1:-1, 1:-1]
print("%s rect %d,%d %dx%d sharpness %.2f" % (os.path.basename(path), x, y, w, h, lap.var()))python3 region-sharpness.py photo.jpg 150 60 400 300
python3 region-sharpness.py photo-blurred.png 150 60 400 300
# divide the second number by the first: 0.034 means 3.4% of the detail is left
# if the first number is 0.00 the patch was flat: choose a patch with textureWhat are the limits of this test?
The limits of what this page shows:
- The detail percentages were measured on 2000 px photos only; the tool page says 40% is 80 px on a 4000 px photo, which we did not run.
- Four photos, one per scenario, all CC0 files from Wikimedia Commons that we rescaled to 2000 px on the long side. One run each.
- We placed the measuring rectangles by hand. The metric counts fine detail only: it says nothing about how pleasant the blur looks or whether the outline is clean.
- We did not test HEIC files, hair against a busy background, text in the background, or what happens on a phone browser.
- The tool page's numbers (48 composites, 1.2%, 0.2%, 34%) are its own, not ours, and we did not repeat them.
- Nothing here says how YouTube, Instagram or any platform recompresses or crops a cover. We have no accounts and did not upload anything.
Do it in your browser
Free Koldflux tools, no account needed.
Blur the background of a photo (free, runs in your browser)Remove the background instead (if blur keeps the wrong subject)
Questions people ask
How do I blur the background of a photo online for free?
Open the Koldflux Blur background tool, choose the photo and move the slider; the model runs in your browser and nothing is uploaded. Start at 40, check the outline at 100% zoom, then download the PNG or JPG.
What blur strength should I use for a thumbnail?
Start at 40. In four test photos it left 0.1 to 4.8% of the background detail. Go higher (60 to 80; we tested 80, not 60) for grass or foliage, lower (20) for a gentle depth effect. This is a suggestion from four photos.
Why is part of my background still sharp?
The tool keeps the most prominent subject (we saw this with the black cat), and its page says a second large object in the background can stay sharp. It says to crop that object out first, or crop closer to the subject you want.
Why is there a glow or rim around my subject?
Probably the soft edge of the cutout: the tool page says the mask is soft at the outline and that fine patterns next to the subject leave faint traces. We saw a glow on a plant and a rim on a dog, and we did not separate the outline from the rest of the subject box. Use the lowest strength that looks smooth and check at the final size.
Does blurring the background make the file smaller or change its size in pixels?
On our four 2000 px photos the pixel size stayed the same (for example 1500 × 2000 in, 1500 × 2000 out). The tool scales pictures over 16 megapixels (about 4900 × 3300) down: a 24 MP test photo came out at 4921 × 3250 px. We did not compare file sizes in bytes.
Related
More guides on this topic
Sources and how we checked
- Koldflux test log: sharpness of subject and background boxes at five strengths, controls (our measurement, November 24, 2026) (checked 2026-11-24)
- Koldflux command log: every published command with its exit code and an edge case (checked 2026-11-24)
- Koldflux region-sharpness.py: the measuring script used on this page (checked 2026-11-24)
- Koldflux tool runs in headless Chromium: 20 downloads (tool-run-raw.txt) (checked 2026-11-24)
- Koldflux Blur background tool page (own test numbers, limits; read November 24, 2026) (checked 2026-11-24)
We took four CC0 photos from Wikimedia Commons (a cat on grass, a sleeping dog, two cats on a chair, a potted plant), rescaled each to 2000 px on the long side, and ran the live Koldflux Blur background tool on each at strengths 0, 20, 40, 80 and 100 in headless Chromium. We placed a subject rectangle and a background rectangle by hand on each photo and compared the variance of the Laplacian before and after, with controls (strength 0, a flat patch, a checkerboard). The first dog background box covered the dog's own back and was moved to a corner of pure background; the table is the final run. Everything is in public/hub-media/blur-photo-background-for-thumbnail/.