Ask a Question
Ask Question Login
Corporate Training
  1. Community
  2. Cyber Security
  3. Question
Cyber Security

How to uncover blacked out text?

Asked by Anisha Dalal Mar 1, 2022 23.2K views 3 answers
Share

About this question

I sent some pictures to a journalist to report something I thought was noteworthy. However, one of the images contained my date of birth and other personal information so I blacked it out using markup tools in the Photos app of my iPhone 6 (running iOS 10.3.2). Then, I took a screenshot, then sent the screenshot from my phone to my email account, then downloaded the image to my laptop. Then, I sent that image from my desktop to the journalist.


So, let's say this was the edited original picture (it's in JPEG format because when I sent it from my iPhone via iCloud mail to my other email address then downloaded it on to my laptop from that other email address, it downloaded in JPEG, but the screenshot downloaded as a PNG):

https://drive.google.com/file/d/0BylJxh-1HrrkQUFqWXprbHhNVUU/view?usp=sharing

This is the screenshot (PNG format): Using whatever technique you want, is there any way possible to see what is under the blacked out parts in the screenshot, because that was what I actually then sent to the journalist. Thank you for your help! PS - The images above are examples and not the actual thing I sent! It just says "LALALALALA BATMAN!"

Your answer

3 Answers

Ranjana Admin JanBask Expert Latest answer

Answered on Jan 20, 2025

Blacked-out text, often used to hide sensitive information, can sometimes be revealed depending on the method used to obscure it. However, attempting to uncover blacked-out text may violate ethical or legal boundaries. Ensure you have proper authorization before attempting any of the techniques below:

1. Check for Copy-Pasting

  • Sometimes, blacked-out text is merely covered with a colored overlay.
  • Steps:
  • Highlight the text with your cursor.
  • Copy (Ctrl+C or Command+C) and paste it into a plain text editor like Notepad.

2. Adjust Background Color

  • If the text is obscured with a dark background:
  • Steps:
  • Take a screenshot of the text.
  • Use an image editor (e.g., Photoshop, GIMP) to adjust brightness and contrast or invert colors.

3. Inspect Web Page Elements

  • For text hidden on websites:
Steps:
  • Right-click on the text and select Inspect or Inspect Element.
  • Look for the text in the HTML code and check if CSS properties like color or visibility are set to obscure it.
  • Modify the properties to reveal the text.

4. Use OCR (Optical Character Recognition)

  • If the text is hidden in an image:
  • Use OCR tools (e.g., Tesseract, Google Keep) to extract the text from the image.

5. Tools to Uncover PDF Redactions

  • If blacked-out text is in a PDF:
  • Sometimes, improper redaction leaves the text selectable beneath the overlay.
  • Steps: Open the PDF in a reader, try copying the text, or use advanced PDF tools to inspect layers.

Important Note

Uncovering blacked-out text without authorization may breach privacy or data protection laws. Always ensure compliance with ethical and legal standards before proceeding.

Was this helpful?

Ranjana Admin JanBask Expert

Answered on Jul 16, 2024

Uncovering blacked-out text (also known as redacted text) is generally not recommended or ethical if the text was intentionally redacted to protect sensitive information. Attempting to do so may violate privacy laws, confidentiality agreements, or ethical guidelines. However, if you have a legitimate reason to access the redacted information (such as having the necessary permissions or ownership), here are some potential methods that might help, depending on the context:

1. Digital Images (Photos, PDFs, etc.)

If the text is blacked out in an image or PDF:

Original Document: Obtain the original, unredacted version of the document, if possible.

Layer Removal (PDF): Sometimes, PDFs have layers, and the redaction might be on a separate layer. Using a PDF editor like Adobe Acrobat Pro, you can attempt to remove or hide layers to see the underlying text.

OCR (Optical Character Recognition): Use OCR software to extract text from the document. This can sometimes reveal hidden text beneath blacked-out sections, especially if the redaction was done poorly.

Editing Software: Use image editing software like Photoshop or GIMP to try and manipulate the image. This might involve adjusting brightness/contrast, or trying to see if the blacked-out text is partially visible.

2. Digital Text (Word Processors, Text Files)

If the text is blacked out in a word processor or text file:

Copy and Paste: Sometimes, blacked-out text can be copied and pasted into another document or text editor, revealing the underlying text.

Styles and Formatting: Check the text's formatting. Sometimes, text is blacked out by changing the font color to black. Changing the text color might reveal the text.

Version History: Use the version history feature in your word processor (like Google Docs or Microsoft Word) to revert to a previous version before the text was redacted.

3. Web Pages

If the text is blacked out on a web page:

Inspect Element: Use the browser's developer tools (usually accessed by right-clicking the page and selecting "Inspect" or "Inspect Element"). Look at the HTML and CSS to see if the text is simply hidden using CSS styles.

Copy and Paste: Try copying the text and pasting it into a text editor. Sometimes the text will be copied even if it is visually hidden.

4. Physical Documents

If the text is blacked out in a physical document:

Backlighting: Place the document against a bright light source to see if you can make out the text through the redaction.

Scanning: Scan the document with a high-resolution scanner and use image editing software to adjust brightness/contrast.

Manual Redaction Removal: If the redaction is done with a marker or tape, you might attempt to remove it carefully, but this can damage the document and is not advisable for sensitive information.

Ethical and Legal Considerations

Always ensure you have the right to access the redacted information. Unauthorized access to redacted or sensitive information can lead to legal consequences and breaches of trust.

Permissions: Obtain permission from the document owner or relevant authority before attempting to uncover redacted text.

Purpose: Ensure that uncovering the text serves a legitimate purpose and does not violate privacy or confidentiality agreements.

Alternatives: If you need access to the information, consider asking the document owner for an unredacted version or further clarification.

In conclusion, while there are technical methods to attempt to uncover blacked-out text, it is crucial to consider the ethical and legal implications before doing so. Always prioritize obtaining proper authorization and ensuring your actions are justified and lawful.

Was this helpful?

More Cyber Security discussions

Learn & Explore

Free tutorials and interview questions from industry experts — learn the skill, then get ready to prove it.

Latest Cyber Security Blogs

Guides, tips and career advice on Cyber Security from JanBask experts.