It supports Zip, RAR ,7z, cab, Tar and many other formats.Ģ. WobZip: It is one of the best tools to uncompress your archived file contents online.
How to Open Zip and Rar Files Online for Free:ġ. These tools also come in handy when you just want to download selective file from a zip or rar file instead of downloading the entire archive, this will help you save bandwidth. Let’s see some free tools that can do the job for us. In that case to be on safer side you can extract and view archive file contents online instead of directly extracting it to your local drive getting exposing yourself to the risk of virus and malware.
Or consider another situation where you have to open and see zip file sent by some unknown source. What would you do? The best option is to use online archive extractor to open and view the contents of your file.
If you are a Windows user it provides us with inbuilt zip extractor but it cannot handle other archive formats like RAR, 7z etc.,Ĭonsider a situation your manager has sent you an archive file containing important doc which you have to go through immediately but you don’t have any softwares like WinZip, WinRar or 7zip installed? You also don’t have admin rights to install the same. They help reduce size by compressing data which is the reason why it is preferred by most of us.
So, we are reading archive files, showing the files inside the archive, and also showing the contents of the those files, all on the client side.Ĭheck out the way that all works here.Zip and RAR are some of the widely used formats to exchange files.
Finally, when someone clicks the “open” button, I used the createObjectURL function to construct a Blob URL that points to the contents of the file. Since I stored the archive contents inside a JSON object, I needed to convert the JSON to a HTML table and used this script. If the data is just text, we want to see text, but if the data is an image, you want the browser to show the picture and not text. This is important, as the browser needs to know how to process the data in a Blob object. As a result, I added a small MIME type to file extension mapping to the script and duplicated that for the files extracted from a ZIP archive. The script also has a method to create a Blob object for the files inside a rar, but there is no support for passing a MIME type. I am hoping that support for compression will be added soon. One thing that I don’t like about this script is that it does not handle compressed archives and rar files are almost always compressed. For RAR files, I just found rar.js, a JavaScript Unrar Utility. To process ZIP files I am going to use zip.js, a JavaScript library to zip and unzip files. This will allow you to not only see what is inside these archive files but you can actually read and view the data inside, all within a browser. I will explore zip and rar archive files and leverage the HTML5 FileReader API and Blob objects to read the files inside the archives. Today, I want to dig a little deeper into processing archive files with JavaScript and reading their contents, the files inside the archive, on the client side. A while ago, I blogged about using the Imgur API to upload images via file, directory, or zip archive.