PDF download Download Article
A simple guide to hiding words and characters in an image file
PDF download Download Article

Hiding text within an image file is one of the tricks used in Steganography. Using this trick you can hide any text information or a message within an image file irrespective of the fact that how long your information or message is. So, lets see how to do it. Follow the steps below.

  1. For example: XXX.jpg
  2. Lets say you place it in \:D drive.
    Advertisement
  3. (Press Windows+R , type 'cmd' and press 'Enter' key)
  4. cd.. and press 'Enter' key. Repeat this step until you left with C:\> on your command prompt window. See this image:
  5. and press 'Enter' key. See this image: Now, your command prompt is able to locate D: drive.

  6. echo "Type your message here" >> "XXX.jpg" and press 'Enter' key. Do mind the spaces given and braces I put in the command. See this image:
  7. You'll see something like shown in this image: This is actually your image information in encrypted form. You've nothing to do with this.
  8. You can see the text (you typed in Step 6) in simple readable form in the end. See this highlighted text in the image: You can check this is what I typed in the image shown in Step 6.
  9. You can also hide a file within an image file read How To Hide A File In An Image File .
  10. Advertisement

Community Q&A

Search
Add New Question
  • Question
    How do I put a quotation mark in the message?
    Community Answer
    A backslash "\" will cancel out any other functions a character may have other than plain text when typing in any kind of command line. So, say you wanted to make it read "My mother said "Do your chores!"", you would type it like so: "My mother said \"Do your chores!\"", and the \ before each " will work.
  • Question
    When I tried this out, the image was unaffected but when I wanted to edit the words the image would become corrupt. How do I delete words safely from the image?
    Community Answer
    In your case, I think that zip files are better for this method because of the structure of zip files and image files.
  • Question
    When I open hidden text from an image sent to me in Notepad, it looks like a bunch of characters, letters, symbols, etc. How do I sort it out to read?
    Arrogance
    Top Answerer
    As the article says, you're expected to scroll down to the bottom of the file, either with the scrollbar or the Page Down button. Because you're simply concatenating unpredictable plain text, and not a file type with specific headers, like zip or rar, there's no simple way to filter it. If you standardized the beginning of a line with something predictable like "MESSAGE: Hello! ", you could filter it in the Command Prompt with 𝐟𝐢𝐧𝐝𝐬𝐭𝐫 "𝐌𝐄𝐒𝐒𝐀𝐆𝐄:" 𝐢𝐦𝐚𝐠𝐞.𝐣𝐩𝐠
Ask a Question
      Advertisement

      Tips

      • You can send this XXX.jpg image file over internet to your friend as well. He can also read the text you hide.
      • Image will work just like any other normal .jpg extension image file. This trick won't affect image properties in any means.
      Submit a Tip
      All tip submissions are carefully reviewed before being published
      Name
      Please provide your name and last initial
      Thanks for submitting a tip for review!
      Advertisement

      Warnings

      Advertisement

      About This Article

      Thanks to all authors for creating a page that has been read 138,135 times.

      Is this article up to date?

      Advertisement