Are you interested after reading the title of the post? Well, I was too excited when I was doing this on my own for the first time. Few of you might aware of the Steganography and its techniques. Before we start on the guide, let me give short info about Steganography and its functionality.
What is Steganography?
Steganography is the technique of hiding something like a file, image, video, messages within another file. The word steganography comes from New Latin steganographia, which combines the Greek words steganós, meaning “covered or concealed”, and -graphia meaning “writing”.
A lot of third party software now available in the market for Steganography. But with default windows utilities you can hide text or documents inside the image, which most of the windows users were unaware.
In this tutorial, I have made a detailed step by step guide on how to hide text inside the image using command prompt in windows using simple DOS commands. It doesn’t require any additional software or complex scripting/coding.
Requirements :
- An Image file
- A document that contains text which you want to hide inside the image [document may be anything Eg: txt, doc, pdf, etc.,]
- and Of course, Windows Operating System 🙂
How To Hide Text Inside Image Using Command Prompt:
Step 1: Keep the Image file and the Document in a folder.
Step 2: Zip the document file.
Step 3: Open the Command Prompt and navigate to the folder where you’re having the image and document zip file. or simply type cmd in the address bar of the folder.
Step 4: Once the command prompt is open and you are in the folder path,
type copy /b image filename + zip filename [filename with extensions] and hit Enter.
Example: copy /b Image.jpg + DOC.zip
List of files copied will be displayed like below.
Step 5: Now you can notice the size of the image file has been increased [the size of the image file will be the sum of both Image and Zip file now].
Step 6: You can now send the image alone to anyone and it contains the document inside it.
How to Extract the Document from the Image:
Now the destination user received the image file, how the user can extract the document file from the image.
Step 1: Open the image with the unzip tool [We were using Winrar tool in the below samples]
Step 2: Navigate to the image file location and click on that image and extract.
Step 3: You can able to see the document in the extracted location.
That’s it. Hope you like the tutorial.
Note: Use this only for educational purpose. Keep sharing this with your friends and family and make fun of it.




