Introduction: How to Hide File Behind Image ?

Picture of How to Hide File Behind Image ?

this is instructable to show how to hide file behind image.

In order to do this you should have basic understanding of command line, but if you don't know check out tutorial

Step 1: Select an Image to Be Used for Hiding File Behind the Image.

Picture of Select an Image to Be Used for Hiding File Behind the Image.

Step 2: Now Select a File to Hide Behind the Image and Make It in .RAR Format. With the Help of the WinRAR.

Picture of Now Select a File to Hide Behind the Image and Make It in .RAR Format. With the Help of the WinRAR.

And most important is that paste both the files on desktop.

You may do this anywhere instead of desktop if you have some basic understanding of command line.

Step 3: Now Open Cmd

Picture of Now Open Cmd

type :

cd desktop

and press enter

note:CD stands for change directory by typing above command you change your directory to desktop

Step 4: Type Command Given Below

Picture of Type Command Given Below

Copy /b imagename.jpg + filename.rar finalimage.jpg

  • Replace imagename.jpg with the name of image you want your file to be hidden behind. Don't forget to add image format (Eg: .jpg,.png,.gif)
  • Replace filename with name of your file you want to hide. It must be in .rar format.
  • Finally Replace finalimage.jpg with whatever name you want your final image with hidden files should be. This is the image where your file will be hidden.
  • in my case it will be

Copy /b images.jpg + lock.rar hidden.jpg

Step 5: Now When You Will Try to Open This Newly Created Image It Will Open As Normal Image, But to Open You Hidden File You Need Follow Steps Given Below.

1. Open winrar

2. Now locate your image and open it or simply drag your image in winrar.

3. Extract the file and done.


samdars (author)2016-11-10

good ...

SnShines (author)2015-04-16

Short and sweet! Great Instructable.

ishuyash (author)SnShines2016-09-13

Thanks man

miwin1000 (author)2015-04-19

I don't like the fact you have to use WinRAR to do this. You should be able to do it without.

ishuyash (author)miwin10002016-09-13

ok i will get back to you with a way without winrar

gogoguy (author)2015-04-19


ishuyash (author)gogoguy2016-09-13


Wolfbane221 (author)2015-04-11

I thought this was going to be a steganography tutorial, still a cool instructable! :)

ishuyash (author)Wolfbane2212015-04-11


okay i will upload one instructable for steganography too :)

bananap (author)ishuyash2015-04-20

could you make also tutorial how to decrypt a file with stegtools? i was trying to find a program and learn some basics but failed horribly...

ishuyash (author)bananap2016-09-13

yeah i can help just inbox me what exactly you want to learn

Let us know when its up!

Festrada007 (author)ishuyash2015-04-19

awesome,good job

orator (author)2015-04-20

Nice instructable. I did similar stuff back in DOS days (files behind files) and early windows days. Even with Commodore C64 and PET. Now days I accidentally hide files from myself all the time and am not always able to find them! LOL

ishuyash (author)orator2016-09-13

Nice i would like learn that too

Md Shdaman Hasan (author)2015-04-20

Awesome!!! :D Great trick! :D


jmalik4 (author)2015-04-20

Its really a good trick :D .......... I tried it on windows 7 but I didn't worked. Getting an error of invalid file format

ishuyash (author)jmalik42016-09-13


SayanD16 (author)2016-03-28

Awesome!but how do I change the directory back to normal, I mean back from desktop to C:drive?????

ishuyash (author)SayanD162016-09-13


Himank42 (author)2015-05-27

Na bhai maza ni aaya! xD

tstevens-1 (author)2015-04-13

Just curious, why would I wnt to hide a file behind image?

For hiding porn

Mointaz (author)tstevens-12015-04-19

IF, you want to hide it..and keep the unwanted voyeurs from looking at it. Turn it into a .rar and encrypt it. Winrar will do BOTH if asked. And NO, the size of some of the pictures today, this would not make it stand out any more than usual.

SumGie (author)tstevens-12015-04-15

Well, first you'd have to have something that you want to keep hidden but be able to easily access. Let's not discuss what that might be... Be nice policy, you know...

Just understand that if you do this, it will hide stuff from the family and casual visitors, but NOT from hackers, the police, etc... those people will look at each image with a .rar extractor as a matter of course, and the gig will be up, as they say.

Much better policy is to have nothing to hide.

TwelveFoot (author)SumGie2015-04-19

plus wouldn't the file size be huge, and give it away if you looked?

Kafukai (author)tstevens-12015-04-14

I was about to ask the same qeustion. If some hacker want my files, the hacker will get them :) and kids nowadays are much technomancers from the last generation.

ishuyash (author)Kafukai2015-04-14

Well the hacker will get them but why would a hacker attack your pc. its just a fine trick to hide file from your friends and others.

Kafukai (author)ishuyash2015-04-14

Well, you're right - if someone want to hide something , this is a smart way. That's why we use 'instructables' to share tricks :-)

ishuyash (author)tstevens-12015-04-13

well that question have a answer in itself ,if you want to hide a file then you can hide it behind a image!! :)

therewillbeblood (author)2015-04-20

what's the equivalent of this for Terminal on OS X? cp doesn't need a binary flag but I can't figure out how to concatenate the files to the destination file.

you should be able to use the cat command... cat file1 file2... filen > output

brogrimm (author)2015-04-23

This also worked with a ZIP file created with 7-Zip. Thanks for the instructable.

BALDORKHAN (author)2015-04-21

Good contribution under Win 7 operating properly.

bmaverick (author)2015-04-19

Another trick is to hide one image within another. Photo editing software allows some format extensions to save in layers. One layer could be your hidden image while the other lay is the false one displayed. This is very much like images in a word program whereas the first image is in the foreground and the second is in the background.

mscaravelli (author)2015-04-19

once I downloaded a file hidden inside an image and I was wondered with that. In another occasion, I downloaded a mp3 file with an image hidden in the specter of the sound.

lwillis4 (author)2015-04-19

Someone used this for a Geocaching puzzle. I was amazed when I finally pulled the rabbit out of the hat. Couldn't figure out how he had done it. Now I know how simple it really is, still doesn't cheapen the wow factor. Thanks!

billbillt (author)2015-04-19

Yes, it has been a long time since I used DOS...... It was all we had before Windows 3.1... Back then Windows 3.1 was a program and not an OS... DOS was still the OS...

FadhliA (author)2015-04-19

This is an old tricks that I've known but forgot about it for long time and now you bring it back. Thanks for the memory

sandeep.laik (author)2015-04-19

This is so amazing .. I wondered about it for years .. and now I know .. it can be done .. Thank you.

magnus.distefano (author)2015-04-15

Is it possible to hide the file with anything else besides a .rar file? I know its simple this way with winrar but is there another way?

miroatme (author)2015-04-13

A zip would be better. The trick still works but is much more portable. /my 2¢

About This Instructable




Bio: I love making new things i am very passionate towards computer programming. I know java,C#, C++,HTML ,PHP.
More by ishuyash:Hack Pokemon GoActivate Windows 7, 8, 10 With Cmd How To Hide File Behind Image ?
Add instructable to: