Announcement!

Bid Oh Bid Directory - Bid your link to get higher position now!

This trick is simple but it is really geeky. Did you know that you can hiding your files in JPG image? Here I will show you how. But before we can proceed, prepare our tools first.

Tools

  • WinRAR
  • Command Prompt
  • Hidden files (Eg: password.txt)
  • A JPG image file (Eg: nerd.jpg)

Ok, now we move on how to do this trick. Btw here is my nerd.jpg.

nerdy

1. Put your hidden file and your image file in the same folder. Here I have password.txt and nerd.jpg. Both I put in a folder I named it Secret in drive D.

step1

2. Put all these files into a RAR archive. I named this archive as Hidden.rar

step2

3. Open Command Prompt and go to the folder where you place the files. Type the following command,

copy /b nerd.jpg + hidden.rar cool.jpg

where nerd.jpg is our original image file, hidden.rar is our RAR archive and cool.jpg is the JPG image file that we want to create.

step3

4. Now you will have 4 files in the folder. nerd.jpg, password.txt, hidden.rar and cool.jpg

step4

5. If you open cool.jpg file, you will see the same image like nerd.jpg.

step5

6. If you open cool.jpg file with WinRAR, here is what you will get.

step6
Secret files in JPG image file.

7. Below is my cool.jpg image file. Try open the file with WinRAR and read what I wrote in the password.txt file. :p

cool

Btw if you want to make it more secure, use encryption when you create the archive file. [tags]winrar, encryption, hidden file[/tags]

Edit: You also can use WinZip to do this trick. Thanks to iCalvyn.

If you enjoyed this article, get latest updates via RSS feed or by email.

33 Responses to “Trick to hide files in JPG image”

  1. shah
    May 16th, 2007 | 2:37 am

    im the first one to comment? Nice tips and article. thanks

  2. Akuma
    May 16th, 2007 | 8:50 am

    Damn man, This is going to be so handy! Thanks man.
    Wait but when you “Open In Winrar” How do you do that?? “Open With”? Cause Its default as open with w/e Image Viewer Program right?

  3. CypherHackz
    May 16th, 2007 | 10:39 am

    shah on May 16, 2007 at 2:37 am said:

    im the first one to comment? Nice tips and article. thanks

    thank you. :)

    Akuma on May 16, 2007 at 8:50 am said:

    Damn man, This is going to be so handy! Thanks man.
    Wait but when you “Open In Winrar” How do you do that?? “Open With”? Cause Its default as open with w/e Image Viewer Program right?

    yea. use the “open with…” option.

  4. Bent
    May 16th, 2007 | 11:12 am

    Very cool man..i will try this..thanks

  5. danny
    May 16th, 2007 | 11:25 am

    It’s also known as Steganography.

    Good Howto.

  6. Wahlau.NET
    May 16th, 2007 | 3:29 pm

    nice…will come in handy in time

  7. hongkiat
    May 16th, 2007 | 4:12 pm

    That’s pretty impressive! I wonder will this image display properly on web too?

  8. CypherHackz
    May 16th, 2007 | 4:20 pm

    hongkiat on May 16, 2007 at 4:12 pm said:

    That’s pretty impressive! I wonder will this image display properly on web too?

    that image works perfectly in web. see the last image in my post.

  9. Techie Buzz
    May 17th, 2007 | 1:45 am

    Awesome trick, I will definitely use it.

    Guess many people use this to send trojans to users.

  10. shah
    May 17th, 2007 | 1:57 am

    Techie Buzz on May 17, 2007 at 1:45 am said:

    Awesome trick, I will definitely use it.

    Guess many people use this to send trojans to users.

    i think AV can detect it.

  11. Akuma
    May 17th, 2007 | 3:02 am

    Experimenting time?

  12. Madhur Kapoor
    May 20th, 2007 | 8:05 pm

    Nice tutorial man . Is there any limit on the file size which we can hide .

  13. CypherHackz
    May 20th, 2007 | 8:18 pm

    Akuma on May 17, 2007 at 3:02 am said:

    Experimenting time?

    huh? :p

    Madhur Kapoor on May 20, 2007 at 8:05 pm said:

    Nice tutorial man . Is there any limit on the file size which we can hide .

    i think there is no limit on the file size but you will notice that the image file size is big up to 25Mb or maybe more. depends on the file size you want to hide.

  14. Madhur Kapoor’s Blog » Links for 20-04-2007
    May 21st, 2007 | 12:44 am

    [...] tells you a neat tip about how to hide your files in JPG images . I never knew this was [...]

  15. Tommy
    May 22nd, 2007 | 10:37 am

    Great tips. I shall test it out now. Cheers.:d

  16. Best Airmiles Deals
    May 22nd, 2007 | 10:18 pm

    Akuma on May 16, 2007 at 8:50 am said:

    Damn man, This is going to be so handy! Thanks man.
    Wait but when you “Open In Winrar” How do you do that?? “Open With”? Cause Its default as open with w/e Image Viewer Program right?

    Just curious how this is going to be so useful? Maybe i’m missing something.

    I think it’s super cool but not super useful really.

    Maybe someone can shed some light!

  17. CypherHackz
    May 23rd, 2007 | 3:37 pm

    maybe you can use to send executable files in gmail. as you may already knew, gmail won’t allow us to send exe files.

  18. iCalvyn
    May 27th, 2007 | 10:57 am

    i just wonder will winzip work? i should have a try 1st

  19. iCalvyn
    May 27th, 2007 | 11:06 am

    i have tested with winzip, it run the same too

  20. CypherHackz
    May 27th, 2007 | 8:05 pm

    cool… i will update this post. thanks. :d

  21. bill
    May 29th, 2007 | 1:12 am

    dude this is cool
    but I can’t get it to work when I open with winrar I get the following error:

    archive is either unknown format or is damaged.

  22. CypherHackz
    May 29th, 2007 | 10:14 am

    can you open the above image file? try open cool.jpg file with winrar.

  23. bill
    May 29th, 2007 | 12:21 pm

    yeah yours works just fine and I can add all the files I want to it. when I make one myself all I get is a larger jpg

  24. bill
    May 29th, 2007 | 12:31 pm

    hey I just tried again on a different computer and it worked maybe this one just likes to ride the short bus.

    this is cool

    thanks dude

  25. CypherHackz
    May 29th, 2007 | 1:09 pm

    lol… maybe you need to reinstall the winrar. :-? he3. anyway, glad to see that it works! :d

  26. Izwan
    June 1st, 2007 | 1:50 am

    Good tips! :x

  27. Shankar Ganesh
    June 5th, 2007 | 6:34 pm

    Hidden files inside JPGs! Sweet. :d

  28. Aph
    June 29th, 2007 | 8:18 pm

    What about other types of files? for example .mp3?
    Is it only for .txt file?

  29. CypherHackz
    July 2nd, 2007 | 11:59 am

    i never try hiding big file size in the image yet. but technically, you can. :)

  30. Knoxwille
    July 25th, 2007 | 9:33 pm

    old but cool trick!

    There are many tools for binding files but this simple and worx!

  31. Simple ZIP JPG Joiner with Batch Programming | Index of Fazlee / Phixelgrafix
    November 16th, 2007 | 11:27 am

    [...] reading Trick to hide files in JPG image at Cypherhackz, you can make it more interactive and fun with Batch Programming. This work with any [...]

Leave a Reply