≡ Menu

How to Hide Important Files inside a Picture


The title seems kind of weird and interesting but its definitely possible. You can easily hide important files inside a picture such that the file becomes totally impossible to trace. This Windows trick is not a new one and probably most of you would already know about it but for those who don’t, it can come of great use anytime.

The file you want to save inside a picture can be of any extension e.g. exe, txt, mp3, avi or any other. This is probably the most secure way of hiding your private files in case you share your computer with your family members and you don’t want them to get a peek of your hidden files.

You will be needing WinRAR to perform this trick but as it is one of the world’s most commonly used software so I would assume that everyone reading this tutorial has got it already.

Here is how it goes:

  1. Open C: Drive and make a folder in it e.g. “sizlopedia”. Put both the files i.e. the file that you want to hide and the image inside which you want to hide the file into this folder
  2. Select both the files and make a compressed RAR archive e.g. “secret.rar” out of them
  3. Open Run and type in “cmd” to open the Command Prompt. Now type “cd..” and press enter and repeat this once again. Type “cd sizlopedia” to open the folder (where “sizlopedia” is the folder that I am using in this tutorial)
  4. Type the command “copy /b maria.jpg + secret.rar safe.jpg” and press enter
  5. Thw new picture safe.jpg is now the nested Picture file which has the hidden file saved inside it. Change its extension from .jpg to .rar anytime to access or extract the hidden file

Definitely cool and amazing trick.



{ 41 comments… add one }
  • Pavan Kumar January 23, 2008, 9:22 pm

    How to get back the hidden file?

    • Jesse O-J May 23, 2009, 12:48 am

      You put the picture in an archive then extract the files anywhere. The folder you extracted the picture with the hidden file will have the file in there

    • madhureg April 2, 2010, 11:16 am

      see yar its so easy..rigt clk on d file so created while copying and den select properties in general choose change, in change select winrar thn fresh OK..nw on opening d image,it'll be open with the files present insude

  • Jawwad January 23, 2008, 10:26 pm

    Nice trick DJ, I imagine that it will be useful to some of us out there.

  • Madhur Kapoor January 23, 2008, 10:29 pm

    Really amazing buddy . Good way to hide important files.

  • Techsnack January 24, 2008, 3:04 pm

    I think this trick only work for WinRAR, right? I try to use Winzip or Tugzip, but it can’t work.

  • Senthil Kumar January 24, 2008, 4:04 pm

    How to retrieve the hidden file?

  • Joel January 24, 2008, 6:35 pm

    This is somethin really cool. I had posted about hiding text in images in my site few days back. But files in images is something really awesome!

  • Braist January 24, 2008, 9:20 pm

    You don’t need to create the archive out of both files (image + the document you want to hide). Just tried it, and this trick works even if the RAR contains only your secret file.

    Great tip, though 😉

  • Rahul January 26, 2008, 1:21 am

    How to retreat the hidden file?

  • Dj Flush January 26, 2008, 1:25 am

    Guys please read the 5th step again as it clearly tells you how to retreat the file.

    Just change the extension of the image from .jpg to .rar anytime and you can extract the hidden file from it. I hope you understand now?

  • MyMyTri February 2, 2008, 3:48 pm

    Interesting. It is also useful to send confidential files through internet.

  • Fedor February 3, 2008, 11:04 am

    This works with .7z’s.

  • Pavithra February 11, 2008, 9:10 pm

    Thanks this is a useful trick 🙂

    Is there any other way I can hide the text file without using the command prompt?

  • aki March 3, 2008, 10:42 pm

    I read it twice really carefully and I still can’t retreive the file. I tried both “raname .jpg .rar in cmd prompt and in normal windows with extensins displayed and it says that it’s corrupted/damaged when I try to open the archive.

  • Todd April 25, 2008, 6:17 am

    Where can I get this software? What is it called? Can someone please provide me with some details? Thanks!

  • Mort September 5, 2008, 12:19 pm

    to get back ur files just rename it .rar an the rar version will appear

  • Mort September 5, 2008, 12:38 pm

    Dear Tod,
    All you need is a windows system, download RAR file compression software and that’s it everything else is already built in. Then fallow the instructions above. Its that easy!

  • Mort September 5, 2008, 12:41 pm

    Aki do you have RAR software installed??? that maybe be problem

  • me September 28, 2008, 3:53 am

    for anyone who doesnt get it:
    you can do this with ANY files, even if there is more than two, and even if the are not jpg. All this does is make a rar archive ‘inside’ another file. also, instead of changing the extension to .rar, you can just open the file with winrar.

  • kilory January 4, 2009, 2:47 pm

    I was unable to extract the files when using RAR as the archive format, but was able to do so using ZIP as the format.

  • Sugandh Mishra February 5, 2009, 8:52 pm

    Thats really cool trick, i liked it a lot, thanks.

  • suj123456 August 12, 2009, 5:02 pm

    gr8 trick !!!!!!!!!!!111


  • Geek August 17, 2009, 12:29 am

    Awesome, this has really helped

  • Geek August 17, 2009, 5:29 am

    Awesome, this has really helped

  • cbethalai September 19, 2009, 3:38 pm

    how to change extention

    • Chet Hofty November 14, 2009, 1:00 am

      In Vista, go to my computer, and click on “Organize” in the top navpane, and select “Folder and Search Options”.
      Click on the “view” tab, and uncheck the “Hide extensions for known file types” box.
      Your filenames should now display the extension, which can be changed by renaming the file.

  • Faris November 20, 2009, 8:07 pm

    this is great ha, i never wonder anything like this. you have done a great job yar.
    thank you for let me know about this.

  • san1234567 February 2, 2010, 8:18 pm

    nice one but if i want to write a program which do this things by it self how can i do it in java lanvage can you send me a code thankhs

  • san1234567 February 3, 2010, 1:18 am

    nice one but if i want to write a program which do this things by it self how can i do it in java lanvage can you send me a code thankhs

  • santhoskumar February 27, 2010, 5:25 pm

    how to retrieve my audio file??

  • santhoskumar February 27, 2010, 10:25 pm

    how to retrieve my audio file??

  • Guest July 17, 2010, 12:18 am

    Actually, you can use other formats like zip instead of RAR. I also perfer to hide files inside of movies, because it looks a little suspicious to have a picture more than 3mb in size XD

    also, simply opening the file in 7zip without renaming it will allow you to view contents

  • Soulaffinity September 4, 2010, 4:01 am

    Is this work only in the drive where OS is installed?

  • kkkkkkkk September 7, 2010, 11:07 am

    what’s dat b maria

  • cccccccccccccc September 7, 2010, 11:08 am

    i cant understand step 4

  • SixThirtyFiveAM March 10, 2012, 7:36 pm

    You do not even need to rar the files.
    For example;
    you have an a.txt file and you want to hide in b.jpg
    from the command prompt, go to where the files are (you do not need to create a new folder)


    from there type:

     c:usersusernamedocuments: copy /b b.jpg + a.txt c.jpg

    now, you have a c.jpg, same as b.jpg.

    When you want to retrieve the file, just change the extention of c.jpg to c.txt.

    And your file is right there.

    If you try it with word files, files can get corrupt, but it will still work, it means whatever text in the file, it will still be in the file, probably in the middle somewhere.

    rar is just preventing files from getting corrupt.
    so, this works without rar’ing the files.

    if you want to hide some text in a txt file; just go to command prompt:


    and type

    c:usersusernamedocuments: notepad opentext.txt:hiddeninfo.txt

    and then when it asks to create the file, choose yes.

    after the file opens, type the text that you want it to be hidden and then save the file and close it.

    This willl create a file called opentext.txt with your hidden info in it with the password hiddeninfo.txt.

    Go ahead and open the file and type any info that will be public.

    When you want to receive the info, go to the command prompt


    and type the same thing:

    c:usersusernamedocuments: notepad opentext.txt:hiddeninfo.txt

    This will open the file with the hidden info in it.
    You can hide more than one info in a txt file.
    For example

    c:usersusernamedocuments: notepad opentext.txt:hiddeninfo.txt
    and then
    c:usersusernamedocuments: notepad opentext.txt:hiddeninfo2.txt

    will create two different hidden infos.

    When you type the same thing depending on which one you want, you can see that text.

    You can also see the hidden text from command prompt

    c:usersusernamedocuments: more < opentext.txt:hiddeninfo.txt

    This command will show you the hidden text in command prompt without opening the file.

  • SixThirtyFiveAM March 10, 2012, 7:57 pm

    Just remember;

    If you hide a text in the txt file, and you hide it in a picture, for some reason, the hidden text is gone, only the public text stays.

    And always write the picture file first in the command prompt.

    copy /b pic.jpg + text.txt ger.txt.

    If you don’t want your files to be corrupted, rar’ing is best; but if you don’t have rar, it still works without rar’ing. Your text will be in the middle or in the end of the file after pages of nonreadable characters.

Leave a Comment