7Z Archive Preview

Preview contents of 7Z archive without extraction (requires 7zip command)

Click to upload file or drag and drop file here

Maximum file size: 500MB Supported formats: application/x-7z-compressed, application/x-7z, application/octet-stream, .7z

Key Facts

Category
Conversion & Encoding
Input Types
file
Output Type
json
Sample Coverage
4
API Ready
Yes

Overview

The 7Z Archive Preview tool allows you to instantly inspect the contents of a 7Z file without needing to extract it to your local storage. By leveraging the 7zip command-line utility, this tool provides a fast, secure way to verify file structures, check file sizes, and confirm the contents of an archive before committing to a full extraction.

When to Use

  • When you need to verify the contents of a large 7Z archive before downloading or extracting it.
  • When you want to check if specific files exist within an archive without wasting disk space.
  • When you are managing multiple compressed files and need a quick overview of their internal directory structure.

How It Works

  • Upload your 7Z archive file using the file selector.
  • The tool executes a 7zip command to scan the archive's metadata.
  • The file list, including names, sizes, and paths, is returned in a structured JSON format.
  • Review the output directly in your browser to confirm the archive contents.

Use Cases

Quickly auditing the contents of software distribution packages.
Verifying that a backup archive contains the expected directory structure.
Checking file names and sizes in a compressed dataset without performing a full decompression.

Examples

1. Verifying Backup Contents

System Administrator
Background
An admin has a large 7Z backup file and needs to ensure the 'logs' directory was included before restoring it to a production server.
Problem
Extracting the entire archive would take too long and consume unnecessary disk space.
How to Use
Upload the backup.7z file to the tool to view the file list.
Outcome
The JSON output displays the file tree, confirming the presence of the 'logs' folder and its contents.

2. Checking Archive Integrity

Data Analyst
Background
A researcher received a compressed dataset and needs to confirm the file naming convention matches their processing script.
Problem
The researcher needs to see the filenames inside the 7Z archive without modifying the original file.
How to Use
Upload the dataset.7z file to the preview tool.
Outcome
The tool returns a list of all files, allowing the analyst to verify the naming convention instantly.

Try with Samples

file

Related Hubs

FAQ

Do I need to install 7zip on my computer?

No, the tool runs the 7zip command on our server side to process your file.

Does this tool extract my files?

No, this tool only lists the contents of the archive. No files are extracted or saved to disk.

Is there a file size limit?

Yes, the tool supports files up to 500MB for previewing.

Can I preview password-protected archives?

Currently, this tool is designed for standard, non-encrypted 7Z archives.

What format is the output?

The output is provided in a clean JSON format, listing all files and their metadata contained within the archive.

API Documentation

Request Endpoint

POST /en/api/tools/7z-preview

Request Parameters

Parameter Name Type Required Description
archiveFile file (Upload required) Yes -

File type parameters need to be uploaded first via POST /upload/7z-preview to get filePath, then pass filePath to the corresponding file field.

Response Format

{
  "key": {...},
  "metadata": {
    "key": "value"
  },
  "error": "Error message (optional)",
  "message": "Notification message (optional)"
}
JSON Data: JSON Data

AI MCP Documentation

Add this tool to your MCP server configuration:

{
  "mcpServers": {
    "elysiatools-7z-preview": {
      "name": "7z-preview",
      "description": "Preview contents of 7Z archive without extraction (requires 7zip command)",
      "baseUrl": "https://elysiatools.com/mcp/sse?toolId=7z-preview",
      "command": "",
      "args": [],
      "env": {},
      "isActive": true,
      "type": "sse"
    }
  }
}

You can chain multiple tools, e.g.: `https://elysiatools.com/mcp/sse?toolId=png-to-webp,jpg-to-webp,gif-to-webp`, max 20 tools.

Supports URL file links or Base64 encoding for file parameters.

If you encounter any issues, please contact us at [email protected]