View ZIP Files Online
Use our online free archive viewer tool to view your ZIP files quickly from any modern device without installing additional software or subscribing to anything.
How to View ZIP Files Online
- Open our online archive viewer in a web browser.
- Click inside the drop area or drag & drop your ZIP file.
- After that, you will be able to see your ZIP file as soon as it is rendered.
- From the result page click on the open button to view your file.
No need to install dependencies to use our online archive viewer. Just open the browser and start viewing your ZIP files. Our protected server ensures the security of the uploaded files, so you don’t need to be worried about the privacy and security of your documents. Your uploaded files will be removed from the server automatically after 24 hours.
ZIP Viewer - Developer’s Guide
Learn how to view the ZIP format with this step-by-step guide for developers. Perform easy and high-quality rendering using C# and Java programming languages. Please note that you can render ZIP files in HTML, image, and PDF formats. We’ll explain all these scenarios in the following subsections:
Render ZIP Files in C#
Let’s write code to render ZIP archive in HTML, image, and PDF using C#:
The following are the steps and code sample for viewing a ZIP file as PDF:
- Install Conholdate.Total for .NET in your application.
- Utilize the code below to render a ZIP file as PDF using C#.
using (var viewer = new Viewer("Documents.zip")) | |
{ | |
// Generate rendering as PDF | |
var viewOptions = new PdfViewOptions("output.pdf"); | |
// Start rendering | |
viewer.View(viewOptions); | |
} |
To render your ZIP file as HTML, please use the following C# code sample.
using (var viewer = new Viewer("Documents.zip")) | |
{ | |
// Create an HTML file. | |
var viewOptions = HtmlViewOptions.ForEmbeddedResources("output.html"); | |
// Render the archive file to a single page. | |
viewOptions.RenderToSinglePage = true; | |
viewer.View(viewOptions); | |
} |
If you want to render the ZIP files in image form, the following C# code sample will help you.
using (var viewer = new Viewer("Documents.zip")) | |
{ | |
// Create a JPEG image for the top folder and each subfolder in the archive. | |
// {0} is replaced with the current page number in the image name. | |
var viewOptions = new JpgViewOptions("output_{0}.jpg"); | |
// Set width and height. | |
viewOptions.Width = 800; | |
viewOptions.Height = 1000; | |
// Start rendering | |
viewer.View(viewOptions); | |
} |
View ZIP Files Using Java
The following are the steps to render ZIP files in HTML, PDF, and image using Java:
- Install Conholdate.Total for Java in your project.
- Use the below Java code to render a ZIP file as PDF.
try (Viewer viewer = new Viewer("sample.zip")) { | |
// Generate rendering as PDF | |
PdfViewOptions options = new PdfViewOptions("output.pdf"); | |
// Start rendering | |
viewer.view(options); | |
} |
To render your ZIP file as HTML, the following Java code sample will help you.
try (Viewer viewer = new Viewer("sample.zip")) { | |
// Generate rendering as HTML | |
HtmlViewOptions options = HtmlViewOptions.forEmbeddedResources("output_page_{0}.html"); | |
// Start rendering | |
viewer.View(options); | |
} |
If you want to render the ZIP files in image form, please use the following Java code sample.
try (Viewer viewer = new Viewer("sample.zip")) { | |
// Generate rendering as image | |
JpgViewOptions options = new JpgViewOptions("output_page_{0}.jpg"); | |
// Start rendering | |
viewer.view(options); | |
} |
FAQs
How to open and view ZIP files online?
First, you need to upload a ZIP file and start document processing. When processing will be finished you will be able to click on the View button to see the document or copy a link that you can share with your friends to view the file.
What browser should be used to view the ZIP file?
We support all the latest browsers, such as Chrome, Safari, Opera, Firefox, Edge, and Tor.
What is the maximum allowed ZIP file size?
The allowed size of the ZIP file is 20 Mb.
Can I print archive?
Yes, click on the print icon on the top toolbar panel in the archive viewer to print the document.
What will you do with uploaded files?
The uploaded files will be removed automatically after 24 hours. Meanwhile, the files will remain safe and protected.
How can I create my archive viewer?
You can use our standalone .NET or Java libraries.
Can I get a license to evaluate the libraries?
You can acquire a free temporary license to test the API without evaluation limitations.
Ask a Question
You can let us know your questions or queries on our forum.