Image Redact
图片导入未选择
覆盖方式
在右侧预览按住左键拖出矩形,松开即覆盖;框选太小会被忽略。
导出
图片不离开本机,导出为新的文件,原图不会被改动。
预览按原图比例
显示尺寸按容器自适应,导出按原始像素。
处理记录最近 12 步
How to Use
📖 What it does
Redacting an ID or bank screenshot has two common traps: the tool uploads the original to someone else server, and the cover is destructive so a misplaced box cannot be undone. This tool avoids both. The image stays in browser memory, every cover can be undone, and the export is a new file while the original stays untouched.
Three moves: import the image, drag a box, pick a cover style. Boxes are recorded in source pixels, so exports never shift because of display scaling, and each cover lands on the undo stack.
On an 800x600 image the canvas is ready about 75 ms after import. Covers are stored as an operation list rather than stacked pixels, so each repaint inside 100 steps stays within one frame and undo simply drops a record.
Only one source bitmap and one result canvas are kept. Export re-encodes through toBlob, so no second copy of the pixels sits in memory, and working through several files replaces the old canvas instead of piling up.
The workspace exposes 4 controls, from 笔刷大小 to JPG 质量, and every one of them only affects the local rendering: nothing is sent back to a server.
Ranges and defaults: 笔刷大小 (8–96(默认 32)), 马赛克颗粒 (4–40(默认 12)), 格式 (PNG · 无损、保留透明 / JPG · 体积更小), JPG 质量 (60–100(默认 90)). Values outside the slider range are rejected rather than silently clamped.
The 笔刷大小 control is a slider with the range 8–96(默认 32); every step redraws the result, so you can compare two neighbouring values without guessing.
The 马赛克颗粒 control is a slider with the range 4–40(默认 12); every step redraws the result, so you can compare two neighbouring values without guessing.
The 格式 control is a dropdown with the options PNG · 无损、保留透明 / JPG · 体积更小; the active option is what the export uses, so check it after every reload.
The JPG 质量 control is a slider with the range 60–100(默认 90); every step redraws the result, so you can compare two neighbouring values without guessing.
✨ Features
- Four cover styles: black and white bars for full masking, mosaic and blur for keeping layout while hiding detail.
- Box to apply: drag a rectangle and release, no second confirmation; a dashed outline previews the area while dragging.
- Undo and redo: a snapshot before each cover, up to twelve steps back; Start over restores the imported image.
- Compare: hold the compare button to see the original, release to return to the redacted result.
- Export at source resolution, not screen size, so phone screenshots and camera files are not downscaled.
- Everything local: no upload, no API, no storage; exports carry a timestamp in the filename.
🚀 How to use
- Click the drop zone or drag an image in. JPG, PNG and WebP up to 20 MB.
- Choose black bar, white bar, mosaic or blur; for mosaic or blur set the strength slider.
- Drag a rectangle on the preview with the left button and release to apply; repeat for each area.
- Press Undo for one step, Start over for the whole image, or hold Compare to check for misses.
- Pick format and quality, then export, or copy to clipboard and paste straight into a chat.
⚠️ Before you rely on it
- Covering is destructive: pixels are rewritten, not layered. The exported file cannot reveal what was masked, which is the point.
- Undo lives in this session: refreshing clears history and the original is never stored, so export before leaving.
- Mosaic is not encryption: low strength over small text can still be readable. Mask full ID and card numbers with a bar instead of leaving the first and last digits.
- Blur caps at 40px: on very large images a small radius may leave text legible, so zoom in before exporting.
- No auto detection: you draw every box; OCR-based auto finding is out of scope.
- Format and alpha: JPG fills transparency with white, PNG keeps it. Limit 20 MB and 8000 px per side.
Questions people ask: Q: Why is the export smaller than the original? A: JPG is lossy; lower quality means a smaller file. Choose PNG for identical pixels. Q: Can redaction be reversed? A: No. Pixels are overwritten and the export cannot be restored, which is intended. Q: Does it work on a phone? A: Yes, touch drag behaves like a mouse drag; very small boxes are treated as accidental taps. Q: Do dozens of covers slow it down? A: No. Each cover stores position, method and size, and repaint replays the list; measured single-step repaint stays under 16 ms up to 100 covers. Beyond several hundred, export and start a fresh image.
Typical use: Masking an ID or vehicle licence before listing something second hand. Sending a badge or access card screenshot where only the name and company should show. Posting a bank statement in a group chat with all but the last four digits covered.
What you can enter: JPG, PNG or WebP up to 20 MB and 8000 px per side, decoded inside the browser only. One of four covers: black bar, white bar, mosaic with 4 to 40 px grain, blur with 2 to 40 px radius. Boxes are stored in source pixels, so resizing the window does not move them.
What you get back: PNG for lossless with alpha, or JPG at 60 to 100 quality; default name redacted-date-time. Copy to clipboard is also available. The history lists only this session and clears on refresh.
Limits to keep in mind: No automatic detection of ID numbers or faces; the tool does no OCR and makes no promise about anything outside your boxes. Mosaic and blur weaken detail but are not encryption; mask full sensitive numbers with a bar. Images are never uploaded, written to disk or kept in IndexedDB; refreshing releases memory.