Redact credit card number in an image
Posting a receipt, a billing screenshot, or a checkout page? The card number is the part you absolutely don't want public. Redacted detects credit card numbers automatically and masks them with a black box.
Brands and formats covered
- Visa
- Mastercard
- American Express
- Discover
- Numbers with or without spaces / dashes between groups
How to redact a credit card number
- Drop or paste the image into Redacted.
- Click Detect text. Credit card numbers get masked automatically.
- Verify the mask covers the full number, including the last four digits.
- For maximum safety, keep the default black-box mask โ pixelation and blur are easier to recover from.
- Download the cleaned image.
Also worth masking
A card number alone is sensitive. The CVV, expiry date, cardholder name, and billing address compound the risk. Redacted will mask names and addresses automatically too; the CVV and expiry usually need a manual mask since they look like other small numbers.
Use a black box, not blur
Blur and pixelation can sometimes be partially reversed, especially on a long string of digits. For credit card numbers, use the solid black-box mask.
Privacy
The detector runs locally. No image is uploaded, no card numbers leave the browser.
FAQ
Does it work on the embossed numbers on a physical card photo?
If the OCR reads them clearly, yes. Photos taken at an angle or with poor lighting may need a manual mask.
Does it detect partially visible numbers like "**** 4242"?
Masked-out card numbers like that aren't sensitive on their own and are usually not flagged. If you still want them hidden, draw a manual selection.
Can it recognise non-US card brands?
The patterns covered today are the major Western brands. International cards with similar formats are usually caught; cards with unusual lengths may need a manual mask.