{"id":20031,"date":"2014-05-15T18:01:12","date_gmt":"2014-05-15T10:01:12","guid":{"rendered":"https:\/\/www.hongkiat.com\/blog\/?p=20031"},"modified":"2023-07-09T17:05:21","modified_gmt":"2023-07-09T09:05:21","slug":"hide-zip-image-mac","status":"publish","type":"post","link":"https:\/\/www.hongkiat.com\/blog\/hide-zip-image-mac\/","title":{"rendered":"How to Conceal a ZIP File within an Image on a Mac"},"content":{"rendered":"<p>There are times when you would like to <strong>hide sensitive files<\/strong> from prying eyes. You could <a href=\"https:\/\/www.hongkiat.com\/blog\/encrypt-mac-folder\/\">encrypt<\/a> them but encryption and decryption takes time and the files they leave make it <strong>obvious you have something to hide<\/strong>.<\/p>\n<p>In this quicktip, we will show you a simple way to <strong>hide your files in plain sight<\/strong> on your Mac. It will involve hiding your zipped files behind an image file. This is a great way to <strong>hide files without relying on any third party applications<\/strong> while still having quick and easy access to them.<\/p>\n<h2>Getting Started<\/h2>\n<p>You will need an image file, and all the files you want to hide zipped in a ZIP file. For this example, we will use a nyancat image named <strong>image.png<\/strong> to be our cover. The tip works with <strong>JPG<\/strong> and <strong>GIF files<\/strong> too.<\/p>\n<p>Our ZIP file is named <strong>secret.zip<\/strong>. We will be hiding this in image.png. Here\u2019s how.<\/p>\n<figure><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/assets.hongkiat.com\/uploads\/hide-zip-image-mac\/prepare-files.jpg\" alt=\"Prepare Image\" height=\"209\" width=\"500\"><\/figure>\n<p>First, make sure these files are on your <strong>Desktop<\/strong>. Open up <strong>Terminal<\/strong>. Type in the following command, then press <span class=\"key\">Enter<\/span>.<\/p>\n<p><code>cd Desktop<\/code><\/p>\n<p>Next, type in the command below and press <span class=\"key\">Enter<\/span>:<\/p>\n<p><code>cat image.png secret.zip &gt; image2.png<\/code><\/p>\n<p>Once the command is used, a third file will be created on your Desktop called <strong>image2.png<\/strong>. This PNG file carries <strong>secret.zip<\/strong> within it.<\/p>\n<figure><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/assets.hongkiat.com\/uploads\/hide-zip-image-mac\/picture2-created.jpg\" alt=\"Image Created\" height=\"198\" width=\"500\"><\/figure>\n<p>To prove this, notice that change in file size for <strong>image.png<\/strong> (12 KB) and <strong>image2.png<\/strong>. (20.3 MB). You can access this information by right-clicking on the file and clicking <strong>Get Info<\/strong>.<\/p>\n<figure><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/assets.hongkiat.com\/uploads\/hide-zip-image-mac\/get-info.jpg\" alt=\"Get Info\" height=\"225\" width=\"500\"><\/figure>\n<p>The <strong>image2.png<\/strong> file behaves like a regular PNG file. If you try to open it, it wil pop up in your default photo viewer.<\/p>\n<figure><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/assets.hongkiat.com\/uploads\/hide-zip-image-mac\/image-preview.jpg\" alt=\"Image Preview\" height=\"365\" width=\"500\"><\/figure>\n<p>In order to unzip the hidden zip file, you will need to use <strong>Terminal<\/strong>. Use the following command to unzip the file:<\/p>\n<p><code>unzip image2.png<\/code><\/p>\n<p>The ZIP file within <strong>image2.png<\/strong> will then unzip its contents where the image is located.<\/p>\n<figure><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/assets.hongkiat.com\/uploads\/hide-zip-image-mac\/unzip-file.jpg\" alt=\"Image Unzip\" height=\"163\" width=\"500\"><\/figure>","protected":false},"excerpt":{"rendered":"<p>There are times when you would like to hide sensitive files from prying eyes. You could encrypt them but encryption and decryption takes time and the files they leave make it obvious you have something to hide. In this quicktip, we will show you a simple way to hide your files in plain sight on&hellip;<\/p>\n","protected":false},"author":134,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[3397],"tags":[3933,1962],"topic":[4521],"class_list":["entry-content","is-maxi"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v22.8 (Yoast SEO v27.4) - https:\/\/yoast.com\/product\/yoast-seo-premium-wordpress\/ -->\n<title>How to Conceal a ZIP File within an Image on a Mac - Hongkiat<\/title>\n<meta name=\"description\" content=\"There are times when you would like to hide sensitive files from prying eyes. You could encrypt them but encryption and decryption takes time and the\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.hongkiat.com\/blog\/hide-zip-image-mac\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to Conceal a ZIP File within an Image on a Mac\" \/>\n<meta property=\"og:description\" content=\"There are times when you would like to hide sensitive files from prying eyes. You could encrypt them but encryption and decryption takes time and the\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.hongkiat.com\/blog\/hide-zip-image-mac\/\" \/>\n<meta property=\"og:site_name\" content=\"Hongkiat\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/hongkiatcom\" \/>\n<meta property=\"article:published_time\" content=\"2014-05-15T10:01:12+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2023-07-09T09:05:21+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/assets.hongkiat.com\/uploads\/hide-zip-image-mac\/prepare-files.jpg\" \/>\n<meta name=\"author\" content=\"Azwan Jamaluddin\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@hongkiat\" \/>\n<meta name=\"twitter:site\" content=\"@hongkiat\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Azwan Jamaluddin\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"3 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/hide-zip-image-mac\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/hide-zip-image-mac\\\/\"},\"author\":{\"name\":\"Azwan Jamaluddin\",\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/#\\\/schema\\\/person\\\/0a7f570ffc63a1e63670ee6afaa6153d\"},\"headline\":\"How to Conceal a ZIP File within an Image on a Mac\",\"datePublished\":\"2014-05-15T10:01:12+00:00\",\"dateModified\":\"2023-07-09T09:05:21+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/hide-zip-image-mac\\\/\"},\"wordCount\":315,\"commentCount\":4,\"publisher\":{\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/hide-zip-image-mac\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/assets.hongkiat.com\\\/uploads\\\/hide-zip-image-mac\\\/prepare-files.jpg\",\"keywords\":[\"macOS\",\"rr\"],\"articleSection\":[\"Desktop\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/hide-zip-image-mac\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/hide-zip-image-mac\\\/\",\"url\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/hide-zip-image-mac\\\/\",\"name\":\"How to Conceal a ZIP File within an Image on a Mac - Hongkiat\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/hide-zip-image-mac\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/hide-zip-image-mac\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/assets.hongkiat.com\\\/uploads\\\/hide-zip-image-mac\\\/prepare-files.jpg\",\"datePublished\":\"2014-05-15T10:01:12+00:00\",\"dateModified\":\"2023-07-09T09:05:21+00:00\",\"description\":\"There are times when you would like to hide sensitive files from prying eyes. You could encrypt them but encryption and decryption takes time and the\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/hide-zip-image-mac\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/hide-zip-image-mac\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/hide-zip-image-mac\\\/#primaryimage\",\"url\":\"https:\\\/\\\/assets.hongkiat.com\\\/uploads\\\/hide-zip-image-mac\\\/prepare-files.jpg\",\"contentUrl\":\"https:\\\/\\\/assets.hongkiat.com\\\/uploads\\\/hide-zip-image-mac\\\/prepare-files.jpg\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/hide-zip-image-mac\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to Conceal a ZIP File within an Image on a Mac\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/\",\"name\":\"Hongkiat\",\"description\":\"Tech and Design Tips\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/#organization\",\"name\":\"Hongkiat.com\",\"url\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/wp-content\\\/uploads\\\/hkdc-logo-rect-yoast.jpg\",\"contentUrl\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/wp-content\\\/uploads\\\/hkdc-logo-rect-yoast.jpg\",\"width\":1200,\"height\":799,\"caption\":\"Hongkiat.com\"},\"image\":{\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\"},\"sameAs\":[\"https:\\\/\\\/www.facebook.com\\\/hongkiatcom\",\"https:\\\/\\\/x.com\\\/hongkiat\",\"https:\\\/\\\/www.pinterest.com\\\/hongkiat\\\/\"]},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/#\\\/schema\\\/person\\\/0a7f570ffc63a1e63670ee6afaa6153d\",\"name\":\"Azwan Jamaluddin\",\"description\":\"A sarcastic curmudgeon who is a lifelong fan of tech and all things shiny. Huge Apple cultist but has since decided to live a double life in the House of Google.\",\"url\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/author\\\/azwan\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"How to Conceal a ZIP File within an Image on a Mac - Hongkiat","description":"There are times when you would like to hide sensitive files from prying eyes. You could encrypt them but encryption and decryption takes time and the","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.hongkiat.com\/blog\/hide-zip-image-mac\/","og_locale":"en_US","og_type":"article","og_title":"How to Conceal a ZIP File within an Image on a Mac","og_description":"There are times when you would like to hide sensitive files from prying eyes. You could encrypt them but encryption and decryption takes time and the","og_url":"https:\/\/www.hongkiat.com\/blog\/hide-zip-image-mac\/","og_site_name":"Hongkiat","article_publisher":"https:\/\/www.facebook.com\/hongkiatcom","article_published_time":"2014-05-15T10:01:12+00:00","article_modified_time":"2023-07-09T09:05:21+00:00","og_image":[{"url":"https:\/\/assets.hongkiat.com\/uploads\/hide-zip-image-mac\/prepare-files.jpg","type":"","width":"","height":""}],"author":"Azwan Jamaluddin","twitter_card":"summary_large_image","twitter_creator":"@hongkiat","twitter_site":"@hongkiat","twitter_misc":{"Written by":"Azwan Jamaluddin","Est. reading time":"3 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.hongkiat.com\/blog\/hide-zip-image-mac\/#article","isPartOf":{"@id":"https:\/\/www.hongkiat.com\/blog\/hide-zip-image-mac\/"},"author":{"name":"Azwan Jamaluddin","@id":"https:\/\/www.hongkiat.com\/blog\/#\/schema\/person\/0a7f570ffc63a1e63670ee6afaa6153d"},"headline":"How to Conceal a ZIP File within an Image on a Mac","datePublished":"2014-05-15T10:01:12+00:00","dateModified":"2023-07-09T09:05:21+00:00","mainEntityOfPage":{"@id":"https:\/\/www.hongkiat.com\/blog\/hide-zip-image-mac\/"},"wordCount":315,"commentCount":4,"publisher":{"@id":"https:\/\/www.hongkiat.com\/blog\/#organization"},"image":{"@id":"https:\/\/www.hongkiat.com\/blog\/hide-zip-image-mac\/#primaryimage"},"thumbnailUrl":"https:\/\/assets.hongkiat.com\/uploads\/hide-zip-image-mac\/prepare-files.jpg","keywords":["macOS","rr"],"articleSection":["Desktop"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.hongkiat.com\/blog\/hide-zip-image-mac\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.hongkiat.com\/blog\/hide-zip-image-mac\/","url":"https:\/\/www.hongkiat.com\/blog\/hide-zip-image-mac\/","name":"How to Conceal a ZIP File within an Image on a Mac - Hongkiat","isPartOf":{"@id":"https:\/\/www.hongkiat.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.hongkiat.com\/blog\/hide-zip-image-mac\/#primaryimage"},"image":{"@id":"https:\/\/www.hongkiat.com\/blog\/hide-zip-image-mac\/#primaryimage"},"thumbnailUrl":"https:\/\/assets.hongkiat.com\/uploads\/hide-zip-image-mac\/prepare-files.jpg","datePublished":"2014-05-15T10:01:12+00:00","dateModified":"2023-07-09T09:05:21+00:00","description":"There are times when you would like to hide sensitive files from prying eyes. You could encrypt them but encryption and decryption takes time and the","breadcrumb":{"@id":"https:\/\/www.hongkiat.com\/blog\/hide-zip-image-mac\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.hongkiat.com\/blog\/hide-zip-image-mac\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.hongkiat.com\/blog\/hide-zip-image-mac\/#primaryimage","url":"https:\/\/assets.hongkiat.com\/uploads\/hide-zip-image-mac\/prepare-files.jpg","contentUrl":"https:\/\/assets.hongkiat.com\/uploads\/hide-zip-image-mac\/prepare-files.jpg"},{"@type":"BreadcrumbList","@id":"https:\/\/www.hongkiat.com\/blog\/hide-zip-image-mac\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.hongkiat.com\/blog\/"},{"@type":"ListItem","position":2,"name":"How to Conceal a ZIP File within an Image on a Mac"}]},{"@type":"WebSite","@id":"https:\/\/www.hongkiat.com\/blog\/#website","url":"https:\/\/www.hongkiat.com\/blog\/","name":"Hongkiat","description":"Tech and Design Tips","publisher":{"@id":"https:\/\/www.hongkiat.com\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.hongkiat.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.hongkiat.com\/blog\/#organization","name":"Hongkiat.com","url":"https:\/\/www.hongkiat.com\/blog\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.hongkiat.com\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/www.hongkiat.com\/blog\/wp-content\/uploads\/hkdc-logo-rect-yoast.jpg","contentUrl":"https:\/\/www.hongkiat.com\/blog\/wp-content\/uploads\/hkdc-logo-rect-yoast.jpg","width":1200,"height":799,"caption":"Hongkiat.com"},"image":{"@id":"https:\/\/www.hongkiat.com\/blog\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/hongkiatcom","https:\/\/x.com\/hongkiat","https:\/\/www.pinterest.com\/hongkiat\/"]},{"@type":"Person","@id":"https:\/\/www.hongkiat.com\/blog\/#\/schema\/person\/0a7f570ffc63a1e63670ee6afaa6153d","name":"Azwan Jamaluddin","description":"A sarcastic curmudgeon who is a lifelong fan of tech and all things shiny. Huge Apple cultist but has since decided to live a double life in the House of Google.","url":"https:\/\/www.hongkiat.com\/blog\/author\/azwan\/"}]}},"jetpack_featured_media_url":"https:\/\/","jetpack_shortlink":"https:\/\/wp.me\/p4uxU-5d5","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/www.hongkiat.com\/blog\/wp-json\/wp\/v2\/posts\/20031","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.hongkiat.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.hongkiat.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.hongkiat.com\/blog\/wp-json\/wp\/v2\/users\/134"}],"replies":[{"embeddable":true,"href":"https:\/\/www.hongkiat.com\/blog\/wp-json\/wp\/v2\/comments?post=20031"}],"version-history":[{"count":3,"href":"https:\/\/www.hongkiat.com\/blog\/wp-json\/wp\/v2\/posts\/20031\/revisions"}],"predecessor-version":[{"id":68100,"href":"https:\/\/www.hongkiat.com\/blog\/wp-json\/wp\/v2\/posts\/20031\/revisions\/68100"}],"wp:attachment":[{"href":"https:\/\/www.hongkiat.com\/blog\/wp-json\/wp\/v2\/media?parent=20031"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.hongkiat.com\/blog\/wp-json\/wp\/v2\/categories?post=20031"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.hongkiat.com\/blog\/wp-json\/wp\/v2\/tags?post=20031"},{"taxonomy":"topic","embeddable":true,"href":"https:\/\/www.hongkiat.com\/blog\/wp-json\/wp\/v2\/topic?post=20031"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}