Comparison
Blurring, pixelating and covering: only one of them actually hides anything
Hiding a face, a number plate or an address in a picture looks like a choice between three effects. It is not. Two of them transform the original pixels by a known rule, which means the original is still described by what remains, and the third discards them.
Side by side
| Method | Original pixels | Can be undone | Safe for a document number |
|---|---|---|---|
| Blur | Averaged with neighbours | Often, in part | No |
| Pixelate | Averaged into blocks | Often, for known text | No |
| Solid box, flattened | Replaced | No | Yes |
| Watermark over it | Still underneath | Trivially | No |
The short answer
Pixelation applied to text from a known font and a known character set has been recovered more than once, because a short string has few possible answers and each one produces a predictable block pattern. If the thing you are hiding would cause harm when read, draw an opaque shape and flatten the image so the pixels underneath are gone. And finish by stripping the metadata, because a photograph edited to remove a street sign can still carry the exact coordinates it was taken at.
In more detail
Pixelation has been reversed on real documents
When the hidden text comes from a known font and a limited character set - a card number, a licence plate, a name from a short list - there are few enough possibilities that each can be pixelated the same way and compared against the image. Researchers and hobbyists have recovered redacted text this way more than once. Blurring is weaker still, because a blur is a known, invertible operation applied to information that is still present.
The box has to be flattened
Drawing a filled rectangle in an editor adds a shape on top. In a PDF the text underneath is still in the content stream; in a layered image file the layer beneath is still there. Flattening - or in a PDF, true redaction - is what removes it. Exporting to a flat JPEG or PNG achieves the same thing for an image.
Metadata survives everything you did to the pixels
A photograph can carry the exact coordinates it was taken at, the device that took it, and the time to the second. Editing out a street sign changes none of that. For anything being published, stripping metadata is a separate step and an easy one to forget, because nothing about the picture looks different either way.