Local Blur & Mosaic
Blur or pixelate a selected rectangular image area
Local Blur & Mosaic — what it does
Obscure one rectangular region of an image with either a blur or a mosaic, positioning the area by percentage so it scales with the picture, and set the effect strength. It is the practical way to hide a face, a licence plate, an address or a password before a screenshot goes any further.
Worked example
A 1600 × 1200 image with a mosaic over the block starting at 20 % / 20 % and spanning 40 % × 40 %, strength 16; the other rows show blur and a stronger mosaic derived from the same code.
| Input | Mode, strength, region (X, Y, W, H in %) | Output |
|---|---|---|
| photo-1600x1200.png (1600 × 1200) | Mosaic, 16, 20 / 20 / 40 / 40 | photo-1600x1200-mosaic.png, 1600 × 1200; region 640 × 480 px from (320, 240) in 16 px blocks |
| desk-screenshot.png (1440 × 900) | Blur, 24, 0 / 85 / 100 / 15 | desk-screenshot-blur.png, 1440 × 900; a 24 px blur on the bottom 135 px strip |
| invoice-scan.jpg (2480 × 3508) | Mosaic, 30, 55 / 8 / 40 / 10 | invoice-scan-mosaic.png, 2480 × 3508; the 992 × 351 px address block in roughly 30 px blocks |
The filename takes the mode as a suffix, and the file is always PNG. A strength below 2 is raised to 2.
When this tool helps
- Hiding personal data in a screenshot before attaching it to a support ticket.
- Obscuring a face or licence plate in a photo you intend to publish.
- Covering account numbers or names in a document image shared with a colleague.
How to use it
- Choose the image.
- Pick blur or mosaic and set the strength.
- Set the region's X, Y, width and height as percentages.
- Process and download the result.
Accuracy, limits, and good practice
- Use a strong effect. Weak pixelation of text can be reversed by software, and light blur on a face still leaves it recognisable.
- Mosaic reads more clearly as deliberate redaction; blur can look like a focus artefact and invite people to squint at it.
- Cover generously — extend beyond the edges of what you are hiding, since partial characters at a boundary are often enough to reconstruct the rest.
Frequently asked questions
Is this reversible?
The exported image genuinely loses the pixel data in the region, unlike a drawn box in an editor that can sometimes be moved aside.
Blur or mosaic for redaction?
Mosaic at a coarse block size, or a very strong blur. Both are safe when heavy; both are recoverable when applied lightly.
Can I cover several areas?
One region per pass. Run the tool repeatedly, feeding each result back in, to obscure several places.
What exactly does the strength number control?
For mosaic it is the block size in pixels: the region is shrunk by that factor and enlarged again without smoothing, so strength 16 gives 16-pixel squares. For blur it is the radius in pixels passed to the canvas blur filter. The minimum in both modes is 2.
What happens if I leave width or height blank?
A blank or zero width or height falls back to 30 % of the image, and a blank X or Y falls back to 0. A region that runs past the right or bottom edge is simply cut off at the edge.
Related tools on this site
- Image Contact Sheet — Arrange multiple images into a printable contact sheet
- Resize Image — Change image width and height in your browser
- Aspect Ratio Calculator — Calculate proportional image and video dimensions
Further reading: Getting images ready for the web, email and social media
Everything above runs inside this page. Local Blur & Mosaic needs no account, no upload, and no server round trip — close the tab and nothing is left behind.
局部模糊與馬賽克能做什麼
以模糊或馬賽克遮蔽圖片中的一塊矩形區域,區域位置以百分比設定、可隨圖片縮放,強度也能調整。要在截圖流出去之前遮掉人臉、車牌、地址或密碼,這就是最實際的做法。
實際範例
在 1600 × 1200 的圖上,對 20 % / 20 % 起、佔 40 % × 40 % 的區域打上強度 16 的馬賽克;另外兩列是依同一段程式碼推算的模糊與較粗馬賽克。
| 來源圖片 | 模式、強度、區域(X、Y、寬、高,%) | 下載檔案 |
|---|---|---|
| photo-1600x1200.png(1600 × 1200) | 馬賽克,16,20 / 20 / 40 / 40 | photo-1600x1200-mosaic.png,1600 × 1200;區域 640 × 480 px,起點 (320, 240),16 px 方塊 |
| desk-screenshot.png(1440 × 900) | 模糊,24,0 / 85 / 100 / 15 | desk-screenshot-blur.png,1440 × 900;底部 135 px 橫帶套 24 px 模糊 |
| invoice-scan.jpg(2480 × 3508) | 馬賽克,30,55 / 8 / 40 / 10 | invoice-scan-mosaic.png,2480 × 3508;992 × 351 px 的地址區塊約 30 px 方塊 |
檔名會以模式作為後綴,檔案一律是 PNG。強度低於 2 會被提高到 2。
什麼時候用得上
- 把截圖附進客服工單前,先遮掉個人資料。
- 在打算公開的照片中遮蔽人臉或車牌。
- 分享給同事的文件影像中,蓋掉帳號或姓名。
使用步驟
- 選擇圖片。
- 選擇模糊或馬賽克,並設定強度。
- 以百分比設定區域的 X、Y、寬與高。
- 執行處理並下載結果。
精確度、限制與實務建議
- 請用強效果。文字的弱馬賽克可能被軟體還原,人臉的輕度模糊仍然認得出來。
- 馬賽克更明確地讀作「刻意遮蔽」;模糊則可能被誤認為對焦問題,反而引人瞇著眼看。
- 遮蓋範圍要大方——超出要遮的邊界,因為邊緣殘留的半個字元往往就足以推回全部。
常見問題
這可以還原嗎?
匯出的圖片在該區域是真的失去了像素資料,不像在編輯器裡畫個方塊、有時還能移開。
遮蔽該用模糊還是馬賽克?
粗顆粒的馬賽克,或非常強的模糊。兩者夠重都安全,夠輕都可能被還原。
可以遮多個區域嗎?
一次一塊。把每次結果再送回工具重跑,即可遮蔽多處。
強度這個數字到底控制什麼?
馬賽克模式下是方塊的像素大小:區域先依此倍數縮小,再不做平滑地放大回來,所以強度 16 就是 16 px 的方格。模糊模式下則是傳給 canvas 模糊濾鏡的半徑(px)。兩種模式最小值都是 2。
寬或高留空會怎樣?
寬或高留空或填 0 會退回圖片的 30 %,X 或 Y 留空則退回 0。超過右邊或底邊的區域會直接在邊緣被截掉。
本站相關工具
延伸閱讀: 為網頁、電子郵件與社群媒體準備圖片
以上步驟全部在這個頁面內完成,局部模糊與馬賽克 不需要註冊、不上傳檔案、也不經過伺服器,關閉分頁後不會留下任何資料。